Empty Controls on play back

Bug reports.
maxABSciex
Posts: 4
Joined: Thu Dec 08, 2011 6:10 pm

Empty Controls on play back

Post by maxABSciex » Thu Dec 08, 2011 6:28 pm

Hello,

I'm not sure if this is a bug or I am missing something, but here is what happens:

I record the following:

Run my Application, Double click on a custom control which opens up a modular window, click on one of the tabs, and examine the populated data. Now when I record or do this manually there are a couple of lists and radio buttons and they are all populated with data and some of the radio buttons are checked.

However when I play back, all the controls are empty.

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

Re: Empty Controls on play back

Post by Support Team » Fri Dec 09, 2011 2:40 pm

What technology is your application made of?
Can you please post a Ranorex snapshot? (See here how to create Ranorex snapshots)

I can only imagine that this might be an issue with Ranorex' EnsureVisible functionality. Please, try to set the "Use Ensure Visible" property to "False" for all items in your Ranorex repository.

Regards,
Alex
Ranorex Team
.
Image

maxABSciex
Posts: 4
Joined: Thu Dec 08, 2011 6:10 pm

Re: Empty Controls on play back

Post by maxABSciex » Mon Dec 12, 2011 9:04 pm

Thank you for your help!

Unchecking 'Use Ensure Visible by default' in Global Settings fixed the problem, even though I'm not quite sure what it does.

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

Re: Empty Controls on play back

Post by Support Team » Tue Dec 13, 2011 5:33 pm

Hi,

Ensure Visible tries to bring the requested element to the front.
This functionality has a special implementation for several controls and technologies and sometimes there could be side effects (as in your case).
To improve the Ensure Visible functionality it would be nice if you can provide us a snapshot of your application.
For help on creating a snapshot, go to here.

Thanks in advance!

Regards,
Martin
Ranorex Support Team
.
Image