explained it clearly
Thank you,
Manoj
On Friday, April 9, 2010 5:51:27 AM UTC-7, endarkened wrote:
you can use something like this:
while (!selenium.isElementPresent(locator)) {
try {
Thread.sleep(100)
} catch (Exception e) {}
}
you can secure youself by setting a number of counter of iterations to
define a kind of "timeout" for this while().
if it does not help, could you please describe your application more
specificly - what is happening before you get timeout, what you do
want to happen and what is going to happen.
and a portion of code from which you get this error.
--you can use something like this:
while (!selenium.isElementPresent(locator)) {
try {
Thread.sleep(100)
} catch (Exception e) {}
}
you can secure youself by setting a number of counter of iterations to
define a kind of "timeout" for this while().
if it does not help, could you please describe your application more
specificly - what is happening before you get timeout, what you do
want to happen and what is going to happen.
and a portion of code from which you get this error.
On 9 апр, 11:12, Aksha wrote:
Hi ,
This is rajesh.i have problem in running the selenium test case in
selenium rc. when i run the testcase i have to make selenium wait for
the element to load and then proceed.i have tast of registering 1000
users in our application using selenium.i have automated this
process.i am getting the error due to the wait time i have given.each
time i need to change it to run the process.so can you please let me
know any solution for this like asking the selenium to wait until the
element is loaded and then proceed.
any help is quite appriciated
thank you,
rajesh
Hi ,
This is rajesh.i have problem in running the selenium test case in
selenium rc. when i run the testcase i have to make selenium wait for
the element to load and then proceed.i have tast of registering 1000
users in our application using selenium.i have automated this
process.i am getting the error due to the wait time i have given.each
time i need to change it to run the process.so can you please let me
know any solution for this like asking the selenium to wait until the
element is loaded and then proceed.
any help is quite appriciated
thank you,
rajesh
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+unsubscribe@googlegroups.com.
To post to this group, send email to selenium-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/e7660491-976c-40a8-99aa-a53ebc10218d%40googlegroups.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.