Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [TestMethod]
- public void TestVoid()
- {
- }
- [TestInitialize]
- public void MyTestInitialize()
- {
- Process[] processes = Process.GetProcessesByName("Notepad");
- if (processes.Length > 0)
- {
- _app = ApplicationUnderTest.FromProcess(processes[0]);
- }
- else
- {
- _app = ApplicationUnderTest.Launch(@"C:WindowsSystem32notepad.exe");
- _app.CloseOnPlaybackCleanup = false;
- }
- }
- [TestCleanup]
- public void MyTestCleanup()
- {
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement