Microsoft Test Manager tool
I really need help on Microsoft Test Manager tool. I have worked on selenium with java tool and MTM is very difficult for me understand and learn. To replay the recorded test in MTM, it always fail does not open the application url. Is there any way we can export the recorded MTM test to C++ as we used to do in Selenium IDE.
Also, is there any online help or tutorial for creating MTM test script and run it from C++, same as we used to do in selenium with Java.
I also want to ask question that MTM required human efforts to run script, I found that while recording script we need to write the test case manually and than while recording we need to status the steps with pass/fail. Does same process is followed while playing recorded steps? As of now, when i play the steps it always fail and does not execute
I would appreciate your response and thanks in advance.
irl last edited by user
Microsoft Test Manager is primarily a tool for managing manual tests. The MTM test recordings can be exported to CodedUI then modified in Visual Studio, but they are not automated tests and should not be treated as such.
If you have Microsoft Team Foundation Server configured to manage test environment virtual systems, you can configure MTM to run automated tests (I've never done this myself). In Visual Studio Premium and Ultimate (If you have MTM, you should have the Premium license) you can associate an MTM test case with CodedUI tests or MS unit tests. Once you've done this and set up the TFS lab environment, you can run your automated tests via MTM.
If you have to use MTM to manage your automated tests, I'd suggest one of two options:
- exporting MTM tests to CodedUI tests in C# (the language is kind of a hybrid between Java and C++, so should not be difficult for you to work with). With this option you could still run the tests via MTM if you have the correct environment configuration.
- build your tests using Selenium in the language you prefer, and work with the TFS API to post your test results to the corresponding tests in MTM (this option is rather more complicated - the TFS API is not for the faint-hearted). With this option, your automation will live in its own ecosystem, but the test results will automagically be available in MTM.
Either way, it's not as easy as it should be, something I hope Microsoft is going to address in future versions.