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

Problem with timout - doesn´t work

View previous topic View next topic Go down

Problem with timout - doesn´t work

Post by jochen on 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

jochen

Posts : 7
Join date : 2009-08-31

Back to top Go down

Re: Problem with timout - doesn´t work

Post by Adviser on 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

Adviser
------------------------
------------------------

Posts : 379
Join date : 2009-07-30
Location : India

http://seleniumforum.forumotion.net

Back to top Go down

Re: Problem with timout - doesn´t work

Post by jochen on 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

jochen

Posts : 7
Join date : 2009-08-31

Back to top Go down

Re: Problem with timout - doesn´t work

Post by jochen on 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.

jochen

Posts : 7
Join date : 2009-08-31

Back to top Go down

Re: Problem with timout - doesn´t work

Post by nellorekrishnakumar on 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

nellorekrishnakumar
Active particpant
Active particpant

Posts : 19
Join date : 2009-08-14
Age : 31
Location : HYDERABAD

Back to top Go down

Re: Problem with timout - doesn´t work

Post by mugenhere on Tue Sep 08, 2009 5:21 pm

Have you tried Selenium RC? It gives much more flexibility.

mugenhere

Posts : 9
Join date : 2009-09-08

Back to top Go down

Re: Problem with timout - doesn´t work

Post by jochen on 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.

jochen

Posts : 7
Join date : 2009-08-31

Back to top Go down

Re: Problem with timout - doesn´t work

Post by jochen on 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.

jochen

Posts : 7
Join date : 2009-08-31

Back to top Go down

Re: Problem with timout - doesn´t work

Post by mugenhere on 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.

mugenhere

Posts : 9
Join date : 2009-09-08

Back to top Go down

Re: Problem with timout - doesn´t work

Post by nellorekrishnakumar on 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

nellorekrishnakumar
Active particpant
Active particpant

Posts : 19
Join date : 2009-08-14
Age : 31
Location : HYDERABAD

Back to top Go down

Re: Problem with timout - doesn´t work

Post by kgrv1780 on Mon Sep 14, 2009 11:13 am

Hi

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

kgrv1780

Posts : 1
Join date : 2009-09-14
Location : Bangalore,India

Back to top Go down

Re: Problem with timout - doesn´t work

Post by Sponsored content Today at 7:14 am


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