Compiled Script does not activate the Testobject

Ranorex Spy, Recorder, and Studio.
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: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

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
.
Image

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