|
View:
New views
15 Messages
—
Rating Filter:
Alert me
|
|
|
Selenium and AjaxHi,
I am having doubts in Selenium and ajax. Wen i click a link ,an ajax form opens there it self. Using selenium i can get the form but am not able to enter the values. Its throwing me an error Element not found, But i used the correct element only. I tried using wait_for_page_to_load() also. then its throwing me Time out error. So wat should i do to over come this problem?? I am not able to do anything with selenium and ajax, i hope i am doing some thing wrong. Please help me regarding this.. Thanks in advance, Harish --------------------------------------------------------------------- Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6166&messageID=17296#17296 --------------------------------------------------------------------- To unsubscribe, e-mail: selenium-dev-unsubscribe@... For additional commands, e-mail: selenium-dev-help@... |
|
|
Re: Selenium and AjaxHi Harish,
waitForPageToLoad could be used only for regular postbacks. You can use waitForElement... commands instead: http://release.openqa.org/selenium-core/0.8.2/reference.html Let us know whether you need further help. Regards, Konstantin --------------------------------------------------------------------- Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6166&messageID=17302#17302 --------------------------------------------------------------------- To unsubscribe, e-mail: selenium-dev-unsubscribe@... For additional commands, e-mail: selenium-dev-help@... |
|
|
Re: Selenium and AjaxHi,
Thanks for the reply, I used wait_for_element and waitForElement. But its not working for me.It gave me undefined method. This is the error.. NoMethodError: undefined method `wait_for_element' for #<Selenium::SeleneseInterpreter:0x2cc9580 Please help me.. Thanks in Advance, Harish --------------------------------------------------------------------- Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6166&messageID=17306#17306 --------------------------------------------------------------------- To unsubscribe, e-mail: selenium-dev-unsubscribe@... For additional commands, e-mail: selenium-dev-help@... |
|
|
Re: Selenium and AjaxHi, Harish.
I'm sorry, what I meant was the waitForElement* like commands: waitForElementPresent is the one I'm using mostly. You can wait for text appearance, attributes and so on. Take a look at these commands from Selenium reference and tell us if you still face any difficulties. Thanks, Konstantin --------------------------------------------------------------------- Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6166&messageID=17325#17325 --------------------------------------------------------------------- To unsubscribe, e-mail: selenium-dev-unsubscribe@... For additional commands, e-mail: selenium-dev-help@... |
|
|
Re: Selenium and AjaxHi,
I tried this also, its giving method not found. Check this link, http://release.openqa.org/selenium-remote-control/nightly/doc/ruby/ In that also there is nothing like that, please tell me clear how to use that?? I am writing selenium with ruby.. Please help.. Thanks and Regards, Harish --------------------------------------------------------------------- Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6166&messageID=17339#17339 --------------------------------------------------------------------- To unsubscribe, e-mail: selenium-dev-unsubscribe@... For additional commands, e-mail: selenium-dev-help@... |
|
|
Re: Selenium and AjaxWell, I do not use Ruby and it seems some methods indeed absent there. However I see wait_for_condition existing there so I suspect this is what you need.
Sorry for not being able to help you further. Regards, Konstantin --------------------------------------------------------------------- Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6166&messageID=17359#17359 --------------------------------------------------------------------- To unsubscribe, e-mail: selenium-dev-unsubscribe@... For additional commands, e-mail: selenium-dev-help@... |
|
|
Re: Selenium and AjaxHi I tried wait_for_condition also, then it gave me the condition as false, it means it couldn't find the element. and later it timed out. Another ideas??
--------------------------------------------------------------------- Posted via Jive Forums http://forums.openqa.org/thread.jspa?threadID=6166&messageID=17379#17379 --------------------------------------------------------------------- To unsubscribe, e-mail: selenium-dev-unsubscribe@... For additional commands, e-mail: selenium-dev-help@... |
|
|
Re: Selenium and AjaxHi Harish
Did you got the answer i am also stuck in the same situation pls help me also in this ..........
|
|
|
Re: Selenium and AjaxI've added an entry to the selenium-rc FAQ to answer this question. Go to http://wiki.openqa.org/display/SRC/Selenium+RC+FAQ and search for "How can I pause until an element is created?"
n
|
|
|
Re: Selenium and AjaxDear friend:
Welcome to our website, we are the wholesaler company which can offer you Laptops,Digital Cameras,Videos, GPS, Cellphone, Mp3, Mp4, electronic guitar, Game Console and many otherelectronic products. We can offer you not only high quality products but also the best price in theworld.The more you buy the cheaper we can offer you. we have our own websiteand warehouse. We havecustomers all over the world. we are just the wholesale supplier that can deal Large orders and getthe job done.Sticking to the principle of "Quality First and Reputation First", we ensure you of 100%qualified products. web: http://www.bobsel.com MSN: bobsel888@... --------------------------------------------------------------------- To unsubscribe, e-mail: selenium-dev-unsubscribe@... For additional commands, e-mail: selenium-dev-help@... |
|
|
Re: Selenium and AjaxHi All
Did anybody got the answer i am also stuck in the same situation --------------------------------------------------------------------- To unsubscribe, e-mail: selenium-dev-unsubscribe@... For additional commands, e-mail: selenium-dev-help@... |
|
|
Re: Selenium and AjaxHi,
I have been experiencing the same problems with it not being able to find certain elements in time. I read somewhere (cant remember where sorry) that Selenium does not know when an AJAX action is complete, so you cant use ClickAndWait for example as it will just timeout. The way around this is to use a pause, for say 10000 milliseconds. This is not ideal, and takes time, but it will ensure the AJAX command is finished. Hope this helps, Rory --------------------------------------------------------------------- To unsubscribe, e-mail: selenium-dev-unsubscribe@... For additional commands, e-mail: selenium-dev-help@... |
|
|
Re: Selenium and AjaxHi Rory,
I am also facing the same problem but a bit different. The popped up window, appear due an ajax call. I have used the wait condition for an element available on the popped up window after a sleep statement which is enough. The test still fails as neither the IDE nor the RC are able to recognize elements on the popped up window. Please revert back if any ways are out there. Thanks in advance, Hrushikesh.
|
|
|
Re: Selenium and AjaxHi Rory,
I am also facing the same problem but a bit different. The popped up window, appear due an ajax call. I have used the wait condition for an element available on the popped up window after a sleep statement which is enough. The test still fails as neither the IDE nor the RC are able to recognize elements on the popped up window. Please revert back if any ways are out there. Thanks in advance, Hrushikesh.
|
|
|
Re: Selenium and AjaxHi,
Can u send me the Code ... Thanks Satchidananada Patra
|
| Free embeddable forum powered by Nabble | Forum Help |