Compile Error in Custom Coded Step

2 posts, 0 answers
  1. Craig
    Craig avatar
    12 posts
    Member since:
    Jun 2011

    Posted 28 Jul 2011 Link to this post

    Good Afternoon,

    I am attempting to run a newly created Custom Coded Step from the Test Studio Trial Edition.
    I receive the following error when attempting to access the bound datasource information...

    C:\Users\n0145732\Documents\Test Studio Projects\CFI_NextGen\Common\Test Harness\TestHarness.tstest.vb: Line 74: (BC30009) Reference required to assembly 'System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' containing the implemented interface 'System.Xml.Serialization.IXmlSerializable'. Add one to your project.

    What I have found is that my coded step had a bound data source ( Excel File ) that I am attempting to access using the following line of code:

    Dim variable As String = ExecutionContext.DataSource.Rows(0).Item("test")

    Can someone provide some feedback into what the issue might be or what I may be doing wrong?

    Thank you,
    Craig
  2. Anthony
    Admin
    Anthony avatar
    19 posts

    Posted 28 Jul 2011 Link to this post

    Hello Craig,

    Please read our article on How to Add an Assembly Reference in the Standalone version and contact us again if you have further questions.

    Best wishes,
    Anthony
    the Telerik team
    Check out the Test Studio roadmap to find out more about the new performance testing functionality coming in our R2 2011 release this September!

    Have you looked at the new Online User Guide for Telerik Test Studio?
Back to Top