Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» FlexMonkium Download Not available under Gorillalogic site
Thu Dec 08, 2016 5:40 pm by bhanu.praveen

» Selenium Script issue
Tue Dec 06, 2016 9:48 pm by njain213

» Difference between QTP, Selenium and Silk test
Tue Dec 06, 2016 7:58 pm by jessicacyrus1

» Where does selenium script pick browser from
Tue Dec 06, 2016 1:52 pm by janbaskt

» Safari throws an HTTP ERROR: 404
Tue Dec 06, 2016 1:51 pm by janbaskt

» Access Denied Error in Selenium RC
Tue Dec 06, 2016 1:51 pm by janbaskt

» Automating Flex application through selenium webdriver
Fri Dec 02, 2016 2:06 pm by abhinay.krs

» Starting with Selenium, what is Selenium?
Mon Nov 28, 2016 4:00 pm by Foma

» Getting started with Selenium
Mon Nov 28, 2016 3:23 pm by Rebbelx

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Wait for two possible results

View previous topic View next topic Go down

Wait for two possible results

Post by lorenzobrion on Wed Oct 19, 2011 11:48 pm

I'm still a newbie with Selenium and trying to learn the basics.
The issue I have right now is this:
when the user clicks a button the page is refreshed, but depending on which options the user has selected, when the page is loading it can show two possible textboxes (one or another, not both).
I've been looking like crazy for a solution and found the common ways to wait for a certain element to be present.
What I need to do is wait until one of those two elements is present and I don't know how to do this.
Hope somebody can help.
Thanks.

lorenzobrion

Posts : 1
Join date : 2011-10-19

Back to top Go down

Re: Wait for two possible results

Post by ashish_techie on Fri Nov 04, 2011 9:20 pm

Using javascript executer class of selenium you can wait for the full page to load, you may have to write some java code.

Regards
Ashish
9888179981
For Selenium training and videos over 55 hours, visit
www.qtpselenium.com/selenium-training

ashish_techie
Amateur
Amateur

Posts : 73
Join date : 2011-08-09

Back to top Go down

Re: Wait for two possible results

Post by pushpendra on Mon Nov 07, 2011 4:33 pm

Hi,
i think you need to wait till complete page loaded .
use
selenium.waitForPageToLoad("80000");

and after that there is a method isTextPresent();

which you can use .

all d bst

pushpendra
Active particpant
Active particpant

Posts : 23
Join date : 2011-09-26

Back to top Go down

Re: Wait for two possible results

Post by Sponsored content Today at 5:47 pm


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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