Run tests from cmd

Ask general questions here.
Elior Jarani
Posts: 7
Joined: Tue Dec 27, 2016 2:18 pm

Run tests from cmd

Post by Elior Jarani » Wed Jun 28, 2017 9:52 am

hi,
I have made several tests that works well using the Ranorex UI,
I am testing a c# app with wpf UI.

the issue is that when I run the test directly from cmd
"
cd/d "...\Ranorex\RanorexStudio Projects\Vehicle - Middile Version\Vehicle - Middile Version\obj\Debug"
Middile Version\obj\Release

myproject - Middile Version.exe
"

that test are running, but some of the UI component are not been detected.

I have tryied running for the \bin\debug, and also same from Release,
still nothing is working (some UI component are not found and tests are failing).

one more issue I have noticed, is that the "typing time" during the cmd test is much slower then when running from UI.

please help me
thanks

jma
Posts: 111
Joined: Fri Jul 03, 2015 9:18 am

Re: Run tests from cmd

Post by jma » Thu Jun 29, 2017 12:18 pm

Hi,

In order the forum community can help you please also upload a Ranorex Snapshot and a compressed Ranorex Report, which will provide more information about the issue. Please create the Ranorex Snapshot of the problematic element that wasn't found right after the test case failed.