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

Convert all steps to code breaks datasource binding

2 Answers 77 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.
Rob
Top achievements
Rank 1
Rob asked on 23 May 2012, 09:02 AM
Hi,

Please can you help me resolve my issue. When I convert all my steps to code this causes my data source to not work. I get an error when I build the project saying;

UTA049: GUI_Tests.GUI_Tests.SharedLoginUnitTest.SharedLogin has invalid DataSource attribute. Either DataSourceSettingName or ConnectionString and TableName must be specified and cannot be empty.

Any help much appreciated.

Regards,

Rob

2 Answers, 1 is accepted

Sort by
0
Rob
Top achievements
Rank 1
answered on 23 May 2012, 11:19 AM
Hi,

Managed to resolve this. When converting steps to code it does not create the <DeploymentItem> where you specifiy the location of the file being used as your data source.
 
Regards,

Rob
0
Plamen
Telerik team
answered on 24 May 2012, 08:22 AM
Hello Rob,

Thank you for the update. We're glad you resolved the issue. Please contact us again if you have further questions.

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