Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
5Activity
0 of .
Results for:
No results containing your search query
P. 1
quicktest professional

quicktest professional

Ratings: (0)|Views: 145|Likes:
Published by dfdfd

More info:

Published by: dfdfd on Nov 03, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

02/01/2013

pdf

text

original

QuickTest Professional
Introduction
Purpose

The tutorial is for all users of Mercury QuickTest Professional. The information presented here will
enable you to begin utilizing interface commands, accessing menu functions, and preparing for
testing.

Time
20 minutes
Objectives
After completing this tutorial you will be able to:
\ue000
Explain the benefits of automated testing.
\ue000
Optimize your browser settings for QuickTest Professional.
\ue000
Identify the seven main phases of the QuickTest process.
\ue000
Navigate effectively using the QuickTest windows, menus, and icons.
\ue000
Benefits of Automated Testing

If you have ever tested applications or Web sites manually, you are aware of the
drawbacks. Manual testing is time-consuming and tedious, requiring a heavy investment
in human resources. Time constraints often make it impossible to manually test every
feature thoroughly before the application is released. Serious bugs may have gone
undetected. Automated testing with QuickTest Professional addresses these problems by:

\ue000
Dramatically speeding up the testing process.
\ue000
Facilitating the creation of tests that check all aspects of an application or web site.
\ue000
Providing reusability for running these tests every time the site or application changes.

As QuickTest runs tests, it simulates a human user by moving the mouse cursor in
a Web page or application window, clicking Graphical User Interface (GUI) objects,
and entering keyboard input; however, QuickTest does this faster than any human user.

Optimizing Browser Settings

If you are using Internet Explorer as your browser, you should clear the option to use auto
complete for user names and passwords. This will ensure that all of your operations are
accurately recorded while creating your tests.

To clear the auto complete option:
\ue000
In your Internet Explorer menu bar, choose TOOLS > INTERNET OPTIONS > CONTENT tab.
\ue000
ClickAUTO COMPLETE in thePERSONAL information area. The AUTOCOMPLETE SETTINGS dialog
box opens.
\ue000
In the UseAUTO COMPLETE FOR area, clear theUSER NAMES AND PASSWORDS ON FORMS option.
\ue000
ClickOK to save your changes and close the AUTOCOMPLETE SETTINGS dialog box, then
clickOK again to close the Internet Options dialog box.
QuickTest Windows

Before you begin creating tests, take a moment to become familiar with the main QuickTest
window. The image below shows QuickTest window as it would appear after you record a test,
with all toolbars and panes (except the Debug Viewer pane) displayed. Place your mouse over
the titles to display a description of these key elements.

The Testing Process
The QuickTest testing process consists of seven main phases:

1. Preparing to record
2. Recording a session on your application
3. Enhancing your test
4. Debugging your test
5. Running your test
6. Analyzing the test results

7. Reporting defects
This tutorial provides you with an introduction to each of these phases.
Preparing to Record
Before you record a test, confirm that your application and QuickTest are set to match the needs
of your test.
1. Make sure your application displays elements you want to record, such as a toolbar or a

special window pane.
2. Check to see, that your application options are set for the purposes of your test.
3. View the settings in the Test Settings dialog box (Test > Settings) to ensure that data will

be recorded and stored correctly.

4. Review the Options dialog box (Tools > Options) to ensure that QuickTest will record and store information appropriately. For example, you should confirm that the test is set to use the appropriate object repository mode.

5. Make sure that all browsers are closed before you begin recording.
Recording a Session
As you navigate through your application or Web site, QuickTest graphically displays each step
you perform as a row in the KEYWORD VIEW.

A step is any user action that causes or makes a change in your application, such as clicking a
link or image, or entering data in a form. For example, if you wanted to test your course
registration website, you would:

1. Create a new, blank, test file.
2. Click theRECORD button and enter the details about the type of application being tested.
3. Log on to your corporate website and perform the steps to register for a class.
4. Click theSTOP button to end the test.

QuickTest recorded your web browser operations from the time you clickedRECORD until you
clickedSTOP.
Review a Recording
As you recorded your test, QuickTest generated steps in the KEYWORD VIEW representing
each operation you performed in the web browser.
The columns in the KEYWORD VIEW show different information for each step, as described in this
table:
Column
Description
Item
Displays the item for the step (test object, utility object, function call, or
statement) in a hierarchical icon-based tree.
Operation
The operation to be performed on the item, for example,Click orSelect.
Value
The argument values for the selected operation, for example, the mouse
button to use when clicking the image.
Assignment
The assignment of a value to or from a variable so you can use the value
later in the test.
Comment
Any textual information you want to add regarding the step, for example,
Return to page used in first step of the test.
DocumentationAuto-documentation of what the step does, in an easy-to-understand
sentence, for example, Click the "See Details" icon.
Enhancing Your Test

Activity (5)

You've already reviewed this. Edit your review.
1 hundred reads
satish02 liked this
yashyi liked this
Sagar Bhandare liked this
raj.veggalam liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->