This is a migrated thread and some comments may be shown as answers.

RadGridView check for item

1 Answer 35 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Michal
Top achievements
Rank 1
Michal asked on 27 Nov 2012, 04:57 PM
Hello,

Here's our test scenario:

We're adding an "item" to the grid by completing the form.
Next we want to click recently added item (to edit it) on the grid and here we have a problem:

How to get this item when we have virtualized grid with many rows?

We tried to filter on choosen column which we know the value will be unique for that item.
PROBLEM: The textbox in RadGridView where we can enter text to filter on each time has other Name/AutomationId, so the engine cannot locate this element (screen1) (screen2). Tried other find logic without success.

How to achieve this?

I've searched other forum posts and I found this : grid verification where it is stated that translators can do something similar but's isn't true for virtualized grid. In the same topic I read: We plan to release non-coded data-driven find logic in our second 2012 release this fall. Is it released?

Ok let's say it can't be done without coding. How to make coded steps for my testers where they can easily provide 2 inputs (lets say column name and search value), which can do the "click new added item" step for them?

Any help appreciated =]

1 Answer, 1 is accepted

Sort by
0
Boyan Boev
Telerik team
answered on 28 Nov 2012, 11:13 AM
Hi Michal,

Thank for trying Test Studio.

You can use data driven find expression or non-coded data driven find expression as you mentioned. With that find logic you can use data source to drive the input values of those steps and/or the values to expect when performing verification steps. Non-coded data driven find expression is already released in our latest internal build (2012.2.1022). Please download it by logging in to your Telerik.com account and go to the Latest Internal Builds section

Let me know whether this helps.

Kind regards,
Boyan Boev
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Tags
General Discussions
Asked by
Michal
Top achievements
Rank 1
Answers by
Boyan Boev
Telerik team
Share this question
or