Using UFT to get all entries of a WebList object

Category:
Question ID: 110173
2
0

I have a WebList object that I need to check the entries for. It is populated dynamically, so it is different based on certain conditions. Is there a way to do this in UFT?

Marked as spam
Posted by (Questions: 371, Answers: 48)
Asked on July 27, 2021 1:19 pm
7 views
Answers (1)
1
Private answer

Yes, you can use the property "all items" to get the list of all the items in the WebList. You can then check that list against your control list to ensure it has all the required items.

You can see this property and others at this link.

Marked as spam
Posted by (Questions: 16, Answers: 791)
Answered on July 27, 2021 1:22 pm
Thank you that is helpful. I was able to get all items, they were automatically separated by ; and I was able to check that against my array list of expected items.
( at July 27, 2021 1:59 pm)