Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Web Element: Not able to select value from drop down in Web Element.
#1
Not Solved
On web page, I do have a drop-down / Combo box which is identified as Web Element via QTP. Now from that drop-down I need to select a value. But I am not getting any way to do so.

Example:
There is a drop down of Country List, and you need to select "India" from that list.

So requesting guidance on it how it could be done. I do not see any select or SET property on web element to achieve this.

Thanks
Rajeev


Attached Files Image(s)
   
Reply
#2
Not Solved
Dear's,
Can any one guide me here to resolve this issue please.
Reply
#3
Not Solved
You can solve this issue using devicereplay object with mouse click option.  Go through the below link for more information about devicereplay object
Reply
#4
Not Solved
Try to spy correctly it should show web list.

or else. take the list of elements in a variable using GetROproperty("Names")
syntax:

Code:
xyz = Browser().page().webelement().getroproperty("names")
Msgbox xyz

Then split the variable it will convert into array and u can select the value based on index... hope this works
Reply
#5
Not Solved
In recording, you can get it as weblist. Try it. I faced same issue for some elements.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Smile If Then Is Always True For Web Objects zunebuggy 1 946 04-17-2020, 04:30 AM
Last Post: zunebuggy
  UFT 14.53 not able to record steps of web application rupesh doshi 3 2,857 10-10-2019, 01:50 PM
Last Post: rupesh doshi
  Web Testing and Unexpected Server Errors zunebuggy 0 1,278 01-24-2018, 11:41 PM
Last Post: zunebuggy
Smile Very Complex Web Testing zunebuggy 1 1,505 11-22-2017, 02:26 PM
Last Post: supputuri
  Web Object Unique ID Number zunebuggy 0 1,560 07-10-2017, 05:37 PM
Last Post: zunebuggy

Forum Jump:


Users browsing this thread: 2 Guest(s)