I'm trying to automate the testing for a Silverlight application but I'm a bit stuck.
There's a DataGrid that needs a new entry.
First, I press a button which adds a new row to the DataGrid.
Then I try to locate the first new cell in this row and enter a value but it doesn't always find this new cell.
I'm using Test Studio by Telerik (stand-alone version with recorder). To fill in this new cell, it has to be located, but it doesn't have a specific
elementname because it doesn't exist when the application is started. If you automate a
buttonClick on a button that's visible from the start, the software can locate it easily. I also noticed that if the DataGrid is filled with X items, I record the automation script and it will only work when there's X items in the grid.
Any idea on how to fix this or to approach this from a different angle?
Kind regards, Kristof.