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
jochen
Posts : 7
Join date : 2009-08-31

Problem with timout - doesn´t work Empty Problem with timout - doesn´t work

Mon Aug 31, 2009 6:15 pm
Hallo,
the hole timout functionallity will not work. I test an application, that takes time to load pages. Sometimes 1 minute or longer.
So i tried to change the global timeout from 30000 to 60000.
I get [error] Timed out after 30000ms
Then i tried to add command 'setTimeout' and set it to 90000.
I get [error] Timed out after 30000ms again.
So, what can i do?
Thank you for help! Very Happy
Advisor
Advisor
------------------------
------------------------
Posts : 387
Join date : 2009-07-30
Location : India
https://seleniumforum.forumotion.net

Problem with timout - doesn´t work Empty Re: Problem with timout - doesn´t work

Mon Aug 31, 2009 7:35 pm
hi

If you know that some click will load new page and take lot of time use this command instead of click:

clickAndWait(locator)
Generated from click(locator)
Arguments:

* locator - an element locator

Clicks on a link, button, checkbox or radio button. If the click action causes a new page to load (like a link usually does), call waitForPageToLoad.

Hope this will help you. Best of luck.

Bye
avatar
jochen
Posts : 7
Join date : 2009-08-31

Problem with timout - doesn´t work Empty Re: Problem with timout - doesn´t work

Mon Aug 31, 2009 9:14 pm
I tried in couple ways, but nothing worked. Mad
I had already clickAndWait. After that command i inserted the waitForPageToLoad, but Selenium runs further and want to change elements, there are still not there.
I tried pause command, but there is no pause.Then i tried the waitForTextPresent, but Selenium run´s further.
Very strange! No command for check and wait seems like work correct. Perhaps the error is somewhere else? Rolling Eyes
avatar
jochen
Posts : 7
Join date : 2009-08-31

Problem with timout - doesn´t work Empty Re: Problem with timout - doesn´t work

Wed Sep 02, 2009 7:17 pm
Sad

Hello? No answer?

Are the commands

- setTimout
- waitForPageToLoad
- waitForTextPresent

working by you???

When yes, what´s you environment? OS, FF Version? Perhaps it depend on this.
avatar
nellorekrishnakumar
Active particpant
Active particpant
Posts : 19
Join date : 2009-08-14
Age : 38
Location : HYDERABAD

Problem with timout - doesn´t work Empty Re: Problem with timout - doesn´t work

Sun Sep 06, 2009 8:37 pm
Hi Jochen,

In those case you can try waitForElementPresent("provide any element name or text that will be displayed on ewpage");

Thanks,
Nellore Krishna Kumar
avatar
mugenhere
Posts : 9
Join date : 2009-09-08

Problem with timout - doesn´t work Empty Re: Problem with timout - doesn´t work

Tue Sep 08, 2009 5:21 pm
Have you tried Selenium RC? It gives much more flexibility.
avatar
jochen
Posts : 7
Join date : 2009-08-31

Problem with timout - doesn´t work Empty Re: Problem with timout - doesn´t work

Thu Sep 10, 2009 12:52 pm
It seems like SE don´t work.
Now i tried waitForElementPresent. In value is standing the text. Now SE wait till wrong timeout, shows the error and go further.
SE is not practible. I will try the hint for using RC.
avatar
jochen
Posts : 7
Join date : 2009-08-31

Problem with timout - doesn´t work Empty Re: Problem with timout - doesn´t work

Thu Sep 10, 2009 8:41 pm
RC is very time-consuming.
So, IDE will be the easier an fast effective way to test simple forward sites.
But no wait commands are working. I thought it depends on ff version. So i deinstalled ff 3 completely and install version 2. The same effect. Timout and wait commands do nothing. What a pitty. Selenium is not the right tool, because it´s really not working.
avatar
mugenhere
Posts : 9
Join date : 2009-09-08

Problem with timout - doesn´t work Empty Re: Problem with timout - doesn´t work

Fri Sep 11, 2009 8:52 am
Why do you say RC is very time-consuming? Do you mean it is taking a lot of time to set-up?
I'm using Selenium and it works fine for me. Occasionally the waitforpage does not seem to work (as in the page loads but we still need to wait for some AJAX calls to get completed by using waitfortext or waitForElement).

The problem you are facing seems to be about the timeout value not working. I'm not sure but it does sound like a bug to me. You could log it in http://jira.openqa.org.

But aside from this problem you had selenium works great (on firefox). Its easy to write/read the code for this and it works fast.
avatar
nellorekrishnakumar
Active particpant
Active particpant
Posts : 19
Join date : 2009-08-14
Age : 38
Location : HYDERABAD

Problem with timout - doesn´t work Empty Re: Problem with timout - doesn´t work

Fri Sep 11, 2009 10:58 am
Hi Jochen,

Could you tell me steps exactly where u r failing.
If after clicking button new page is opening . try to provide element locator id in waitForElementPresent();
Specify some text appearig in that page.


Thanks,
Nellore Krishna Kumar
avatar
kgrv1780
Posts : 1
Join date : 2009-09-14
Location : Bangalore,India

Problem with timout - doesn´t work Empty Re: Problem with timout - doesn´t work

Mon Sep 14, 2009 11:13 am
Hi

You can use 'pause' command which will work fine. I used puase command with various timings
Sponsored content

Problem with timout - doesn´t work Empty Re: Problem with timout - doesn´t work

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