Micro Focus QTP (UFT) Forums
Web Element not getting recognised - 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 Element not getting recognised (/Thread-Web-Element-not-getting-recognised)



Web Element not getting recognised - Brian3 - 10-21-2008

Hi,

Im automating an excel based application (TM1) and Im having trouble clicking on a web element link. When i recorded the application the web element wasnt recognised and put into the object repository, so i added the web element as an object to the repository myself. Now when i click the "highlight in application" button it highlights correctly on the screen.
The problem is (even though the web element seems to be in the object repository) it doesnt seem to get recognised when i run my script.
The following line -
Code:
Browser("Cognos Web Login").Page("Cognos Web Login_2").Frame("navFrame").WebElement("011 Discounts and Rebates.xls").Click

doesnt get run...the script simply moves over it.

Does anyone know why this might be happening? Am i missing some property setting or something?

Cheers,
Brian