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
jithin
Posts : 6
Join date : 2011-08-03

script running fast because of the time taken to load  Empty script running fast because of the time taken to load

Wed Aug 03, 2011 2:02 pm
hello all can any one help me.while playing a recorded scenario a problem encounters because the page loads very slow and the script is running fast.how can i solve this problem.??
avatar
freesky
Amateur
Amateur
Posts : 72
Join date : 2011-04-13

script running fast because of the time taken to load  Empty Re: script running fast because of the time taken to load

Wed Aug 03, 2011 2:07 pm
you can slow down the script running speed or wait for element present instead of wait for page to load.
avatar
jithin
Posts : 6
Join date : 2011-08-03

script running fast because of the time taken to load  Empty Re: script running fast because of the time taken to load

Wed Aug 03, 2011 2:18 pm
i need to make my code machine independent.it should be in a loop till the page loads and then continue..it would be of great help for me if u can assist me..
avatar
jithin
Posts : 6
Join date : 2011-08-03

script running fast because of the time taken to load  Empty Re: script running fast because of the time taken to load

Wed Aug 03, 2011 2:19 pm
how can i wait for the element present...
avatar
freesky
Amateur
Amateur
Posts : 72
Join date : 2011-04-13

script running fast because of the time taken to load  Empty Re: script running fast because of the time taken to load

Wed Aug 03, 2011 2:38 pm
after your page finish loading,what element you will see present on the page.
avatar
jithin
Posts : 6
Join date : 2011-08-03

script running fast because of the time taken to load  Empty Re: script running fast because of the time taken to load

Wed Aug 03, 2011 2:59 pm
is there any selenium command which waits for the page to load fully after a click statement???can u pls explain how to use it..
avatar
freesky
Amateur
Amateur
Posts : 72
Join date : 2011-04-13

script running fast because of the time taken to load  Empty Re: script running fast because of the time taken to load

Wed Aug 03, 2011 3:30 pm
waitForPageToLoad(waitTime),you need to set the waitTime as long as possible.

waitForElementPresent(locator),for example,i click a button to open 'a' window,then i want to click 'b' button of a window,so i use 'waitForElementPresent(locator of b button)'.
avatar
jithin
Posts : 6
Join date : 2011-08-03

script running fast because of the time taken to load  Empty Re: script running fast because of the time taken to load

Wed Aug 03, 2011 4:32 pm
thanks a lot...:-)
Very Happy
avatar
jithin
Posts : 6
Join date : 2011-08-03

script running fast because of the time taken to load  Empty Re: script running fast because of the time taken to load

Wed Aug 03, 2011 5:04 pm
Any command to wait for the page to load full before continuing???
Sponsored content

script running fast because of the time taken to load  Empty Re: script running fast because of the time taken to load

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