How to verify that a video inside a control is playing back
Posted: Mon Jul 09, 2018 5:01 pm
I am working with a desktop application, and Ranorex Studio 8.1.1. Our application displays a number of moving video clips playing back in a continuous loop.
I am able to identify these controls for the clips without a problem.
Our manual test cases ask the user to simply confirm that the clips are playing back - that is they aren't paused, or blank.
For automation of this test case, we agreed it would be sufficient to take two quick screenshots of the clip playback control and verify they are not identical- thus proving that something dynamically changing is being displayed in the control. If the comparison comes back as a match, it must mean the clip is either paused or blank.
I don't see a way to do this from within the Ranorex studio however. I can see how to use image based verification of a control, where we compare a new snapshot against one previously saved with the repository - but that's not what we're trying to do here. We want to take two new snapshots while the script is running and compare those against each other. Is there some way to do this?
I am able to identify these controls for the clips without a problem.
Our manual test cases ask the user to simply confirm that the clips are playing back - that is they aren't paused, or blank.
For automation of this test case, we agreed it would be sufficient to take two quick screenshots of the clip playback control and verify they are not identical- thus proving that something dynamically changing is being displayed in the control. If the comparison comes back as a match, it must mean the clip is either paused or blank.
I don't see a way to do this from within the Ranorex studio however. I can see how to use image based verification of a control, where we compare a new snapshot against one previously saved with the repository - but that's not what we're trying to do here. We want to take two new snapshots while the script is running and compare those against each other. Is there some way to do this?