Presentation is loading. Please wait.

Presentation is loading. Please wait.

Geethu Gopinath 1000744763. QTP An automated testing software designed for testing various software applications and environments-provides functional.

Similar presentations


Presentation on theme: "Geethu Gopinath 1000744763. QTP An automated testing software designed for testing various software applications and environments-provides functional."— Presentation transcript:

1 Geethu Gopinath 1000744763

2 QTP An automated testing software designed for testing various software applications and environments-provides functional and regression testing automation for software applications. Part of the Mercury Interactive now acquired by HP Quality Center tool suite. Supports keyword and scripting interfaces and features of graphical user interface. Uses the Visual Basic Scripting Edition (VBScript) scripting language to specify a test procedure, and to manipulate the objects and controls of the application under test.

3 Provides two views and ways to modify a test script- both contains same data arranged in different formats. Keyword View- actions are generated in tabular format similar to manual test cases. Expert View- actions are generated in VBScripting. Active screen- provides screen shots. Generating Tests Recording Keyword driven methodology Descriptive Programming

4 Keyword view

5 Expert view

6 Sample VBScript Systemutil.Run C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight4a.exe Dialog(Login).Activate Dialog(Login).WinEdit(Agent Name:).Set abcd Dialog(Login).WinEdit(Password:).SetSecure 4c639147ce17debfa9a680adf3fb0a1f7b766d39 Dialog(Login).WinButton(OK).Click Window(Flight Reservation).Close

7 Sample Flight Reservation Application

8 Object Repository Stores the properties and values of the objects. While playback of scripts,qtp refers to the object repository for identifying the objects. Two types-1.Local repository-created for every action automatically during recording which cannot be shared among tests. 2.Shared repository- creates shared repository by adding objects which can be shared among number of tests if the tests have same properties, can be used to save time.

9 Recording & Running Recording 1. It will generate the script related to the user actions. 2.It will then store the required and related information in the OR. Running 1. It will read the instruction and understand what action is performed on which object. 2.It searches the OR for the required information. 3.If the information is available,it will try to identify the object and then perform the action on it.

10 Modes Of Recording Normal mode- recording based on properties of gui. Analog mode- recording based on mouse movements, clicks, keyboard strokes. Low level- combination of above two, mainly for recording custom objects, it records some operations on non-supported environments apart from normal operations.

11 Object Spy A component in qtp that helps to list the test object and runtime properties of the gui. lists the methods and syntax that could be implemented on that particular object.

12

13 Checkpoints Used to verify that an application under test functions as expected,i.e, compares the current values for specified properties with the expected values of those properties. Two types- built in & user defined Exception Handling manages exception handling using recovery scenarios to continue running tests if an unexpected failure occurs

14 Drawbacks QTP runs only in Windows environments. Cannot test with all browser types and versions such as Safari, Opera. High installation cost.

15 References http://qtp.blogspot.com http://en.wikipedia.org/wiki/HP_QuickTest_Professio nal http://en.wikipedia.org/wiki/HP_QuickTest_Professio nal http://www.slideshare.net/sasiriya/qtp-slides- presentation-602173 http://www.slideshare.net/sasiriya/qtp-slides- presentation-602173

16 THANK YOU


Download ppt "Geethu Gopinath 1000744763. QTP An automated testing software designed for testing various software applications and environments-provides functional."

Similar presentations


Ads by Google