Vous êtes sur la page 1sur 4

Automation Testing QTP 10.0 Testing has been classified into two categories 1. Manual Testing 2.

Automation Testing Manual Testing: Verification and Validation of the software in order to ensure that the application is behaving as per the requirements and what the system is supposed to do( Positive) and what system is not supposed to (Negative) using the Test Life Cycle is called Manual Testing. In General Testing carried with Manual intervention is known as Manual Testing. Drawbacks of Manual Testing: 1. Time Consuming 2. No accuracy 3. Simultaneous actions are not possible at a time 4. Can not repeat the same task as it has been performed initially To avoid the drawbacks of Manual Testing Automation testing has come into Picture. Automation Testing: Converting the manual steps into automatic process with the help of a tool in order to test the functionality of the application, this process is called Automation Testing and the tool is called an Automation tool. Advantages of Automation Testing: 1. Saves Time and Money 2. Improves Accuracy 3. Increases Test Coverage 4. Automated testing does what manual testing cannot do (Simultaneous actions) 5. Repeated ness Drawbacks of Automation Testing: 1. Automated tools are cost expensive 2. All the Scenarios can not be automated 3. Expertise people are required Available Automated Tools in the Market Tools have been classified into three categories 1. Function Testing Tools 2. Management Testing Tools 3. Performance Management Tools Function Testing Tools: Using these kinds of tools we can check the Functionality of the application, these tools can be used as Regression tools as well. Example: QTP, WINRUNNER, RFT Management Testing Tools: Using these kinds of tools we can manage the entire testing process like maintaining the Requirement documents, Test plan, Test Scenario...etc and Managing the Defect tracking process. Example: Quality Center, Test Director

Page 2

Performance Testing Tools: Using these kinds of tools we can find the performance of the application. Example: Load Runner, J-meter Introduction to QTP 1. QTP is an Automation tool which is used for functional and Regression testing Purpose. 2. Developed by Mercury Interactive and presently over taken by HP (Hewlett-Packard). History of QTP Versions Version of QTP Astra QT QTP 5.0 QTP 5.5 QTP 6.0 QTP 6.5 QTP 8.0 QTP 8.2 QTP 9.0 QTP 9.1 QTP 9.2 QTP 9.5 QTP 10.0 QTP 11.0 Year 1998 2000 2001 2002 2003 2004 2005 2006 Feb 2007 Jan 2007 Feb 2008 Jan 2009 Feb 2010

Scripting Language: VB Script and Java Script Add-In Manager: Add-In manager is a feature provided by QTP which is used for selecting the desired environment (AddIn) .By default QTP has provided three add-ins 1. Active-X 2. Visual Basic 3. Web Note: Windows Add in is also available. It is available in Object Identification If we want to work with any other Addins like Java, .Net, Seibel, SAP, Oracle these need be purchased separately. Architecture of QTP: QTP Architecture has been classified into the following. 1. Test Pane 2. Active Screen 3. Data table 4. Debug viewer

Page 3

5. Information pane 6. Missing Resources 7. Tool Options 1. Test pane: It has been classified into two Views. This can be used for developing, viewing and modifying the test scripts. (A). Expert view (B). Key word view (A). Expert view: In this View the Script can be written in VB Script format. (B). Key word view: In this view User can create the script using keywords with the user interface provided by QTP. It has been classified into the following parts 1. Item 2. Operation 3. Value 4. Documentation 2. Active Screen: It is a feature provided by QTP which will be used to understand the script statements easily and it holds the each steps screen shot. Feature 1. It is used to understand the Script easily 2. It is easy to enhance the script using Active Screen 3. Data table: It is third party software which is integrated with QTP and it also called as formul1 sheet. 1. It is used to hold the test data 2. It allows the user to import data from different sources like Excel, database and flat files...etc. Data table has been classified into the following 1. Design time Data table : During the script design what ever the data we insert into the data table this data table is called as Design time Data table 2. Runtime Data table: After running the test, the copy of the design time data table will be saved in the test results window. 4. Debug View Pane: Debugging: It is a process of identifying the script errors using break points in a user defined (Automation Developer) Point of view. It has been classified into the following 1. Watch Expressions 2. Variables 3. Command Watch Expressions: Add watch is used to view variables. Variables: The defined variables in the test will be viewed Command: We can execute the user defined statements (Commands) 4. Information Pane: This is used to display the syntax errors. 5. Missing Resources: This pane indicates the missing resources if there is any files which have been already associated to the current test like Object Repository and Library Files

Page 4

6. Tools and Options: All the options available in the menu bar, file tool bar and testing tool bar are known as tool-options.