Call test by code

4 posts, 0 answers
  1. Hend
    Hend avatar
    9 posts
    Member since:
    Mar 2015

    Posted 16 Jun 2015 Link to this post

    Dears,

     

    i have a wpf application and i need to call the test to run from inside the application by code. how can i do this?

    and which references i need to Add in my wpf project?

     

    Thanks

  2. Ivaylo
    Admin
    Ivaylo avatar
    750 posts

    Posted 19 Jun 2015 Link to this post

    Hello,

    We will need more information in order to figure it out whether this is possible. Could you please elaborate a bit what exactly you mean?

    Regards,
    Ivaylo
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
  3. Hend
    Hend avatar
    9 posts
    Member since:
    Mar 2015

    Posted 25 Jun 2015 in reply to Ivaylo Link to this post

    Hey Ivaylo,

    i am creating a new wpf application and i need to add ArtofTest .dlls in it in order to be able to call its functions ex. : executing web test by clicking on certain button in wpf application but when i add the usings (  using ArtOfTest.WebAii; )errors appears.

    does it mean that the dlls for ArtOfTest is not working except on Test Projects only??

    screenshot attached.

  4. Boyan Boev
    Admin
    Boyan Boev avatar
    1039 posts

    Posted 30 Jun 2015 Link to this post

    Hello Hend,

    You can add our dll in our application.

    The error indicates that VS cannot find the dll.

    Have you added an assembly reference to that dll in the project before you type the using statement?

    Hope to hear from you soon.

    Regards,
    Boyan Boev
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
Back to Top
  Cast Your Vote at DevPro Connections! Cast Your Vote at  Win IT Pro Connections!