Access MTM Test Configuration Variable during test
-
2012년 3월 6일 화요일 오후 5:03
If i have the following Test Configuration and variables
Test Configuration - Setup in MTM
Then for a given test I assign multiple configurations.
How during an automated test (CodedUI or other type) do i access these variables? So in this case the configuration variables could drive which browser I am creating.
I have tried access the BrowserWindow.CurrentBrowser but that seems to be tied to the Environmental variable (CodedUITestCurrentBrowser) and doesn't change based on the configuration selected during a testrun.
Any suggestions?
- 편집됨 drcalico 2012년 3월 8일 목요일 오후 4:16
모든 응답
-
2012년 3월 9일 금요일 오전 3:56중재자
Hi,
The configuration variables are mostly for reporting and tracking test effort, in other words they are not supposed to be used in our custom code.
"
The test configuration is used for creating as many test results for the test cases.
Eg. If you are creating a test plan and you decide that the test plan has to be executed across 3 different configurations. Configurations can be anything depending upon your product - It may be Operating system or Browser or .NET version or different version of your product itself.
Now to track the test plan across the configurations, you can assign the test configurations to the test cases and you can execute the appropriate test point (test case associated with test configuration) and mark the result. Later, you can track the progress based on the configuration.
"
I'm referring to: http://social.msdn.microsoft.com/Forums/ar/vsautotest/thread/fad87162-a709-4f19-9490-dcb9424db6f1
Hope your question is clear soon.
Best Regards,
Forrest Guo | MSDN Community Support | Feedback to us
- 답변으로 표시됨 Forrest GuoMicrosoft Employee, Moderator 2012년 3월 16일 금요일 오전 2:40

