How can I run test from silktest net by using a windows form I plan to create windows form application which allows user to select a script to run. Example: My app has a form windows with 2 buttons(Select & Start), when I click on button select I load the script to run and after that I click on button Start to run the selected script. My question is how can I call [TestMethod] when clicking button Start.
Asked
Active
Viewed 198 times
1 Answers
0
I assume you have written your Silk Test test cases in .NET, so you should be able to load the resulting assembly and look for your test cases using reflection, for example as you mentioned using the [TestMethod]
annotation.
Once you have found all the test cases, you can present them to the use, have him select one (or more) and when he presses Start
you simply call the selected test case methods.

tehlexx
- 2,821
- 16
- 29