Select item using label (innertext)

Class library usage, coding and language questions.
delfindevassy
Posts: 4
Joined: Tue Aug 27, 2013 12:26 am

Select item using label (innertext)

Post by delfindevassy » Thu Nov 28, 2013 1:30 am

Team, I am struggling to select an item from drop down with its label.

I have a drop-down box which has three items in it. Each item has an ID and and a lable. If I set the TagValue with correct ID it works fine. But If I try to select based on the label, it doesn't go through. In a user perspective, they will be choosing a value based on its label right?
You do not have the required permissions to view the files attached to this post.

Swisside
Posts: 92
Joined: Thu Oct 10, 2013 10:40 am

Re: Select item using label (innertext)

Post by Swisside » Thu Nov 28, 2013 10:55 am

Hello


option[@innertext='Default Job Listing'] doesn't work ?



Regards
A simple thank you always does wonders !

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Select item using label (innertext)

Post by Support Team » Fri Nov 29, 2013 11:18 am

Hello delfindevassy,

Do you still experience this issue?
If yes, could you please post or send us ([email protected]) a Ranorex Snapshot of your application.
This would help us in analyzing your issue.
Please take a look at our User Guide for more information on how to create snapshot files.

Thanks in advance.

Regards,
Markus (T)