Page 1 of 1

How can i fetch combobox's selected value

Posted: Thu Apr 19, 2012 1:15 pm
by ruchitajadhav
Hi,
I am unable to get the exact property to display combox's current selected value.Kindly help.

Re: How can i fetch combobox's selected value

Posted: Thu Apr 19, 2012 5:31 pm
by Ciege
can you post a RanorexSnapshot so we can see your element? Need to determine what type of combo box it is and where the selected value information is stored.

Re: How can i fetch combobox's selected value

Posted: Fri Apr 20, 2012 5:55 am
by ruchitajadhav
Hi,
PFA the snapshot showing the page having combobox and its ranorex path.The page is developed in asp.net

Re: How can i fetch combobox's selected value

Posted: Fri Apr 20, 2012 4:03 pm
by Ciege
A screenshot isn't of (very) much use.
Please see here on how to make a RanorexSnapshot with RanorexSpy. This will help us in evaluating your AUT and determine how to assist you with your query.

http://www.ranorex.com/support/user-gui ... files.html

Re: How can i fetch combobox's selected value

Posted: Mon Apr 23, 2012 6:34 am
by ruchitajadhav
Hi,
Attaching a ranorex snapshot on which you can find comboboxes for which i want selected value of a combobox

Re: How can i fetch combobox's selected value

Posted: Mon Apr 23, 2012 4:35 pm
by Ciege
Looks like in your instance the TagValue of your list box is set to 1 which correlates to 'Option 1' which appear to be the available options within your list box.

You may need to evaluate what all Options are listed below the select element then evaluate what option 1 is (or whichever tag value is set on the list).

Re: How can i fetch combobox's selected value

Posted: Tue Apr 24, 2012 12:21 pm
by Ravindra.D
Thanks Ciege,

For the prompt reply...