exe file run as Admin monopolizes screen, so I can't record click on Yes
Hi,
I'm new to TestComplete, so please bear with me :) I want to automate installation of a application, so i manually added the operation "Run TestedApp" as the first action in a KeywordTest which launches the setup.exe. My gameplan is to run this operation and then record the rest of the installation actions. Running the setup.exe file requires elevated rights and Windows prompts me for accepting by clicking Yes in the User Account Control dialog. However, this dialog monopolizes the screen and i can't start TC in recording mode and record the click on Yes when this dialog is displayed.
I'm now thinking along the lines of using a small script that fires a click on the Yes button, but i don't know how to do this, and i don't know how to work out the name and other attributes of the Yes button when i can't activate the UI Spy in TC.
Any help is greatly appreciated.
Erik
Hi !
Can't you set the account control to the lowest level on the machine that executes tests ?
You won't have the confirmation for the elevated rights