Selenium Forum: Functional And Regression Testing Tool.
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
Display results as :
Advanced Search
Latest topics
AEM Training | Free Online DemoWed Apr 21, 2021 5:45 pmazharuddin
c# PageFactory - issue initializing elementsFri Nov 01, 2019 8:40 pmthegoatboy
Selenium making automatic connection to random urlsMon Jul 08, 2019 12:58 pmrepairtechsolutions1
How can we design the custom framework in Selenium RCMon Jun 24, 2019 2:26 pmrandybonnettes
What are the new features in Selenium 3.0Tue Jun 18, 2019 5:37 pmpappyvicky
What are you using Selenium for? Fri Apr 12, 2019 3:52 amzhl
LIMITATIONS OF SELENIUMWed Apr 10, 2019 11:23 amswara
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Go down
avatar
joemac
Posts : 3
Join date : 2015-03-12

 Command clickAndWait not working when Selenium IDE is running on Internet Explorer  Empty Command clickAndWait not working when Selenium IDE is running on Internet Explorer

Sat Mar 21, 2015 3:35 am
Hi,

I have an issue using WebDriver playback with Selenium IDE and am hoping someone might be able to help me. I would be very greatful.

I am trying to run my Selenium IDE scripts on Internet Explorer. I have no problem getting IE running my script. It even successfully runs the first few lines of my IDE script. However, there is one particular line that fails every time. The line is nothing more than the clickAndWait command with the target using the id of a link. It works perfectly and easily with firefox. But each time I try to use it in IE it cannot find the element. Whats especially strange is that there is a clickAndWait command right before the problematic one and THAT one works just fine!

Does anyone have an idea as to what might be the problem? Any help would be much appreciated, as this one single issue prevents me from testing my software on Internet Explorer.

Thank you for your time,

Ilya

I am using Selenium IDE 2.8.0
selenium-server-standalone-2.
44.0.jar
IEDriverServer_Win32_2.44.0.exe
Internet Explorer 8.0
Windows 7 Enterprise 200 Service Pack 1, 32 bit

The html code is the following: It is the last line that fails.


Code:
<!--Preconditions-->
<tr>
    <td>open</td>
    <td>[url=https://company]https://company[/url] website</td>
    <td></td>
</tr>
<tr>
    <td>type</td>
    <td>id=ctl00_MainPlaceHolder_txtUserName</td>
    <td>joe745</td>
</tr>
<tr>
    <td>type</td>
    <td>id=ctl00_MainPlaceHolder_txtPassword</td>
    <td>kd74bhd</td>
</tr>
<tr>
    <td>clickAndWait</td>
    <td>id=ctl00_MainPlaceHolder_pbSubmit</td>
    <td></td>
</tr>
<tr>
    <td>clickAndWait</td>
    <td>id=ctl00_MainPlaceHolder_AdminLinkButton</td>
    <td></td>
</tr>
avatar
ccox
Master
Master
Posts : 205
Join date : 2012-01-06
Age : 39
Location : Denver, CO

 Command clickAndWait not working when Selenium IDE is running on Internet Explorer  Empty Re: Command clickAndWait not working when Selenium IDE is running on Internet Explorer

Sat Mar 28, 2015 5:27 am
What is the error it gives you?
avatar
joemac
Posts : 3
Join date : 2015-03-12

 Command clickAndWait not working when Selenium IDE is running on Internet Explorer  Empty Re: Command clickAndWait not working when Selenium IDE is running on Internet Explorer

Tue Mar 31, 2015 1:40 am
That the element is not found.
avatar
ccox
Master
Master
Posts : 205
Join date : 2012-01-06
Age : 39
Location : Denver, CO

 Command clickAndWait not working when Selenium IDE is running on Internet Explorer  Empty Re: Command clickAndWait not working when Selenium IDE is running on Internet Explorer

Tue Mar 31, 2015 9:11 pm
That means that it can't find the element on the page. Try adding a command like waitForElementPresent before you click on it
avatar
joemac
Posts : 3
Join date : 2015-03-12

 Command clickAndWait not working when Selenium IDE is running on Internet Explorer  Empty Re: Command clickAndWait not working when Selenium IDE is running on Internet Explorer

Wed Apr 01, 2015 1:20 am
Oh, I know what it means. It just can't seem to find it, even after I add waitForElementPresen.
avatar
ccox
Master
Master
Posts : 205
Join date : 2012-01-06
Age : 39
Location : Denver, CO

 Command clickAndWait not working when Selenium IDE is running on Internet Explorer  Empty Re: Command clickAndWait not working when Selenium IDE is running on Internet Explorer

Wed Apr 01, 2015 1:24 am
Is that element located within an iframe? If so, try using the selectFrame command with the locator as the iframe's ID
Sponsored content

 Command clickAndWait not working when Selenium IDE is running on Internet Explorer  Empty Re: Command clickAndWait not working when Selenium IDE is running on Internet Explorer

Back to top
Permissions in this forum:
You cannot reply to topics in this forum