Best Practices
Here are some best practices to follow when you are working on the Test cases screen.
- Deactivate the projects that are not in use anymore. This will reduce the performance issues that are faced when logging on to Qualitia Automation Studio.
- Define nomenclature (naming convention) before starting any development. For example:
- How a user should name the objects to identify similar objects with different properties on different pages.
- Give comprehensive names or IDs to the test cases making it easily understandable for other users.
- Create tasks if same set of steps is being used multiple times without any change. This will be very helpful as the same task can be used in multiple situations and the user should be able to judge the task flow by the name of the task.
- Keep the Object Spy window open when developing test cases. Sometimes, you may have to update the object properties. Instead of switching tabs and adding objects manually, the user can use the existing open instance of object spy and add objects instantly.
- Try dividing the complete test case in tasks. This increases re-usability/modularity and reduces development time of subsequent test cases.
- In a multiple user scenario, always use a centralized repository (such as SVN), however, avoid manual check-in/check-out of any XML files.
- Always implement error handling flags on important and critical tasks under test case and apply the same concept for test suites as well.
- Qualitia supports multiple ways for execution of test cases. Try and implement any of the methods instead of doing online executions.
- Define ‘ResultPath’ as shared path so that all users connecting to Qualitia can access all execution reports.