Execute test cases in background

Ranorex Spy, Recorder, and Studio.
Jrack
Posts: 7
Joined: Mon Jul 27, 2015 4:55 pm

Execute test cases in background

Post by Jrack » Wed Nov 18, 2015 8:54 pm

Is it possible to run my test suite in the background without it constantly forcing the browser or software to the front for each image? I have hard coded the Button Clicks so that the mouse and keyboard can be used but didn't know if this was possible for it to recognize images in the background.

Thanks

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

Re: Execute test cases in background

Post by Support Team » Fri Nov 20, 2015 10:58 am

Hello Jrack,

Generally, the UI structure of the application/website under test is also accessible if the corresponding elements are in the background. Depending on which actions you perform (e.g. mouse click, screenshot), the application is enforced to be in the foreground.

Per default the option 'Use Ensure visible by default' is enabled, which ensures the visibility of the corresponding element before performing the click action.
Use_Ensure_Visible_By_Default.png
Use_Ensure_Visible_By_Default.png (22.14 KiB) Viewed 1291 times
The 'Ensure Visible'-function also could be disabled for specific repository items.
repository_item_properties.png
repository_item_properties.png (6.95 KiB) Viewed 1291 times
Please note that there shouldn't be any manual intervention during the test execution.
If you need to continue working on the local machine, one option would be to execute the Ranorex Test Suite on a virtual machine.

Please let me know if you need more information.

Regards,
Johannes
.
Image