Validating Drop Down box

Ranorex Studio, Spy, Recorder, and Driver.
hergel
Posts: 1
Joined: Fri Oct 26, 2012 3:38 pm

Validating Drop Down box

Post by hergel » Fri Oct 26, 2012 3:50 pm

Hi,

How do you validate the values presented in a web list ?

to clarify: I have a dropdown list and a .csv file, I wish to validate the fields in the .csv against the drop down list.

Marius

User avatar
Ciege
Posts: 1336
Joined: Thu Oct 16, 2008 6:46 pm
Location: Arizona, USA

Re: Validating Drop Down box

Post by Ciege » Fri Oct 26, 2012 4:11 pm

First you need to get the Element of you SelectTag.

Next you can foreach through all the OptionTags in your SelectTag element and check for existence of the items in your CSV.
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!

Ciege...