Page 1 of 1

Execute test cases in background

Posted: Wed Nov 18, 2015 8:54 pm
by Jrack
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

Re: Execute test cases in background

Posted: Fri Nov 20, 2015 10:58 am
by Support Team
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
The 'Ensure Visible'-function also could be disabled for specific repository items.
repository_item_properties.png
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