Skip to main content

Almond Automation Best Practices

Introduction

This page describe best practices in Almond Automation.
This is helpful in creating modular and easy to maintain testcase.
Create a separate testcase for each screen and each popup.
E.g. We have one application which requires user to login and then user can see 3 tabs campaign, advertiser and account. When user clicks on advertiser he can then create advertiser.
Advertiser screen can have multiple testcases like successfully creation, client side validation etc.
Create below testcases
create advertiser successfully
   -> include open create advertiser popup .  -> include go to advertiser tab -> login
   ->  .....commands to create

advertiser client side validation
   -> include open create advertiser popup .  -> include go to advertiser tab -> login
   ->  .....commands to validate
 
If there will be some change in login screen or in navigating to advertiser tab, you only need to change it in one testcase and there will no affect on other testcases

Comments