Quantcast
Channel: Micro Focus QTP (UFT) Forums - All Forums
Viewing all articles
Browse latest Browse all 1793

Get list of webedits in repository

$
0
0
Is there a way to query what objects are defined in the repository?  (I want to verify that every object in the repository exists in the page.)

Specifically, I'd like to do something like this:


Code:
Set WebEditArray = Browser("MyBrowser").Page("MyPage").getObjectList("WebEdit")

ForEach we in WebEditArray
    if not Browser("MyBrowser").Page("MyPage").WebEdit(we).Exist(1) then
        Print "Missing WebEdit " & we
    End if
Next


Is there a getObjectList(...) function?

Viewing all articles
Browse latest Browse all 1793

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>