| || |
How to Output a value from weblist dynamically
I am trying to get a particular item value from the dropdown list in the WebList object. But unable to get the value dynamically.
I tried with the below code:
Val = Browser("Browser").Page("Page").WebList("Weblist Name").GetItem(3).
But this returns the 3rd item of the list captured during recording only.
If the values in the weblist changes during runtime, i am not getting the new value at the third position.
Kindly help me with this as i am new to QTP.
Thanks in advance.
Re: How to Output a value from weblist dynamically
Try to print all location and see exactly it which location do you get the new item?