Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» FlexMonkium Download Not available under Gorillalogic site
Thu Dec 08, 2016 5:40 pm by bhanu.praveen

» Selenium Script issue
Tue Dec 06, 2016 9:48 pm by njain213

» Difference between QTP, Selenium and Silk test
Tue Dec 06, 2016 7:58 pm by jessicacyrus1

» Where does selenium script pick browser from
Tue Dec 06, 2016 1:52 pm by janbaskt

» Safari throws an HTTP ERROR: 404
Tue Dec 06, 2016 1:51 pm by janbaskt

» Access Denied Error in Selenium RC
Tue Dec 06, 2016 1:51 pm by janbaskt

» Automating Flex application through selenium webdriver
Fri Dec 02, 2016 2:06 pm by abhinay.krs

» Starting with Selenium, what is Selenium?
Mon Nov 28, 2016 4:00 pm by Foma

» Getting started with Selenium
Mon Nov 28, 2016 3:23 pm by Rebbelx

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

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

View previous topic View next topic Go down

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

Post by joemac on 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>

joemac

Posts : 3
Join date : 2015-03-12

Back to top Go down

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

Post by ccox on Sat Mar 28, 2015 5:27 am

What is the error it gives you?

ccox
Master
Master

Posts : 205
Join date : 2012-01-06
Age : 31
Location : Denver, CO

Back to top Go down

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

Post by joemac on Tue Mar 31, 2015 1:40 am

That the element is not found.

joemac

Posts : 3
Join date : 2015-03-12

Back to top Go down

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

Post by ccox on 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

ccox
Master
Master

Posts : 205
Join date : 2012-01-06
Age : 31
Location : Denver, CO

Back to top Go down

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

Post by joemac on 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.

joemac

Posts : 3
Join date : 2015-03-12

Back to top Go down

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

Post by ccox on 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

ccox
Master
Master

Posts : 205
Join date : 2012-01-06
Age : 31
Location : Denver, CO

Back to top Go down

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

Post by Sponsored content Today at 8:10 am


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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