Compiled Script does not activate the Testobject

Ranorex Studio, Spy, Recorder, and Driver.
riccardo
Posts: 30
Joined: Wed Apr 28, 2010 10:37 pm

Compiled Script does not activate the Testobject

Post by riccardo » Thu Apr 29, 2010 4:05 pm

I have a quick script which opens a folder on the desktop and does start my application. This works perfectly when running in Playback Mode (Recorder). But when I run it with compiling the code, the focus will not be changed and all clicks will be done within Ranorex Studio instead the desktop.

I am appreciate any help here :)

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Compiled Script does not activate the Testobject

Post by Support Team » Fri Apr 30, 2010 11:24 am

Hi!

I created a project where I executed the same steps as you described, but I cannot observe the behavior you explained. Try to set the "Use Ensure Visible" of the correspodening item in your repository to true. This will guarantee that the item is visible when the expected step is executed.

Regards,
Peter
Ranorex Support Team

riccardo
Posts: 30
Joined: Wed Apr 28, 2010 10:37 pm

Re: Compiled Script does not activate the Testobject

Post by riccardo » Mon May 03, 2010 8:39 pm

I have reset the Options... that did the job