Based on my experience,here is the life cycle of Functional Test Automation as per my understanding.
- Check if the automation tool to be used supports the application to be tested.
- Identify the scenarios to be tested.
- The test scenarios identified should be defined in the form of actions (QTP)/scripts (RFT).
- Object Identification/Recognition
- Any tool understands and identified objects on an application via a feature commonly called as object repository.
- For e.g., QTP has OR (object repository) which identifies objects by class name, text, parent name etc. properties.
- RFT has Object Map to identify the objects
- Object Map
- Decide which Object Map has to be used; public object map or private Object Map has to be used.
- In RFT perspective,
Public Object Map
|
Private Object Map
|
Its objects are accessible to all the scripts within a project.
|
Its objects are accessible only to a particular script.
|
- If Public map is to be used, a map file must be created.
- Create Script
- A script consists of Steps, Data and verification.
- Points to be taken care while recording a script
i. Do not open any other application while recording.
ii. Perform only relevant actions.
iii. When finished, come back to the initial step. For eg, if the script opens a browser, it must close it at the end of script.
- Play back
- Playback the recorded script to see if it works fine and only required actions are recorded.
- Synchronization
- It refers to waiting till a defined condition is satisfied.
- In QTP -> waitforproperty().
- In RFT -> waitforesistance().
- Verification
- Refers to mentioning the expected data or a property value.
- Continuation or failing of a script on a failed verification point depends upon the scenario.
- Load Functional Libraries
- Normally, there are two types of function libraries
i. General – It includes the functions which may be used across projects – like Functions on excel files.
ii. Application Specific – It includes the functions which cannot be used across projects and are specific to the applications
- Create data – data driven
- If verifications points run successfully, a data pool must be created.
- Output Value Identification
- It is necessary for reporting or scenarios where output of one step or script may be required as an input to other step/script.
- Exception Handling/Recovery Scenarios
- Run
- Batch Run
- Defect Tracking
Hi,
This generation is totally new about the latest technology and they are always in thirsts to know more. So thanks for your fabulous sharing. It enhances our knowledge and gives some overall ideas. I would like to read some more of your posting in future…
Keep it up!
Dear All,
We from the Testing CoE are glad to share the fact that the Automation Team is presenting an innovative idea ‘Talk to your Automation Tool’ in the ‘13th Annual International Software Testing Conference (STC 2013) to be held on 4-5 December 2013 in Bangalore,’. This is organized by QAI in association with ETI on the topic ‘INNOVATION IN TESTING’
We have presented a 3 minute video explaining our concept. Please feel free to visit the following URL and if you really like this idea you can vote for it.
http://www.techgig.com/testingcontestdetail/1322