Hi Friends,
- Plan your automation and make sure that you get all the follwing things ready before you go for automation:
- Get the test cases ready
- Get the test data required for automation ready
- Mark the priority of the test cases which will help you to complete the priority things get automated first
- Select the test cases from the stable part of the application first which ensure the minimum mainatenace to the automation script
- Once the basic things are ready for automation, get ready with the Object Repository
- Define the standard keywords for your application such as clicking a link, setting the text to a text box etc....
- Have the registered functions to the standard keywords defined by using the "RegisterUserFunc". Here it enables you to do the basic validations with respect to the objects in the application such as checking the previous value of the text bo or checking whether the button is disabled ...etc....
- List the reusable function in the Application Under test(AUT)
- Call the respective standard keywords to do the basic actions
- Code the new functions when the standard keyword does not suffice the purpose
- Here, while coding the functions, make sure that the functions are written in such a way that it can be used as a generic function(If Possible)
Ranjith
No comments:
Post a Comment