Element not found error while playback the recording of web page.

View: New views
7 Messages — Rating Filter:   Alert me  

Element not found error while playback the recording of web page.

by Eleo-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi All,

Pls help me to solve following error.

I am really in great trouble while using Selenium IDE.

Error Description :

I am using Selenium for functional testing of web application, I can record steps successfully but when I try to playback those recorded steps at that time it displays following error message.

"Element not found".

It displays such message for java script menus ( on which I have clicked during recording ) in the web application.
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=13023&messageID=41219#41219

---------------------------------------------------------------------
To unsubscribe, e-mail: selenium-ide-users-unsubscribe@...
For additional commands, e-mail: selenium-ide-users-help@...


Re: Element not found error while playback the recording of web page.

by Eleo-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Try using 'clickAndWait' command instead of just 'click'.
Or maybe 'waitForPageToLoad' commands..
Not sure if it would work in yr case but I handled couple of scripts that way..
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=13023&messageID=41264#41264

---------------------------------------------------------------------
To unsubscribe, e-mail: selenium-ide-users-unsubscribe@...
For additional commands, e-mail: selenium-ide-users-help@...


Re: Element not found error while playback the recording of web page.

by Eleo-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The problem commonly found is that the IDE will record a 'click' command when it really needs a 'clickAndWait' command.

'click' should be used when the page under test does not need to reload after this command.

'clickAndWait' should be used when the page under test needs to reload after this command.

So, what happens is you click a control, this triggers a page load, and the IDE will attempt to click the next control before it is actually available.  The 'AndWait' tells the IDE to delay processing the next command until the page has finished loading.

Typically, you will need to add the 'AndWait' to the line prior to where the error occurred.
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=13023&messageID=41285#41285

---------------------------------------------------------------------
To unsubscribe, e-mail: selenium-ide-users-unsubscribe@...
For additional commands, e-mail: selenium-ide-users-help@...


change "click" to "clickandwait" also cannot playback

by moo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I encounter the same problem with the presenter. And I have try to change "click" to "clickandwait",the same problem encounter.How to solve it?

Re: change "click" to "clickandwait" also cannot playback

by qa_automation :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

moo wrote:
I encounter the same problem with the presenter. And I have try to change "click" to "clickandwait",the same problem encounter.How to solve it?
Even I encounter the same problem i.e change "click" to "clickandwait" also cannot playback Please help, I am new to automation thanks in advance

Re: change "click" to "clickandwait" also cannot playback

by kjaladi () :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I ran into this problem many times. All I do is manually replace all Click to "ClickandWait", sometimes - I do use "waitForElementPresent" command to check whether the link is present (or) not before clicking it.

- Kiran.
qa_automation wrote:
moo wrote:
I encounter the same problem with the presenter. And I have try to change "click" to "clickandwait",the same problem encounter.How to solve it?

Even I encounter the same problem i.e change "click" to "clickandwait" also cannot playback
Please help, I am new to automation
thanks in advance


Re: change "click" to "clickandwait" also cannot playback

by qa_automation :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for the info.