Page 1 of 1

Automated Start of the User Interface with Powershell-Window

Posted: Mon Dec 09, 2019 3:08 pm
by steffi
Hey guys,

I am using the trial version of Ranorex Studio.
I would like to perform automated GUI Software tests and start our own application automatically.

A Powershell-Window can start the application with the use of specific commands.
These commands are stored in a file.
I don't know very much about Ranorex Studio yet and I don't know how to implement this.
Could someone help me?

In a record, I could click a shortcut that will automatically execute the powershell with the commands.
Unfortunately, this works only temporarily and it is tied to the place of the shortcut on the desktop.

I hope someone understands my situation and can help me.
I you have any questions, please answer me, I'll try to explain it better. :)

Thanks.
Steffi

Re: Automated Start of the User Interface with Powershell-Window

Posted: Tue Dec 10, 2019 12:34 pm
by odklizec
Hi,

I think you best chance is to use Run Application command, where you can specify powershell.exe as app to start and required powershell file and parameters, as argument.

Check these stackoverflow posts, regarding powershell command line usage...
https://stackoverflow.com/a/16436712
https://stackoverflow.com/a/27912928