Micro Focus QTP (UFT) Forums
Web Object Unique ID Number - 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: Web Object Unique ID Number (/Thread-Web-Object-Unique-ID-Number)



Web Object Unique ID Number - zunebuggy - 07-10-2017

OS: Windows 10 Pro
Processor: Intel® Core™ i7-4790 CPU @ 3.60GHz 64 Bit
RAM: 8GB

Browser: IE 11 - ver 11.1358.14393.0 Update Ver 11.0.43

UFT Version: 12.61 Build 4766

This is probably really easy, but on the page I am testing, there is a unique record ID number that is displayed textually.  I have added this text to the repository.  When I do this, the repository Name: is the record ID number (for example: 123456).  So I change the Name: to Record_ID in the repository but then I run my test and this time the Record ID No is 123457 and because of this, the obect is not found when I try to get Browser("nnn").Page("nnn").Frame("nnn").WebElement("Record_ID").GetROProperty("innertext")

Thank you  Smile