Approved
Last Updated: 21 Nov 2019 13:18 by ADMIN
Jared
Created on: 28 Oct 2019 06:31
Type: Bug Report
0
Data Binding ignores Local Data in some cases

1. Create local data for a test.

2. Data bind the same test to external data source.

3. Remove the data binding to the external source.

At this point I can't use the local data for data driven test steps or find expressions.

 

The workaround is to right click on the test and go to Properties. Then enable both DataEnabled and DefaultToGrid.

3 comments
ADMIN
Plamen Mitrev
Posted on: 28 Oct 2019 14:23

Hello Jared,

I followed those steps below to enable data driven find logic with the local data for "GridTextFinder" element.

  1. Open the project you provided and open test "Look through Grid".
  2. Go to All Test Properties for that test and enable DataEnabled and DefaultToGrid option.
  3. Save all changes to the project. At this point you will notice that a small icon appearing for the test at hand, which indicates that the test is data driven (see dataDrivenTest.png).
  4. Refresh the Elements pane and edit "GridTextFinder" element. You should see the option to data drive its filters.

In case you had opened the element before making the necessary changes, please close it and open it again to refresh its state. I hope this helps you automate the test scenario. If not, please share more details here or in the related private support ticket and we can continue our discussion.

Please do not hesitate to contact us again, if you need any help.

Regards,
Plamen Mitrev
Progress Telerik

 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Attached Files:
Jared
Posted on: 28 Oct 2019 13:55
I realized that other elements can use the find logic, but 'gridtextfinder' element can not. Do you have any thoughts on this?
Jared
Posted on: 28 Oct 2019 13:52

I checked and both 'DataEnabled' and DefaulTtoGrid are selected, but I still cannot access the data-driven find logic, either by local data or by an excel sheet. I unchecked the options and saved, and then rechecked the options and saved, to make sure of this.

 I want the element 'GridTextFinder' to use find logic to search for a specific text field. Is there something else I need to do to get the tests to use either the local data or the data from the imported data source?