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
mgharikrishnan
Active particpant
Active particpant
Posts : 10
Join date : 2011-06-20

The required object is not displaying based on the selenium action - IE7, IE8 & IE9 browsers Empty The required object is not displaying based on the selenium action - IE7, IE8 & IE9 browsers

Mon Jun 20, 2011 11:20 pm
Dear All,

I am facing a very peculiar issue in my Selenium automation script. I am writing Selenium RC scripts with Java and run it using TestNG framework in Eclipse IDE. The script goes like this. Once a radio button is clicked, a dropdown menu should display. Once we select a value in the dropdown, a button should display. The code is diven below,

selenium.click("editFI"); //editFI is the radio button
selenium.select("fiListing", "label=2344"); //selecting the option "2344" from the dropdown "fiListing"
selenium.click("fiSelecting"); //clicking the submit button which will display after selecting the option

This code works fine in Firefox 3, Firefox 4, Google chrome, Mac Safari browsers. But it is not working in IE7, IE8 & IE9 browsers. The problem I face in IE browsers is given below.

In IE7 & IE8 browsers, after the radio button is clicked, the dropdown is not displaying.
In IE 9 browser, the dropdown is displaying after clicking the radio button. But the button is not displaying after selecting any value in the dropdown.

Its not working, even if I give some sleep time between the commands. When I do this manually, the functionality works fine in all IE browsers. Please help me in finding a solution for this IE specific problem.

Thanks in advance!!!

~ Harri...
avatar
Ashelywen
Active particpant
Active particpant
Posts : 12
Join date : 2011-05-05

The required object is not displaying based on the selenium action - IE7, IE8 & IE9 browsers Empty Re: The required object is not displaying based on the selenium action - IE7, IE8 & IE9 browsers

Tue Jun 21, 2011 11:20 am
My program can run in IE8.
The code was recorded like:

selenium.select("form:edit_serverType", "label=2344");
selenium.click("//option[@value='0']"); ////selecting the option "2344" and "2344" is first list.
avatar
mgharikrishnan
Active particpant
Active particpant
Posts : 10
Join date : 2011-06-20

The required object is not displaying based on the selenium action - IE7, IE8 & IE9 browsers Empty Re: The required object is not displaying based on the selenium action - IE7, IE8 & IE9 browsers

Thu Jul 07, 2011 4:15 pm
Hi Ashelywen,

Thanks for your comment. But this is not working for me. The problem is that, I am able to click the radio button ("editFI"), but as soon as the radio button is clicked, dropdown list ("fiListing") should display. But it is not displaying in IE browsers.

~ Harri...
Sponsored content

The required object is not displaying based on the selenium action - IE7, IE8 & IE9 browsers Empty Re: The required object is not displaying based on the selenium action - IE7, IE8 & IE9 browsers

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