QTP (QuickTest Professional )
1.0 Introduction to QuickTest
Over view of Quick Test Pro 8.0
Over view of Quick Test Pro 8.0
QuickTest Pro is Mercury Imperative’s functional enterprise testing
QuickTest Professional is a fresh approach to automated software and application testing ।It is designed to provide a robust application verification solution without the need for advanced technical or programming
QuickTest Pro is similar to Astra QuickTest. The key difference lies in the number of environments that QuickTest Professional supports (e.g. ERP/CRM, Java applets and applications, multiple multimedia environments, etc.).
QuickTest Professional enables you to test standard Windows applications, Web objects, ActiveX controls, Visual Basic applications, and multimedia objects on Web pages.
We Can Use QuickTest add-ins for a number of special environments (such as Java, Oracle, SAP solutions, ।NET Windows and Web Forms, Siebel, PeopleSoft, Web services, and terminal emulator applications).
Enterprise Applications
• SAP
• Oracle
• PeopleSoft
• Siebel
Web Technologies
HTML
• DHTML
• JavaScript
Browsers
IE
• Netscape
• AOL
HTML
• DHTML
• JavaScript
Browsers
IE
• Netscape
• AOL
Emerging Technologies
• .Net Winforms,
Webforms, Web services
• J2EE Web services
• XML, WSDL, UDDI
• .Net Winforms,
Webforms, Web services
• J2EE Web services
• XML, WSDL, UDDI
Terminal Emulators
• 3270
• 5250
• VT100
• 3270
• 5250
• VT100
Server Technologies
• Oracle
• Microsoft
• IBM
• BEA
• ODBC
• COM/COM+
• Oracle
• Microsoft
• IBM
• BEA
• ODBC
• COM/COM+
Multimedia
• RealAudio/RealVideo
• Windows Media Player
• Flash
Languages
• European
• Japanese
• Chinese (traditional and
simplified)
• Korean
• RealAudio/RealVideo
• Windows Media Player
• Flash
Languages
• European
• Japanese
• Chinese (traditional and
simplified)
• Korean
Web Environments
IE NS AOL
ActiveX
XML DHTML HTML
Client/Server
Windows
Win32/MFC
Visual Basic
Operating Systems
Windows 98, 2000, NT, ME, XP
IE NS AOL
ActiveX
XML DHTML HTML
Client/Server
Windows
Win32/MFC
Visual Basic
Operating Systems
Windows 98, 2000, NT, ME, XP
QuickTest Pro Add-ins
.Net Add-in Winforms, Webforms, Net Controls
Java Add-in
JDK 1.1-1.4.2
Terminal Emulator Add-in 3270,5250,vt100
MySAP Add-in
SAP GUI, Web, Portals 6.2
Oracle Add-in
11i
PeopleSoft Add-in
8.0-8.8
Siebel Add-in 7.0 & 7.5
Webservices Add-in WSDL,.Net,J2EE
Java Add-in
JDK 1.1-1.4.2
Terminal Emulator Add-in 3270,5250,vt100
MySAP Add-in
SAP GUI, Web, Portals 6.2
Oracle Add-in
11i
PeopleSoft Add-in
8.0-8.8
Siebel Add-in 7.0 & 7.5
Webservices Add-in WSDL,.Net,J2EE
1.Start QuickTest and open a new test
· If QuickTest is not currently open, choose Start > Programs > QuickTest Professional > QuickTest Professional.
In the Add-in Manager, confirm that the Web Add-in is selected, and clear all other add-ins. Click OK to close the Add-in Manager and open QuickTest.
Note: While QuickTest loads your selected add-ins, the QuickTest splash screen is displayed. This may take a few seconds. If the Welcome window opens, click Blank Test.
Otherwise, choose File > New, or click the New button .
A blank test opens.
· If QuickTest is already open, check which add-ins are loaded by selecting Help > About QuickTest Professional. If the Web Add-in is not loaded, you must exit and restart QuickTest. When the Add-in Manager opens, select the Web Add-in, and clear all other add-ins.
Choose File > New, or click the New button .
A blank test opens.
Note: If the Add-in Manager does not open when starting QuickTest, choose Tools > Options. In the General tab, select Display Add-in Manager on startup. When you exit and restart QuickTest, the Add-in Manager opens.
2.Start recording
· Choose Test > Record or click the Record button The Record and Run Settings dialog box opens. In the Web tab, select Open the following browser when a record or run session begins.
· Choose a browser from the Type list and confirm that the URL in the Address box is for example . http://newtours.mercuryinteractive.com.
· Confirm that Close the browser when the test is closed is selected।
· In the Windows Applications tab, confirm that Record and run on these applications is selected, and that there are no applications listed।This setting prevents you from inadvertently recording operations performed on various Windows applications (such as e-mail) during a recording session.
· Click OK.
QuickTest begins recording, and your browser opens to the Mercury Tours Web
3.Login to the Mercury Tours Web site.
QuickTest begins recording, and your browser opens to the Mercury Tours Web
3.Login to the Mercury Tours Web site.
In the User Name and Password boxes, type the name and password you registered with Mercury Tours
Click Sign-In.
The Flight Finder page opens.
4.Enter flight details.
Change the following selections:
Departing From: New York
On: Dec 29
Arriving In: San Francisco
Returning: Dec 31
Service Class: Business class
Click CONTINUE to accept the other default selections. The Select Flight page opens.
Note: When entering dates while recording this test, do not click the View Calendar button, which opens a Java-based calendar. Your test will not record the date selected using this calendar because you did not load the Java Add-in for this tutorial.
To check which add-ins have been loaded, click Help > About QuickTest Professional. To change the available add-ins for your tests, you must close and reopen QuickTest Professional.
5.Select a flight.
Click Sign-In.
The Flight Finder page opens.
4.Enter flight details.
Change the following selections:
Departing From: New York
On: Dec 29
Arriving In: San Francisco
Returning: Dec 31
Service Class: Business class
Click CONTINUE to accept the other default selections. The Select Flight page opens.
Note: When entering dates while recording this test, do not click the View Calendar button, which opens a Java-based calendar. Your test will not record the date selected using this calendar because you did not load the Java Add-in for this tutorial.
To check which add-ins have been loaded, click Help > About QuickTest Professional. To change the available add-ins for your tests, you must close and reopen QuickTest Professional.
5.Select a flight.
Click CONTINUE to accept the default flight selections। The Book a Flight page opens।
6.Enter required passenger and purchase information.
Enter the required information (fields with red text labels) in the Passengers and Credit Card sections. (You may enter fictitious information.)
In the Billing Address section, select Ticketless Travel.
At the bottom of the page, click SECURE PURCHASE. The Flight Confirmation page opens.
7.Review and complete your booking.
Click BACK TO HOME। The Mercury Tours home page opens।
8.Stop recording.
In QuickTest, click Stop on the test toolbar to stop the recording process.
You have now reserved an imaginary business class ticket from New York to San Francisco। QuickTest recorded your Web browser operations from the time you clicked the Record button until you clicked the Stop button.
You have now reserved an imaginary business class ticket from New York to San Francisco। QuickTest recorded your Web browser operations from the time you clicked the Record button until you clicked the Stop button.
Save your test
Select File > Save or click the Save button. The Save dialog box opens to the Tests folder.
Create a folder named Tutorial, select it, and click Open.
Type Recording in the File name field.
Confirm that Save Active Screen files is selected.
Click Save. The test name (Recording) is displayed in the title bar of the main QuickTest window.
1 comment:
Hi, Thanks for visiting my site. I've posted my comments at the following URL:
http://loadrunnertnt.blogspot.com/2007/05/scripts-auto-or-manual-correlation.html
Hope it helps!
Hs
http://loadrunnertnt.blogspot.com
Post a Comment