Selenium Forum: Functional And Regression Testing Tool.
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
Display results as :
Advanced Search
Latest topics
AEM Training | Free Online DemoWed Apr 21, 2021 5:45 pmazharuddin
c# PageFactory - issue initializing elementsFri Nov 01, 2019 8:40 pmthegoatboy
Selenium making automatic connection to random urlsMon Jul 08, 2019 12:58 pmrepairtechsolutions1
How can we design the custom framework in Selenium RCMon Jun 24, 2019 2:26 pmrandybonnettes
What are the new features in Selenium 3.0Tue Jun 18, 2019 5:37 pmpappyvicky
What are you using Selenium for? Fri Apr 12, 2019 3:52 amzhl
LIMITATIONS OF SELENIUMWed Apr 10, 2019 11:23 amswara
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

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

use of verifyTextPresent Empty use of verifyTextPresent

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..

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

use of verifyTextPresent Empty Re: use of verifyTextPresent

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

use of verifyTextPresent Empty Re: use of verifyTextPresent

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?
avatar
adityac
Professional
Professional
Posts : 101
Join date : 2013-01-17

use of verifyTextPresent Empty Re: use of verifyTextPresent

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
avatar
ccox
Master
Master
Posts : 205
Join date : 2012-01-06
Age : 38
Location : Denver, CO

use of verifyTextPresent Empty Re: use of verifyTextPresent

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?
avatar
divya_agsrdk
Professional
Professional
Posts : 93
Join date : 2013-01-17

use of verifyTextPresent Empty Re: use of verifyTextPresent

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...
avatar
ccox
Master
Master
Posts : 205
Join date : 2012-01-06
Age : 38
Location : Denver, CO

use of verifyTextPresent Empty Re: use of verifyTextPresent

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.
avatar
sharath
Regular Participant
Regular Participant
Posts : 29
Join date : 2012-08-04

use of verifyTextPresent Empty Re: use of verifyTextPresent

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
avatar
divya_agsrdk
Professional
Professional
Posts : 93
Join date : 2013-01-17

use of verifyTextPresent Empty Re: use of verifyTextPresent

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

use of verifyTextPresent Empty Re: use of verifyTextPresent

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

use of verifyTextPresent Empty Re: use of verifyTextPresent

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.
avatar
ccox
Master
Master
Posts : 205
Join date : 2012-01-06
Age : 38
Location : Denver, CO

use of verifyTextPresent Empty Re: use of verifyTextPresent

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

use of verifyTextPresent Empty Re: use of verifyTextPresent

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