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?
6 Answers, 1 is accepted
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.
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.
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,
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.
Thank you Plamen for your help, I continue with getting support through the support ticket.