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

Double click on a grid row does not work

9 Answers 36 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Weston
Top achievements
Rank 1
Weston asked on 23 Jan 2014, 11:07 PM
When I record the double click on a grid works, but does not work on playback. Also every time I try to modify the code to put custom code in, the script will not run, even if I remove the line. On playback it opens the browser and closes it immediately and I have to create a brand new test.

I have also tried to simulate a real click and that doesn't work either.

Any other ideas?

9 Answers, 1 is accepted

Sort by
0
Weston
Top achievements
Rank 1
answered on 24 Jan 2014, 05:17 PM
If anyone else has this problem, it worked for me when I added a JS EVENTS OnDblClick from the Actions tab
0
Madhu
Top achievements
Rank 1
answered on 24 Jan 2014, 07:47 PM
Hi Weston,

I see this issue on my silverlight project almost every day. I've added a wait for visibility step with EnsureCurrentState property enabled before double clicking on particular element. This workaround works fine on some cases but sometimes its not. Let's give a shot.

Thanks,
Madhu
0
Velin Koychev
Telerik team
answered on 28 Jan 2014, 01:41 PM
@ Madhu - Thank you for sharing your experience and solution.

@ Weston - It is good to hear that you've been able to resolve this issue. Thank you for sharing your discoveries. 

If you need additional assistance please do not hesitate to contact us.


Regards,
Velin Koychev
Telerik
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Madhu
Top achievements
Rank 1
answered on 28 Jan 2014, 09:46 PM
Hi Weston,

Please could you provide what steps you take to resolve this issue? As I said before, sometimes my logic won't work.

Thanks in advance.
Madhu.
0
Weston
Top achievements
Rank 1
answered on 28 Jan 2014, 10:43 PM
Hello Madhu,

This is what I did to click on a grid in Chrome.

0
Weston
Top achievements
Rank 1
answered on 28 Jan 2014, 10:44 PM
The image did not paste in so I am attaching it.
0
Velin Koychev
Telerik team
answered on 31 Jan 2014, 01:47 PM
@Weston - Thank you for sharing this screenshot.
@Madhu - Did you try this suggestion? Does it work for you?

Regards,
Velin Koychev
Telerik
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Madhu
Top achievements
Rank 1
answered on 31 Jan 2014, 04:43 PM
Hi Weston, thanks for your help.

Hi Velin,

1st thing we are using IE for our testing. I don't see JS events on Quick Task popup for silverlight application.

Thanks,
Madhu
0
Velin Koychev
Telerik team
answered on 05 Feb 2014, 01:37 PM
Hi Madhu,

You will have to invoke this JavaScript event using a coded step. You can see in our documentation the article about Invoking JS Events and customize the code sample for your needs (for example you might need to use ScriptEventType.OnDblClick and not the ScriptEventType.OnFocus

If you continue to experience issues, please provide us with a copy of your test and if it is possible grant us access to your application so we can reproduce the issue on our end and give you a solution. If you decide to do so you can open  a support ticket instead of forum thread where all the information provided remains confidential.

Regards,
Velin Koychev
Telerik
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Weston
Top achievements
Rank 1
Answers by
Weston
Top achievements
Rank 1
Madhu
Top achievements
Rank 1
Velin Koychev
Telerik team
Share this question
or