TESTUS
14 years agoContributor
Running a TestedApp with Parameters
I have wrtitten a tool that is called with parameters. Is there a possability to run it without coding my username password?
The only way to run a TestedApp with parameters I can find is the "RunAs" method which requires to write my password in the sourcecode. The Run method somehow is not able to provide parameters to a TestedApp.
My current code snippet looks like this:
TestedApps.ExecuteSkript.RunAs (<domain>, <username>, <password>, "", <the_parameter>, -1, False, 90000)
The only way to run a TestedApp with parameters I can find is the "RunAs" method which requires to write my password in the sourcecode. The Run method somehow is not able to provide parameters to a TestedApp.
My current code snippet looks like this:
TestedApps.ExecuteSkript.RunAs (<domain>, <username>, <password>, "", <the_parameter>, -1, False, 90000)