I'm very new to Telerik and am looking for a similar function to this chain, but maybe taking it a step farther.
I have a radgrid with 3 columns: Name, Description, Delete. This test/screen is one where I Add a new item (with a unique ID) into an alpha sorted field, then click on the name to edit it, then click on the delete icon in the 3rd column to delete it. The entry order is generated in a postback, so I can't guarantee which row my entry will appear on. Thus, recording the delete click will not guarantee me the correct delete icon each time I run it.
The name column is clickable, and I have used the title='Name I entered' to be able to click directly on that item regardless of which row it is on. However, the delete column is just a trash can icon (repeated for each of the dynamically created entries in the radgrid) with an id based on it's current row. If I add another entry above this one, my test step is no longer valid.
I am trying to figure out how to do the following in order to click on the correct delete icon every time.
1. Determine which row contains the item "Name I entered".
2. Click on the Delete icon in column 3 of that row. (The Delete Icon has an id that is generated dynamically in relation to the Name.)
I tried modifying the code snippet you provided here, but I'm not exactly sure how to modify it or where to put it. Do I put it into the EDIT ELEMENT of the actual Delete Icon click step? Please help. This is an important step in every one of my test scripts.