Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Get list of webedits in repository
#1
Not Solved
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?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  QTP has stopped recording 'Submits' in WebEdits mrerek 1 2,523 07-20-2011, 07:40 AM
Last Post: rajpes
  How to merge Local object repository to Shared Object Repository in QTP9 keerthana 1 4,309 06-16-2010, 07:21 AM
Last Post: basanth27
  how to check data/list in dropdown list gurram 1 3,094 03-25-2008, 01:19 PM
Last Post: sreekanth chilam

Forum Jump:


Users browsing this thread: 1 Guest(s)