|Re: copy test cases or test steps? [message #909486 is a reply to message #908989]
||Fri, 07 September 2012 04:19
| Erik Gilbert
Registered: September 2010
Alexandra Schladebeck wrote on Thu, 06 September 2012 07:03|
Each Test Suite is bound to an AUT (configured in the project properties). Each AUT has a separate object map. It sounds like what you actually need is one AUT with multiple configurations (which share an object map, because they are the same AUT). More on AUT definition and configuration is in the documentation under the following:
I couldn't find anything under the links relating to object maps and AUTs.
But even if there was, I'm not sure how that would help me.
I have one AUT. The AUT has like 40 different tabbed panes I have to test.
Each tabbed pane is very similar which is why I would like to define 1 set of tests that I can run with slight variations on all of them.
The tests will run regularly in a regression test harness so all the tests will run at the same time and will run automatically.
I wrote a set of test cases for the first pane. I extracted the test steps to duplicate and referenced the parameters so I could use these same test steps for each pane.
I copied the extracted test steps into new test cases and changed the parameter references for the 2nd tabbed pane. I did the same for the 3rd tabbed pane. I then copied these test cases into a Test Suite. I mapped the objects for the 2nd tabbed pane and tried to run the test suite. The tests for the 2nd tabbed pane ran successfully. But tests for the 3rd tabbed pane failed. The object map was mapped for the 2nd tabbed pane, but not the 3rd tabbed pane. The tests were looking for components of the 2nd tabbed pane on the 3rd tabbed pane and couldn't find them. I mapped the components in the 3rd tabbed pane tests for the 3rd tabbed pane, but now the 2nd tabbed pane tests failed because they couldn't find the 3rd tabbed pane components on the 2nd tabbed pane. The extracted test steps had only 1 object map.
Currently, there seems to be only one object map per test case. It's like I need the option to assign a different object map for each set of test cases, especially extracted test cases when they are used again.
Is there anything like this?
[Updated on: Fri, 07 September 2012 09:29]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02822 seconds