Share
Go down
divya_agsrdk
Professional
Professional
Posts : 93
Join date : 2013-01-17

use of verifyTextPresent

on Fri Feb 15, 2013 10:49 am
Hi,
VerifyTextPresent cmd will verify the txt present on the page or not...

Manually we ll see the text on the page... y we need to hv this cmd.. and y we need to execute that cmd in IDE..

adityac
Professional
Professional
Posts : 101
Join date : 2013-01-17

Re: use of verifyTextPresent

on Fri Feb 15, 2013 11:50 am
if u hav huge content in page... it is difficult to search one word... am i right
divya_agsrdk
Professional
Professional
Posts : 93
Join date : 2013-01-17

Re: use of verifyTextPresent

on Fri Feb 15, 2013 2:07 pm
k fine.. but before verifying text we were only pointing to a particular text itself and then v ll right click and execute that verfiyTextPresent cmd knw.. am i right?
adityac
Professional
Professional
Posts : 101
Join date : 2013-01-17

Re: use of verifyTextPresent

on Fri Feb 15, 2013 7:57 pm
We hav 2 cmds:

1. verifyText and 2. verifyTextPresent

verifyText is 2 find text @ particular location where as verifyTextPresent is 2 find text any wr in the page
ccox
Master
Master
Posts : 205
Join date : 2012-01-06
Age : 33
Location : Denver, CO

Re: use of verifyTextPresent

on Fri Feb 15, 2013 10:09 pm
You do realize the reference tab at the bottom of the IDE explains what these commands do, right?
divya_agsrdk
Professional
Professional
Posts : 93
Join date : 2013-01-17

Re: use of verifyTextPresent

on Sat Feb 16, 2013 1:43 pm
i knw wt it does... i m asking.. y do v need that cmd.. befr clicking on verifyTextPresent cmd in the application. manually we ll c the text itself knw. y need to execute dis cmd...
ccox
Master
Master
Posts : 205
Join date : 2012-01-06
Age : 33
Location : Denver, CO

Re: use of verifyTextPresent

on Sat Feb 16, 2013 9:59 pm
First, why are you manually testing an automation test? The point of automation is to test more efficiently. You should be able to run these tests without interaction, or watching them as they run, hence why these commands are in place. Second, verifying that an element is on the page is a checkpoint. Without putting these checkpoints in, how would someone know it passed. With these checkpoints in place you have results to prove the test was a success.

If you are still struggling to comprehend this, I would do some more research on why we automate.
sharath
Regular Participant
Regular Participant
Posts : 29
Join date : 2012-08-04

Re: use of verifyTextPresent

on Mon Feb 18, 2013 12:36 pm
Hi Divya,

Yes you are right.When we are able to see it in the page, what is the need to use the verify text command. The answer is "Regression testing". For this type of testing, automating will surely reduce the tester's time, So that you don't have to repeatedly verify the text each time the code is changed in that page.There are cases when the developer accidently changes the text/Adds unwanted space between texts. In this case selenium will help you to identify the defect.

Hope this helps,
Sharath
divya_agsrdk
Professional
Professional
Posts : 93
Join date : 2013-01-17

Re: use of verifyTextPresent

on Mon Feb 18, 2013 1:43 pm
thk u ... got it.. wen do we need to automate?
sharath
Regular Participant
Regular Participant
Posts : 29
Join date : 2012-08-04

Re: use of verifyTextPresent

on Mon Feb 18, 2013 3:59 pm
Automate test cases when you think that you have to test a page again in the future.
iosman
Posts : 4
Join date : 2013-02-18

Re: use of verifyTextPresent

on Mon Feb 18, 2013 11:41 pm
I'm looking for an automation tester (Selenium Web Driver). Someone with solid background to work with me on a project that i'm working on. Please contact me if you are interested.
ccox
Master
Master
Posts : 205
Join date : 2012-01-06
Age : 33
Location : Denver, CO

Re: use of verifyTextPresent

on Tue Feb 19, 2013 3:34 am
iosman wrote:I'm looking for an automation tester (Selenium Web Driver). Someone with solid background to work with me on a project that i'm working on. Please contact me if you are interested.

You may have better luck posting this in the appropriate section.
Sponsored content

Re: use of verifyTextPresent

Back to top
Permissions in this forum:
You cannot reply to topics in this forum