Unable to locate specific column for data entry

1 Answer 111 Views
General Discussions Test Execution Test Results
Akshay
Top achievements
Rank 1
Akshay asked on 12 Jul 2022, 07:10 AM | edited on 12 Jul 2022, 07:11 AM

Hi Team,

We are trying to enter some data for a certain set of cells, but the Test Studio Application is unable to locate the intended cells. The automation starts to select random unwanted cells resulting in incorrect entries. And in the end, the application incorrectly states that all our steps were successful.

We tried multiple methods-1. Using the left double click option, 2. Using the right arrow key, 3. Using the tab key. But none of them lead us to the correct position.

Below we have attached a zip files containing images for all the stages and the intended result.

Thank You

 

 

1 Answer, 1 is accepted

Sort by
0
Plamen Mitrev
Telerik team
answered on 14 Jul 2022, 10:23 AM

Hi Akshay,

Based on the provided screenshots and details, I assume that the find expression of the target elements is using dynamic values or the grid is dynamically changing every time the application is started. You can explore the DOM tree and modify the find expressions to reliably match the correct element to the action. That way the test execution will be more reliable an repeatable.

In many cases there are no unique IDs or other attributes associated with each cell of the grid. That makes it more difficult to automate this part of the application. We have a special article on that topic, which shows a reliable way to automate grids in a coded step. The idea is to narrow down the row or column of the grid and then execute the necessary action in the correct cell. Please explore the example against a publicly accessible application and try to apply it to your scenario.

If you continue to experience any troubles, I can explore the web test and application under test on my end. So, please provide temporary access to the grid and a sample web test to start troubleshooting.

Thank you for starting this discussion.

Regards,
Plamen Mitrev
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Test Studio course! Check it out at https://learn.telerik.com/.
Tags
General Discussions Test Execution Test Results
Asked by
Akshay
Top achievements
Rank 1
Answers by
Plamen Mitrev
Telerik team
Share this question
or