If I was to test my web app to make sure an item gets deleted from my database.
What is the best way to verify it is no longer in my RadGrid?
Note: this item is added via automation and some numbers in the grid are unique and static throughout each test.
1 Answer, 1 is accepted
answered on 21 Jun 2012, 10:00 PM
Thanks for trying Test Studio. Our RadControl translators allow you to build verifications against any level of the RadGrid control. You could create a wait for not exists step based on the content of a data grid cell or the entire data grid item. If the index for the item remains constant, this should consistently verify its absence. If the index does not remain constant, but you wish to verify whether it appears on the first page of the grid view (if your control is paginated), you could build a verification against the entire RadGrid control, checking if the innertext contains a particular string. If your control is scrolling, this will verify against the contents of the entire control.