ClickAndWait command not working in IE

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

ClickAndWait command not working in IE

by Roshni Basu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I have recorded a test case which runs fine in mozilla firefox but fails in IE.
Here is the snippet of test case:
<tr>
        <td>clickAndWait</td>
        <td>//div[@id='content-wrapper']/div[2]/form/ul[2]/li[1]/a</td>
        <td></td>
</tr>
 It shows "Timed out after 30000ms". This does not happen in firefox.
Kindly help.

Re: ClickAndWait command not working in IE

by Hades_Pluto :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

just use click instead, see if that helps


Roshni Basu wrote:
Hi,

I have recorded a test case which runs fine in mozilla firefox but fails in IE.
Here is the snippet of test case:
<tr>
        <td>clickAndWait</td>
        <td>//div[@id='content-wrapper']/div[2]/form/ul[2]/li[1]/a</td>
        <td></td>
</tr>
 It shows "Timed out after 30000ms". This does not happen in firefox.
Kindly help.

Re: ClickAndWait command not working in IE

by Roshni Basu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yes "click" works. But It does not help to run my test case. I am trying to create a test case where I have to click a button and then it should go to the new page. So either it should use "ClickAndWait" or "WaitForTextPresent" or "WaitForElementPresent" . And whenever I use any command using wait it fails when run in IE but works fine in firefox. So I want to know Whether IE does not support any selenium command like "ClickAndWait" where it has to wait?



Re: ClickAndWait command not working in IE

by kjaladi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Can you use "pause"? that might work.

thanks.
Roshni Basu wrote:
Yes "click" works. But It does not help to run my test case. I am trying to create a test case where I have to click a button and then it should go to the new page. So either it should use "ClickAndWait" or "WaitForTextPresent" or "WaitForElementPresent" . And whenever I use any command using wait it fails when run in IE but works fine in firefox. So I want to know Whether IE does not support any selenium command like "ClickAndWait" where it has to wait?