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?
I have also tried to simulate a real click and that doesn't work either.
Any other ideas?
9 Answers, 1 is accepted
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
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
@ 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.
Regards,
Velin Koychev
Telerik
@ 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
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.
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.
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
@Weston - Thank you for sharing this screenshot.
@Madhu - Did you try this suggestion? Does it work for you?
Regards,
Velin Koychev
Telerik
@Madhu - Did you try this suggestion? Does it work for you?
Regards,
Velin Koychev
Telerik
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
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
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
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.
Velin Koychev
Telerik