Hi Team,
I had been using Telerik for UI automation but never faced this type of issue earlier. So the problem is while recording the test the screen doesn't changes but while running or testing the same test case screen size changes unexpectedly which results in failed step as after the screen changes the location of the elements also changes.
PFA - Actual Image & Expected Image.
Hi Gaurav, I am sorry to hear about the issue with test automation. I have some follow up questions to help me understand the misbehavior better, so I can advise you.
It looks like there is a navigation panel on the left side, which can be collapsed or expanded. What would cause this panel to collapse in the middle of the test? Maybe a mouse click in the wrong position or against the wrong element could be doing that during the test execution. That would explain the incorrect coordinates for the rest of the elements in that area of the application and we need to understand which actions might be doing that and fix it.
Please enable the annotations for quick execution and run the test again. Observe the mouse and annotations a few times and let me know if you noticed something unexpected or different than what you would do manually. If you can record a short video and provide a sample Web test (.tstest, .resx and .imgstore files of the test) that would be helpful.
Thank you!
Hi Plamen Mitrev,
It is not possible to share the test file as the test file contains confidential data, however I am adding the recorded video of the problem along with " annotations for quick execution " option enabled.
In the video the screen gets shifted to the left as we try to click on "Attribute Bases Data Management" Button. If you need to look into live execution of the test we can have meet session for that.
Link to the video - https://drive.google.com/file/d/1px4-NqGE_EKfjnMysE_HJJqsI_zT_dXc/view?usp=sharing.
Thank you!