![]() |
Comparing webtable data with weblist and webelements in other webpage - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: Comparing webtable data with weblist and webelements in other webpage (/Thread-Comparing-webtable-data-with-weblist-and-webelements-in-other-webpage) |
Comparing webtable data with weblist and webelements in other webpage - arnav - 04-07-2014 Hi Guys, I need script for the following scenarios. 1. Comapring names in a webtable in a webpage with the names in the weblist in another page. 2. Comparing dates in a webtable in a webpage with the dates the dates in other webpage displaying as a webelement Please help me on this. I need that urgently. RE: Comparing webtable data with weblist and webelements in other webpage - Parke - 04-18-2014 Arnav: The following code has not been tested. I would use an arrayList as elements can be added or removed without having to reDim a normal vbscript array. Code: Set arrL_1 = dotnetfactory.CreateInstance("System.Collections.ArrayList") There are lots of examples of how to compare two arrays. hth, Parke |