Desired capabilities Always null

I had set up a desired capability called appArguments because I need to start a windowa application with a specific arguments. The capabilities I have set in the project settings under the desired caps/windows page works fine through the Native Windows Recorder but running a simple Windows.startApplicationWithTitle test case does not work.

The Log Viewer shows desiredCapabilities = {}

I found this old thread: Desired capabilities null but do not understand what they mean when they say “It works fine through the Windows execution option”.

Thanks for any help.

Hello,

Make sure you choose ‘Windows’ from the list when executing the test script. Don’t just click on the execute icon (green triangle), open the drop-down listbox next to the button.
If you see Chrome is your default option, modify the execution settings on the project settings/execution tab.

1 Like

Alright I found it. Thanks for the help.