This is a migrated thread and some comments may be shown as answers.

double click --> two single clicks recorded

1 Answer 133 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Oliver Abraham
Top achievements
Rank 2
Oliver Abraham asked on 14 Mar 2013, 06:41 AM
Hi all,

in test recording, we do a double click (in a RadGridView row).
But Test Studio records two left clicks (single clicks).

What went wrong ? Can we adjust the time period that switches between a double click and two single clicks ?

Best regards
Oliver

1 Answer, 1 is accepted

Sort by
0
Boyan Boev
Telerik team
answered on 14 Mar 2013, 07:47 AM
Hi Oliver,

You can use mouse actions in order to perform double clicks.

I've made a sample video guiding you to the process. Let's say I want to record a double click against the BING's logo. I enable the highlighting, hover the mouse over the element (it will get highlighted) and I click on the blue nub that appears. From there I select Mouse Actions > Left Double Click > Center.

Here is the link to the video I've made for you.

Another way to perform double clicks is via a code step:

YourElement.ScrollToVisible();
YourElement.MouseClick(MouseClickType.LeftDoubleClick);

Hope this helps.
 

Greetings,
Boyan Boev
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Tags
General Discussions
Asked by
Oliver Abraham
Top achievements
Rank 2
Answers by
Boyan Boev
Telerik team
Share this question
or