Convert all steps to code breaks datasource binding

3 posts, 0 answers
  1. Rob
    Rob avatar
    4 posts
    Member since:
    Apr 2012

    Posted 23 May 2012 Link to this post

    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. Rob
    Rob avatar
    4 posts
    Member since:
    Apr 2012

    Posted 23 May 2012 Link to this post

    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
  3. Plamen
    Admin
    Plamen avatar
    8 posts

    Posted 24 May 2012 Link to this post

    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
Back to Top