Ugh
If the timeout did expire, that is the way the keyword must work. From the keyword [1] document:
"Fails if timeout expires before the element is visible."
-Tatu
Send from my mobile
[1] http://rtomac.github.io/robotframework-selenium2library/doc/Selenium2Library.html#Wait%20Until%20Element%20Is%20Visible
--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.
Visit this group at http://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.
Ugh
If the timeout did expire, that is the way the keyword must work. From the keyword [1] document:
"Fails if timeout expires before the element is visible."-Tatu
Send from my mobile
[1] http://rtomac.github.io/robotframework-selenium2library/doc/Selenium2Library.html#Wait%20Until%20Element%20Is%20Visible
On 15 Dec 2014 16:57, "Ajit Jadhav" <ajitja...@gmail.com> wrote:
Hi All,--I am trying to wait for certain time Limit Until Loading Icon is Present(Visible) on webpage using "Wait Until Element is Visible" Keyword.But "Wait Until Element is Visible" is not working properly as it is displaying Error against Element Visibility even if Element is not Visible on Webpage.Please Help.Thanks,AJ.
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.
Ugh
I do not understand what you are trying to say. Could you share more details what you are trying to do, why you think it does not work as the way it should and relevant keywords wit the error message you get.
-Tatu
Send from my mobile
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsubscrib...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.
Visit this group at http://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.
Ugh
Did I understand correctly that you want to wait until element is not present, or fail the if timeout expires?
In that case, there is not direct keyword to wait until element is not present in the Selenium2Library. But as a workaround, one can do this:
| Wait Until Keyword Succeeds | 30s | 1s | Page Should Not Contain Element | xpath=/path/to/element |
Please note that all in above is untested and may contain errors.
-Tatu
Send from my mobile
[1] http://robotframework.org/robotframework/latest/libraries/BuiltIn.html#Wait%20Until%20Keyword%20Succeeds
[2] http://rtomac.github.io/robotframework-selenium2library/doc/Selenium2Library.html#Page%20Should%20Not%20Contain%20Element
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.