Ask a Question

Running TestedApp in RunAs mode

SOLVED
nh512613
Occasional Contributor

Running TestedApp in RunAs mode

Hi, i have a problem when running a TestedApp in RunAs mode from a substituted drive. Its working fine when i use the real adress. The drive gets substituted before the test happen on the given user, but it seems to not find the application however.

6 REPLIES 6
rraghvani
Trusted Contributor

Can you provide a screenshot of your TestedApp settings please?

nh512613
Occasional Contributor

 
rraghvani
Trusted Contributor

I think the "Command-line parameters" is incorrect, as its mentioned "The command-line arguments that will be used to launch the application." - you've entered "Z:\"

 

 

nh512613
Occasional Contributor

The "Command-line parameters" are working fine when starting the program regular. Also when i change the TestedApp settings with the one in the picture the program is starting fine.

rraghvani
Trusted Contributor

I think this is function as designed. When I try to launch notepad as a different user, I get the following error

rraghvani_0-1680009822413.png

However, if I double click notepad.exe, it launches. Also, I can launch notepad, from my Windows (not using subst) folder, as a different user.

nh512613
Occasional Contributor

Exactly thats the same behavior i get with our application. I decided to not use substituted drives and instead make a windows environment variable with the path set to our application, with this i can start in RunAs mode without any problem.

cancel
Showing results for 
Search instead for 
Did you mean: