Complete Guide Of Automation Testing: Chapter 1
What is Automation?Automation: is a technology that makes it possible to access software object into one application from another application. For that, we are using the scripting language VBScript, VC++. It is also used to check the functionality of an application.
What is Test Automation?Test Automation or Automated testing: is the use of software to control the execution of tests/scenarios, the comparison of actual outcomes to predicted outcomes, the setting up of test preconditions, and other test control and test reporting functions.
It utilizes a tool to automate the software testing processes and when the importance of having a person manually testing is diminished. Automated testing requires a skilled quality assurance professional with knowledge of the automation tool and the software being tested to set up the tests/scenarios.
Automated testing is generally used for regression of the system/application.
Although automation testing holds much promise with regard to reduced time, cost and effort, not all testing should be automated. The following will attempt to explain how to use automation guidelines and processes in order to decide whether automation should form part of the test strategy. The Automation testing refers to the process of improving testing productivity of information systems to the highest level possible without unnecessary additional investment in information technology infrastructure. Focus on automation testing through utilization of tools, methodologies and process
What are the benefits of Automation Testing?Advantages of Automation Testing are "F3RPC".
• F: Fast
• R: Reliable
• R: Reusable
• R: Repeatable
• P: Programmable
• C: Comprehensive
What are the Principles of Automation Testing?Principles 0f Testing Automation are,
• Reusable: using more than one
• Consistent: orderly, logically
• Repeatable: more than one time
• Versatile: various
• Efficient: effective
• Compliant: willing to comply
• IPR Retention and Capturing
• Broad and Integrated
Once testing requirements have been defined in detail, a Plan for testing must be decided. Automation of testing should be considered as part of this Plan. After taking the following steps you may verify whether to automate all, some or none of the tests to be executed in a testing project.
What can automation achieve?The Automation testing holds much promise with regard to reduced time, cost and effort. Therefore, following are the main achievement,
• Re-usability and repeatability: When a test must be run repeatedly and the functionality being tested is not changed, test automation can insure the test is executed in the exact same manner and with the same precision time after time. This makes regression testing a strong candidate for test automation.
• Precision: Testing of precision beyond what is humanly perceptible.
• Easy to operate: Simulating scenarios that are difficult to emulate manually. For example a load or stability test requiring 300 users to simultaneously make the same request of the application under test (AUT).
• Test monitoring: The execution of tests where monitoring how many times a scenario has been executed is vital. Certain tests may involve verifying the implementation of business rule requiring the SUT to react in a particular way after a certain number of interactions (e.g. System locks user account after 3 failed attempts to log in).
• Time bound: Performing of scheduled tests.
• Testing of Systems or components where there is no human interface.
What are the basic steps of automation testing?When test scenarios or business processes have been identified by automation tester for automation testing, the test scripts needs to be designed. Automation testing should be considered as part of the testing process. It is the part of regression testing. After taking the following steps you may verify whether create automation scripts, use and modify existing scripts or use already existing automation scripts for your testing project.
These are the basic steps,
1. Test automation planning
2. Automation tool identification
3. Design test cases / scenarios
4. Compile a test script design specification
5. Test cases execution
6. Result analysis
7. Test closure