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

Highlight Elements loses focus when trying to mouse to Quick Steps/JavaScripts Events/Mouse Action/Scroll Actions

10 Answers 144 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Barry
Top achievements
Rank 1
Barry asked on 03 Aug 2016, 07:43 PM

I am running Test Studio 2016 R2 with the latest internal build installed. When I enable Highlight Elements and hover over an outlined object the initial pop up menu displaying Quick Steps/ JavaScripts and other recording aids opens okay. When I try to move the mouse to Quick Steps/JavaScript Events/Mouse Actions/Scroll Actions it loses focus and the initial pop up and the sub menu flay out closes before I can select anything. If I navigate down the left column of the initial pop up i can sucessfully get to Add to Elements/Locate in DOM/Build Step sub menus. Our  UI is written in Angular JS.

I have tested the Highlight Elements feature with gmail.com as the target web page and it works properly. If this is an Angular issue is thaere a work around i can use?

 

Thank you,

Barry

10 Answers, 1 is accepted

Sort by
0
Elena
Telerik team
answered on 08 Aug 2016, 12:26 PM
Hello Barry,

This seems to be an issue related to your specific application. Would it be possible to provide us access to the tested page so that we could reproduce the issue in our source code debugging environment? If this would not be suitable I would like to ask you to capture Fiddler trace against the problem page and provide it along with the script itself. We have about 75% success rate using Fiddler trace to simulate your web server and reproduce the faulty behavior. 

Here is what you need to do to get this trace. 
1) Start Fiddler - note no browser should be open
2) Click Clear Cache
3) If your site uses HTTPS click Decrypt HTTPS traffic
4) Start Capture
5) Launch a browser
6) Navigate to the problem page and pop up.
7) Stop Capture
8) Save Capture
9) Put the .SAZ file into a .zip file and attach that to this support ticket

Thanks in advance for the cooperation. I hope to hear from you soon. 

Regards,
Elena Tsvetkova
Telerik by Progress
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Barry
Top achievements
Rank 1
answered on 10 Aug 2016, 08:02 PM

Thank you for responding. Based on a different response i have removed all Test Studio Chrome plug-in and reinstalled only the three approved by Chrome. The issue still exists. I found a public site where this is happening when I have Highlight Elements enabled. www.cabelas.com. I have attached a simple TS test script i recorded where the sub menus for the Highlight Elements disappear. It happens starting at step 8 of the script. Hover over the image for Big Game (pants) or Scent Control until the element popup is displayed. Then try to navigate to Quick Steps. About the time the Quick Steps flyout starts to display the whole pop up disappears. 
After this happens you will notice the red box used to select an element no longer appears. Click off into a blank space of the web page and the red box will start appearing again. I have attached the .resx & .tstest files for reference.

Thank you,

Barry

0
Barry
Top achievements
Rank 1
answered on 10 Aug 2016, 10:58 PM
Additional configuration info. My PC is running Windows 8.1 pro 64 bit. I am testing with Chrome 32 bit and Firefox 32 bit. 
0
Nikolay Petrov
Telerik team
answered on 15 Aug 2016, 01:16 PM
Hi Barry,

Thank you for the script.

Unfortunately, I couldn't reproduce this issue. Please, make a short video (using Jing) - how to reproduce and share its link.

This problem could be due to your DPI settings. Check and adjust it according the documentation, please.

I hope to hear from you soon.

Regards,
Nikolay Petrov
Telerik by Progress
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Radha
Top achievements
Rank 1
answered on 08 Mar 2017, 04:24 PM
Did anyone find a solution I am having same issue I am using TestStudio 2017 and running it in Ie against our servicenow application
0
Nikolay Petrov
Telerik team
answered on 13 Mar 2017, 11:14 AM
Hi Radha,

Did you try to adjust the DPI settings as it is described in this article?

What type of monitor do you use? Is it Ultra High Definition one?

Regards,
Nikolay Petrov
Telerik by Progress
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Barry
Top achievements
Rank 1
answered on 13 Mar 2017, 04:06 PM
I was never able to get this to work in Chrome. As a work around I can get it to work in Firefox 43. Our application uses Angular.
0
Nikolay Petrov
Telerik team
answered on 16 Mar 2017, 09:00 AM
Hi Barry,

I could not reproduce the problem using the provided test script and product version 2017.1.207. I suppose that the application is changed during the time. Would you record and provide new test that could reproduce this problem with the latest product version? 

Thank you for your cooperation.

Regards,
Nikolay Petrov
Telerik by Progress
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Phanel
Top achievements
Rank 2
answered on 15 May 2018, 03:37 PM

I encountered the same issue. Test Studio does not execute any actions or activities from the Fly out menu. any help??

Thanks,

Phanel

0
Elena
Telerik team
answered on 17 May 2018, 12:27 PM
Hello Phanel,

Thanks for reaching us out. 

In regards the Fly Out menu I guess it appears only when you hover over the mouse. Please double check if you have inserted Hover Over steps where necessary to ensure the menu is visible when you want to select anything from it. Hover over step is available in the Step Builder under Mouse actions section. 

For the links you mentioned are not being executed I suspect the find logic of the target elements might not be correct - please verify if it is necessary to edit the find expression. Please also use the execution log to better understand what is going wrong and why the test fail to click on any of the links. 

You could also perform the execution with annotations turned on (please see point 5. in this article) to better evaluate what could be possibly wrong. If the element could be found on page you might need to enable simulate real click. 

I hope the above information will be useful for you. Thanks for your cooperation! 

Regards,
Elena Tsvetkova
Progress Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Barry
Top achievements
Rank 1
Answers by
Elena
Telerik team
Barry
Top achievements
Rank 1
Nikolay Petrov
Telerik team
Radha
Top achievements
Rank 1
Phanel
Top achievements
Rank 2
Share this question
or