i have an issue of verifying all the values displayed in a dropdown list.
Qtp identifies the object as webelement and not weblist and each value as link object.
so if i have to use any value displayed in a dropdownlist.
Following is the code i use
browser("A").page("B").link("innertext:=VA",html tag:= SPAN").click(because this line is not recorded)
can anyone help me to how to check all the values available in the webelement
Re: How to identify the values inside a webelement
Thanks for your help.
I was able to identify all the links which were displaying inside the webelement with a regular expression on innertext which was unique to all those links by using the desc obj.
But as such i could not establish any connection between the webelement and the link. The links were identified based on their innertext on that page and not in the webelement.