09-07-2011, 12:55 PM
Hi Ankur,
I have placed all the scripts in a Shared Folder and each script there is having different Actions Calls that sits externally to the Driver script. And all these scripts are then mapped to QC Tests. These scripts works perfectly fine for my Login to a system whether for Remote execution or for Local execution. But I am currently facing the below issues with these QTP Scripts when I login to a system (Computer) with some other login Id, I never encountered earlier:-
1> When I try to execute these scripts through QC, after logging-in to the system with some other login ID: I am always getting an error “You don’t have permissions to execute test”, and to resolve that I have to reopen that script in QTP and will have to always click on Check box there in QTP test Options “Enable to connect with other HP tools”.
a. Even after doing this when making second attempt to execute, I am getting the Execution error in QC as “Tool can not be opened”
2> When I manually try to open the same script From QC after logging-in to the system with some other login ID, the script is failing as automatically I am getting the value for Reporter.RunStatus =1 even before the script starts execution.
Due to these issues, the entire scripts have become my login Id dependent but I wished all these scripts to work independently of any one logs in to system.
Looking for help...
With Regards,
Ravi Kant Sharma
I have placed all the scripts in a Shared Folder and each script there is having different Actions Calls that sits externally to the Driver script. And all these scripts are then mapped to QC Tests. These scripts works perfectly fine for my Login to a system whether for Remote execution or for Local execution. But I am currently facing the below issues with these QTP Scripts when I login to a system (Computer) with some other login Id, I never encountered earlier:-
1> When I try to execute these scripts through QC, after logging-in to the system with some other login ID: I am always getting an error “You don’t have permissions to execute test”, and to resolve that I have to reopen that script in QTP and will have to always click on Check box there in QTP test Options “Enable to connect with other HP tools”.
a. Even after doing this when making second attempt to execute, I am getting the Execution error in QC as “Tool can not be opened”
2> When I manually try to open the same script From QC after logging-in to the system with some other login ID, the script is failing as automatically I am getting the value for Reporter.RunStatus =1 even before the script starts execution.
Due to these issues, the entire scripts have become my login Id dependent but I wished all these scripts to work independently of any one logs in to system.
Looking for help...
With Regards,
Ravi Kant Sharma