Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to match weblist data with expected values
#1
Solved: 5 Years, 11 Months, 2 Weeks ago
Hello All,

I am new to UFT and I have this task where I need to perform a comparision between list of all the items available in a weblist with expected list. And I was told not use any excel or Local/global data sheets.

And this weblist I am talking about is common for different users but with no of items might vary. So I want parametrize this in way that I can use it as function and can use for diffrent users.

Below is the code I am using to capture all the weblist values. Since I am not supposed to use a excel or data sheets. I dont know hoe to compare with expected data.

Code:
all = Browser("B").Page("P").WebList("L").GetROProperty("all items")
arr = split(all, ";")


Please help
Reply


Messages In This Thread
How to match weblist data with expected values - by Anupama - 05-16-2018, 12:30 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Unable to select value from Weblist using QTP neenumaria 4 12,617 08-07-2018, 04:43 PM
Last Post: NovGirl
  finding expected value in webtable Anupama 8 2,272 05-23-2018, 06:20 PM
Last Post: Anupama
  WebElement (only Weblist) is not getting identified in QTP 11, Windows 7 priyaang 3 5,544 06-26-2015, 12:39 AM
Last Post: supputuri
  Application Issue on selecting value from weblist using UFT 12.1 on run sunilkgupta 0 2,190 01-01-2015, 08:22 PM
Last Post: sunilkgupta
  get visible cell data values from webtable Satwik 1 4,297 07-24-2014, 11:57 PM
Last Post: supputuri

Forum Jump:


Users browsing this thread: 1 Guest(s)