Forum Discussion

marina_kachko's avatar
marina_kachko
Occasional Contributor
10 years ago
Solved

Writing Test Code in C# Self-Testing Applications

Hi,

You gave an example of how to run a test via Visual Studio.

I did it and it's running.

My problem is how to run two tests and more, one after the other in Visual Studio?

I attach file with my program. 

Please advice,

Marina





  • Hi Marina,

     


    Judging by your script, you are executing the entire project. It means that all test items defined inside this project will be executed. Could you please clarify what tests you want to run? What is the desired behavior?


     

4 Replies

  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)
    Hi Marina,

     


    Judging by your script, you are executing the entire project. It means that all test items defined inside this project will be executed. Could you please clarify what tests you want to run? What is the desired behavior?


     

  • marina_kachko's avatar
    marina_kachko
    Occasional Contributor
    Hi,

    Yes I would like to run the entire project.

    The tests I want to run is on my tested application.

    One test check one window, while the other is checking anther window.

    It's two different tests in test complete.



  • marina_kachko's avatar
    marina_kachko
    Occasional Contributor
    Hi, 

    It's not answering my question.

    The error attached ,when I run the project I sent you before