Micro Focus QTP (UFT) Forums
QTP not recogonising object during run time - 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: QTP not recogonising object during run time (/Thread-QTP-not-recogonising-object-during-run-time)



QTP not recogonising object during run time - Lavanya N - 07-23-2015

QTP is not recogonising object (the object used here is 'Link') during run time. But it recogonises from OR. Please help to solve this issue !!


RE: QTP not recogonising object during run time - Lavanya N - 07-24-2015

I added innertext property to the object and it started working as expected...!!!


RE: QTP not recogonising object during run time - vinod123 - 10-28-2015

Write the syntax in the below way if you do not want to use OR
Code:
Browser("micclass:=Browser").Page("micclass:=Page").WebElement("object name:=object value").Click
or
Browser("micclass:=Browser").Page("micclass:=Page").Link("object name:=object value").Click