Calling Another Script

3 posts, 0 answers
  1. Sunil
    Sunil avatar
    1 posts
    Member since:
    Dec 2011

    Posted 14 Feb 2012 Link to this post

    Hi,

    I tried calling another script within a script, but unable to perform these action and getting an error message that Directive or Assembly reference missing. So please can u provide me a simple example.


    Regards,

    Sunil Sharma
  2. N1t1nA
    N1t1nA avatar
    37 posts
    Member since:
    Mar 2011

    Posted 14 Feb 2012 Link to this post

    Hi Sunil

    You can use Test as Step approach, Here is the Documentation which helps
    http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/add-custom-step/test-as-step.aspx

    or you can use 'this' keyword to call the method

    http://msdn.microsoft.com/en-us/library/dk1507sz%28v=vs.100%29.aspx

    Thanks
    Nitin

  3. Stoich
    Admin
    Stoich avatar
    1 posts

    Posted 14 Feb 2012 Link to this post

    Hi Sunil,
    I can Nintin has already pointed out our articles that describes the TestAsStep feature and how to use it. Is this the feature you're trying to use?

    Are you using code to call another script? Please paste the code that you're using (which is probably also the code that is throwing this error).

    Greetings,
    Stoich
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
Back to Top