Credential to launch the application

Ask general questions here.
Santhosh R
Posts: 2
Joined: Mon Mar 02, 2020 6:00 am

Credential to launch the application

Post by Santhosh R » Mon Mar 02, 2020 6:12 am

Hello,

is it possible to set the USERNAME and PASSWORD to launch the Ranorex application?

Thanks in advance

User avatar
Support Team
Site Admin
Site Admin
Posts: 12088
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Credential to launch the application

Post by Support Team » Mon Mar 02, 2020 9:57 pm

Hi Santhosh,

We may need some clarification.

If USERNAME and PASSWORD are test parameters in your test, then you can set these with launch parameters with /pa|param:<parameter name>=<value> or /tcpa|testcaseparam|testcontainerparam:<test container>:<parameter name>=<value>.
MyTest.exe /pa:USERNAME=Ned /pa:PASSWORD=MyPassword
If you are wanting to launch the test with a different Windows user account than what is logged in, it is not recommended to do this. If you need to test as a specific user on Windows, fully login as the user on the machine and run the test. There are various permission issues you will likely encounter if you try to launch the test as a different user.

I hope this helps!

Regards,
Ned
.
Image