Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Verifying the contents of a Web List in QTP scipt
#4
Solved: 11 Years, 3 Months, 3 Weeks ago
You could simply do something like this:

Code:
vendorListItems = Browser("...").Page("...").WebList("...").GetROProperty("all items")
If Not instr(vendorListItems, VendorNameToSearch) > 0 Then
    Msgbox "Vendor Name not found"
End If
Reply


Messages In This Thread
RE: Verifying the contents of a Web List in QTP scipt - by moon_walker333 - 01-03-2013, 11:02 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to clear the contents of datatable(Local or Global sheet) during runtime? srinibarati 3 13,457 11-27-2016, 10:10 PM
Last Post: EbbyNader
  create drop Down list or menu in qtp abansal 0 3,954 09-07-2012, 05:36 PM
Last Post: abansal
  QTP 11 Patches List Till date supputuri 0 9,618 12-02-2011, 10:23 PM
Last Post: supputuri
  Verifying checkpoint and set flag ritugoyal 3 6,245 01-18-2010, 06:38 PM
Last Post: ritugoyal
  Java List not being identified by QTP aditi 7 10,127 08-21-2009, 04:17 AM
Last Post: aditi

Forum Jump:


Users browsing this thread: 2 Guest(s)