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

Data binding In Coded Steps

1 Answer 172 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
VVP
Top achievements
Rank 2
VVP asked on 28 Jul 2015, 03:02 PM

Hi,

 I am creating automated tests for a test case as per the test steps. I am planning to create separate coded steps for each test case steps. Lets say 3 steps are present. I need to iterate through all for each row in excel.

First coded step may read location from excel for first row and set in UI.

Second Coded step may read currency from excel for first row and set in UI.

Third coded step may read population from excel for first row and set in UI.

1 ) So i need to do this repetitively for all data rows in excel. Is there any way to do it?

2) I created a coded step and followed this in the link. I was able to select excel and bind. But i was unable to select column and assign to local variable. drop down was empty in Binding option

http://docs.telerik.com/teststudio/features/data-driven-testing/add-data-source 

Thanks,

VVP

 

 

1 Answer, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 28 Jul 2015, 07:35 PM
Hi,

First to get at the data contained in the data source from a coded step, follow these directions.

Regarding the empty drop down, please try following these directions to fix the problem.

Regards,
Cody
Telerik
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
Tags
General Discussions
Asked by
VVP
Top achievements
Rank 2
Answers by
Cody
Telerik team
Share this question
or