Select item using label (innertext)

Class library usage, coding and language questions.
delfindevassy
Posts: 4
Joined: Mon Aug 26, 2013 11:26 pm

Select item using label (innertext)

Post by delfindevassy » Thu Nov 28, 2013 12: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 9:40 am

Re: Select item using label (innertext)

Post by Swisside » Thu Nov 28, 2013 9: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: 12167
Joined: Fri Jul 07, 2006 3:30 pm
Location: Graz, Austria

Re: Select item using label (innertext)

Post by Support Team » Fri Nov 29, 2013 10: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)
.
Image