Hot answers tagged

2

Create function AdminLogin Create into each test class method SetUp (doc) Call admin_login by SetUp Looks like: protected function setUp() { AdminLogin(); } This method calls before each test into test class Good luck!


1

public function testItemClick() { $this->url($this->pageUrl); sleep(2); $element = $this->byCssSelector('blabla'); $this->moveto($element); $this->click(PHPUnit_Extensions_Selenium2TestCase_SessionCommand_Click::RIGHT); $this->assertStringStartsWith(... }


1

For the manual tests, I would suggest a cradle to grave approach witrh as large a business scenario as you can find. No idea about your business terms, but e.g.: Create a user. Log in with the user. Do something with user profile as user like change password. Create a customer/subscriber/item. Add account to cust/item. Add billing details. Add address. Add ...


1

@James From my experience, I can suggest you test plan / strategy. Go in Pragmatic but structure is essential. Use Risk application test matrix. Create Test scenario matrix. Use MoSCoW principle. If needed involve the end user / stakeholder for review application. Later you can review again the test plan and strategy and make improvement from past ...


1

Do you have access to the original requirements? If so, I would suggest you go back to these and build yourself a test plan. Because testing has come at the end of the process, my guess is they also haven't given you enough time to test everything (been there!). I would therefor focus on the high risk and areas of ambiguity. By which I mean, if you read ...


1

Split your long testcase into two -- one testcase does the stuff before the wait and returns a passing status if it was able to do start the process successfully. The second half of your original testcase runs as a separate testcase that you run at the end of your suite For example, if the test is "click the 'submit order' button and verify an email was ...


1

Solution is here test: override: - case $CIRCLE_NODE_INDEX in 0) [Your action in first container] ;; 1) [Your action in second container] ;; esac: parallel: true



Only top voted, non community-wiki answers of a minimum length are eligible