Find Repository Item using its Name

Class library usage, coding and language questions.
prem30
Posts: 1
Joined: Thu Oct 16, 2014 8:33 pm

Find Repository Item using its Name

Post by prem30 » Thu Oct 16, 2014 8:42 pm

We are exploring options to build generic scripts across projects. We feed test data through Excel for each script.
We would assign Repository Item names as Column headers of each column.
We would Iterate through each column and get name of Repository Items.
Please advise, how to find each Repository Item using its name and assign data for the Item?

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Find Repository Item using its Name

Post by Support Team » Mon Oct 20, 2014 3:16 pm

Hello prem30,

It seems like you want to write your own data binding/providing mechanism.
This is not recommended because you have to write a lot of code and you would need a lot of internal, not documented API which can be changed in each release.

I would like to mention our User Guide section about Data-driven testing. The lesson shows you how tests can be done using internal (simple data tables) or external data sets (Excel files, CSV files, SQL Databases) to do a data-driven automated test.

Regards,
Robert
.
Image