Hello,
I have an option tag. Here's what I want to achieve:
1. Click OptionTag.
2. Different options will show up
3. Click SomeOption
This works perfectly in Mozilla, but I cannot achieve the same result in IE - it keeps clicking in the top-left corner of the screen, no matter what.
"SomeOption.Selected = true" isn't always working for me.
How come? How can I make it work in IE?
Dropdown (option) tag isn't clickable in IE
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Dropdown (option) tag isn't clickable in IE
Hi,
Regards,
Peter
Ranorex Team
Would it be possible to post us a Ranorex Snapshot of your select tag? It looks like the object has the wrong element location. Therefore Ranorex clicks on 0;0. Do you use the same repo item for both browsers?johnsmith wrote:How come? How can I make it work in IE?
Regards,
Peter
Ranorex Team
Re: Dropdown (option) tag isn't clickable in IE
Hi John,
Did you get any solution for this?
Please let me know as I am stucked for this optiontag.
Thanks,
Bhagya
Did you get any solution for this?
Please let me know as I am stucked for this optiontag.
Thanks,
Bhagya
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Dropdown (option) tag isn't clickable in IE
Hi,
if you don't need a browser-independent solution, but just one for IE you can do the following:
Regards,
Larissa
Ranorex Support Team
if you don't need a browser-independent solution, but just one for IE you can do the following:
SelectTag selectTag = webRepo.WepPage.SomeSelectTag; selectTag.Click(); ListItem listItem = webRepo.Selectbox.yourListItem; listItem.Click();After clicking the selectTag the IE "converts" the optionTags into ListItems (try to track after clicking selectTag). This is why in IE it isn't possible to click the optionTags - because it didn't find it since they don't exist.
Regards,
Larissa
Ranorex Support Team