10-21-2008, 04:56 AM
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 -
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
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