Declare tests that depend on other tests
Hi there,
We use TestComplete for mobile testing. For our app, we've set up several tests. The thing is, that these tests depend on each other.
E. g., we have test A that launches the app and checks if it launched. Then we have another test B that tests the apps functionality.
How can I ensure that when calling test B, test A is executed first? I know that I could call test A maually but we have way more than two tests and then we would need to set up something like an xml-Dependency tree and that would be quite a hard work.
That's why I wanted to ask if there is a simple and intuitive way to declare those dependencies in TestComplete.
Thanks,
vat
What we have done in a similar case is create a wrapper test that does nothing but call the other tests in the order we want them. It makes the log file a little longer but it's a good way to control the test flow.
The other thing you could do is put a call to test A inside test B. Our "pick the option from the menu" test is called inside every test that needs it.