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

Record Menu Attaches to Multiple Windows/Elements

6 Answers 10 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 24 Feb 2020, 09:39 PM

I am currently using test studio with a product that displays multiple camera feeds split into a 3x3 grid. When ever I load the product with the recorder on Test Studio pops up 9 recorder menus each attached to the 9 camera feed windows. I am new to this software, so I apologize if I am missing something obvious, but where do I go to have it only display one recorder menu?

Thank you!

6 Answers, 1 is accepted

Sort by
0
Plamen Mitrev
Telerik team
answered on 25 Feb 2020, 11:01 AM

Hello Chris,

Thank you for contacting us with your question. I am happy to help you out and share more details about the recording feature in Test Studio. Please find more details below.

It is expected to see a recorder attached to each window of the WPF application under test. Basically, when you star a recording session against the application under test, Test Studio launches it and attaches the recorder to the WPF window. That is how we manage to capture each actions and verification that you make. So, we want to continue capturing every action in every window that opens and that is why you see multiple recorders.

The specifics of the WPF application and how we communicate with it, require a recorder for each window. You can see in the Elements Explorer in Test Studio, that every window with recorded steps has its own structure of elements. That allows us to find the correct element in the right window during test execution. Once you are done recording your test scenario and execute the full test, you will not see the recorder attaching to any of the windows of the tested application.

I am interested to know if the multiple recorders are causing some troubles for you in the current automation. Please share additional details about the test scenario.

I hope I was able to provide sufficient information to you. Please do not hesitate to contact us again, if you need more details or have follow up questions.

Regards,
Plamen Mitrev
Progress Telerik

 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Chris
Top achievements
Rank 1
answered on 28 Feb 2020, 04:06 PM
Thanks for your response Plamen, I am currently trying to test out Test Studio to see if it would be a good system to test my companies Video Management System (VMS). The VMS has multiple windows(3x3 grid) surrounded by a GUI that lets you drag and drop cameras on to the windows to view their feed. I am currently trying to set up a basic test of opening and logging into the VMS and then selecting and dragging a camera on to a window. This is not working because of the multiple recorders attached to all of the windows. It is very cluttered, but it is also making it difficult to have the recorder of the GUI record actions involving those windows because they are attached to a separate recorder. Additionally, having 9 extra recorders on open really slows down my machine. Is there any way to configure Test Studio to only have 1 recorder record everything in the WPF? 
0
Plamen Mitrev
Telerik team
answered on 02 Mar 2020, 12:14 PM

Hello Chris,

Thank you for sharing details about the application under test and what is your test scenario.

I understand how having multiple recording toolbars on your screen blocks some parts of the application under test. It is not possible to disable those toolbars, but you can undock them and move them aside for the moment.

Having multiple recorders should not affect any of the functionality and features of Test Studio, like the Drag & Drop steps for example. Those steps actually execute against your desktop and the initial element should be dropped on the recorded coordinates. You can also adjust those coordinates, offsets and other properties in the Properties pane in Test Studio.

I am interested to know what happens when you record a Drag & Drop step and execute it on your end. Since the recording toolbars take up some of the windows' space, you can try it out without them as well, using the quick execute button from the ribbon. Please share more details and screenshots or a short video, so I can get a better understanding of the behavior.

The Elements Explorer in Test Studio is keeping track of all target elements and organizes them under the specific window that holds them. So, you can record in the different windows with their own recorders and execute the test without troubles. Please let me know if that is not the case and share more details about the test scenario and a sample Test Studio project for reference.

I am looking forward to hearing from you and assisting you further.

Regards,
Plamen Mitrev
Progress Telerik

 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Chris
Top achievements
Rank 1
answered on 02 Mar 2020, 06:14 PM

Hey Plamen,

Attached to this is a video that shows off the Drag and Drop test I set up.The drag and drop works, but it isnt specifically doing what I told it to do. I will also attach a screen shot of my action steps. I set up the test to open all of the drop down menus and then drag and drop the Back Entrance Textbox to a specific location, the center of the top left window in the camera grid. I had to add this step manually because it did not register when I dragged and dropped while recording. As you can see in the video, it grabs the Rear Parking Textbox and then drags it to the middle left box. I also attached a screen shot of what it looks like in record mode with all of the recorder open. One of the big issues with all the records is that none of them are labeled so the only way I know which one goes to what window is by docking and undocking them

Thank you for your time,

-Chris

0
Plamen Mitrev
Telerik team
answered on 04 Mar 2020, 12:17 PM

Hello Chris,

I see that you have opened a private support ticket and I believe that it is better to continue the discussion and troubleshooting there. That way you can share more details about the application under test and your recorded steps, if necessary.

As my colleague, Elena, mentioned there, you can configure the Drag settings, the Drop settings and more about Drag & Drop steps in the properties pane. We will try to help you automate this test scenario in the other ticket, as this is a matter of configuration and fine tuning.

Thank you for your understanding and cooperation in the discussion.

Regards,
Plamen Mitrev
Progress Telerik

 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Chris
Top achievements
Rank 1
answered on 06 Mar 2020, 02:51 PM

Thank you Plamen for your help, I continue with getting support through the support ticket.

 

 

Tags
General Discussions
Asked by
Chris
Top achievements
Rank 1
Answers by
Plamen Mitrev
Telerik team
Chris
Top achievements
Rank 1
Share this question
or