Page 1 of 1

Replay of double clicks on images from C# code is not workin

Posted: Tue Jan 19, 2010 6:02 am
by Tintu
Recording which involves double clicking on the images (actually button contained within image) when they are play backed from C# code, is not consistently working. Any reasons or insights ?

Re: Replay of double clicks on images from C# code is not workin

Posted: Tue Jan 19, 2010 9:51 am
by Support Team
Hi tintu,
could you please give us a little bit more details.
Which control to you want to test? (wpf, ie, firefox , flash...)
Does it occur in the generated code only or also in the Ranorex Recorder playback?
Means image that you are searching for your item image based or is it e.g. a ImageBox within your control?
Does the playback throw an exception?

Regards,
Christian
Ranorex Team

Re: Replay of double clicks on images from C# code is not workin

Posted: Sun Jan 24, 2010 3:49 pm
by jara
Hi,

Even I'm facing the same problem.

I'm trying to play back the recording, by calling it from my C# application.
and I'm testing a imagebox (image within a control)
The playback returns success and not an exception.

Actually my scenario is like this.

The whole box is recognized as a single control ( container) and in the box there are images which has the quality of a button, which ranorex cannot understand since it is not a windows based control. Now I have taken a recording to do a double click on one image in the box(absolute co-orindates w.r.t to the container), which when replayed fails to work in the expected way.

Is this the expected way of Ranorex to work?

Regards,
Jayalakshmi

Re: Replay of double clicks on images from C# code is not workin

Posted: Mon Jan 25, 2010 10:01 am
by Support Team
Hi Jara,

I have tried to reproduce your issues with doubleclicks, but it works fine for me.
Could you please post your recording, and if possible your example (or at least a screen shot) ?

Michael
Ranorex Team