QTP 11 New Features

9
QTP 11 New Features http://www.qtpsudhakar.com/ http://in.groups.yahoo.com/group/qtpsudhakar/ QuickTest 11.00 new features Manage Your Test Data Quality Center (HP ALM) test configuration functionality enables you to determine at runtime which data sets to use for your tests. ALM test configurations enable you to: Unbind your data from your tests Share common data sources across different tests Filter your data to fit your testing needs Increase requirements traceability You store the data for your tests in the Quality Center Test Resources module in the form of data table resource files. You can then define multiple test configurations for a test in the Test Plan module. When working with data-driven QuickTest tests in HP ALM, each configuration is a QuickTest test that is set to run with a selected data resource file and optional data filter settings. One or more specific configurations of the test can be included in a Test Set to cover different parts of a requirement or to cover multiple requirements. By using Quality Center test configurations, you can create more generic tests and reuse them by associating a different set of data with each. You can also reuse your data by associating the same data table file with multiple tests. Test Your GUI and UI-Less Application Functionality in One Test The new QuickTest-Service Test integration enables you to test across the GUI and non-GUI layers of your application. You can use QuickTest steps to start testing the GUI elements in your application, then call a Service Test test to validate service communications (standard Web Services, non-SOAP Web Services, such as REST, etc.), and then step back into your QuickTest GUI testing, all in a single test run. The results of the QuickTest and Service Test steps are displayed in a unified report in the new Run Results Viewer.

Transcript of QTP 11 New Features

Page 1: QTP 11 New Features

QTP 11 New Features http://www.qtpsudhakar.com/

http://in.groups.yahoo.com/group/qtpsudhakar/

QuickTest 11.00 new features

Manage Your Test Data

Quality Center (HP ALM) test configuration functionality enables you to determine at

runtime which data sets to use for your tests.

ALM test configurations enable you to:

• Unbind your data from your tests

• Share common data sources across different tests

• Filter your data to fit your testing needs

• Increase requirements traceability

You store the data for your tests in the Quality Center Test Resources module in the form of

data table resource files.

You can then define multiple test configurations for a test in the Test Plan module. When

working with data-driven QuickTest tests in HP ALM, each configuration is a QuickTest test

that is set to run with a selected data resource file and optional data filter settings.

One or more specific configurations of the test can be included in a Test Set to cover

different parts of a requirement or to cover multiple requirements.

By using Quality Center test configurations, you can create more generic tests and reuse

them by associating a different set of data with each. You can also reuse your data by

associating the same data table file with multiple tests.

Test Your GUI and UI-Less Application Functionality in One Test

The new QuickTest-Service Test integration enables you to test across the GUI and non-GUI

layers of your application.

You can use QuickTest steps to start testing the GUI elements in your application, then call a

Service Test test to validate service communications (standard Web Services, non-SOAP

Web Services, such as REST, etc.), and then step back into your QuickTest GUI testing, all in a

single test run.

The results of the QuickTest and Service Test steps are displayed in a unified report in the

new Run Results Viewer.

Page 2: QTP 11 New Features

QTP 11 New Features http://www.qtpsudhakar.com/

http://in.groups.yahoo.com/group/qtpsudhakar/

New Run Results Viewer

The new Run Results Viewer provides an Executive Summary page with summary data, pie

charts and statistics for both the current and previous runs, a quick link to the previous run

results, and more.

The Run Results Viewer displays the results of your run session in a set of panes that you can

show, hide, move, dock, and otherwise customize to your needs.

You can install the Run Results Viewer as a standalone installation. This enables you to share

the results of your tests with business analysts and developers who do not work with

QuickTest.

Page 3: QTP 11 New Features

QTP 11 New Features http://www.qtpsudhakar.com/

http://in.groups.yahoo.com/group/qtpsudhakar/

Help QuickTest Identify Your Objects as a Manual Tester Would – VISUALLY

You can now use visual relation identifiers to identify application objects based on other

objects that are always near them.

This enables you to create a more reliable identification definition for test objects that are

otherwise difficult to differentiate, and to ensure that the identification remains reliable

even if the user interface design changes.

The Visual Relation Identifier Dialog Box provides the interface and tools to help you create

and verify your visual relation identifier definitions.

How Visual Relation Identifiers Work

Suppose that you are shown a photograph of a classroom, and are then asked to note

identical twins sitting at different desks, and to be able to identify each twin successfully

when shown different photographs of the same classroom at a later time.

Page 4: QTP 11 New Features

QTP 11 New Features http://www.qtpsudhakar.com/

http://in.groups.yahoo.com/group/qtpsudhakar/

You are told that one differentiating characteristic is that one twin always carries a blue

school bag, and that the other twin always carries a red school bag. You are then also told

that each twin has an assigned desk partners, which means that even if the twins sit at a

different desk in other photographs, they always sit next to their assigned lab partners.

Collaborate with Developers to Pinpoint Defects Using Log Tracking

In today’s more agile development environment, it is more important than ever for QA

engineers and developers to work together throughout the development and release

process.

QuickTest’s new Log Tracking functionality helps you work with developers to pinpoint the

root causes of unexpected behavior in your application.

When you enable log tracking, QuickTest receives the Java or .NET log framework messages

from your application and embeds them in the run results.

You can click a log message in the results to jump to the relevant step in the run results tree,

or you can click a step in the run results tree and view the log message that was generated

at the time that the selected step ran. You can also specify that a log message of a particular

level (or higher) will fail your test.

After you view the results, you can print or export the log tracking details to a file to show to

a developer, or you can provide the developer with the standalone Run Results Viewer

installation so that the developer can view and analyze the results directly on his or her own

desktop.

Out-of-the-Box Support for Web 2.0 Toolkit Applications

Page 5: QTP 11 New Features

QTP 11 New Features http://www.qtpsudhakar.com/

http://in.groups.yahoo.com/group/qtpsudhakar/

QuickTest 11.00 provides Web Add-in Extensibility-based add-ins for ASP .NET Ajax, GWT,

Yahoo UI, and Dojo Web 2.0 toolkits.

You can use these add-ins just as you would any other add-in. You can also use Web Add-in

Extensibility or Extensibility Accelerator to customize the provided support to match your

needs.

You install these add-ins by running the Web 2.0 Toolkit Support Setup from the Add-in

Extensibility and Web 2.0 Toolkits option in the QuickTest Professional setup window.

The operations supported for each Web 2.0 test object class are a combination of custom

operations developed for that test object class and operations directly inherited from the

corresponding (base) Web Add-in test object class.

New Web Testing Capabilities

Many new testing capabilities are now available for working with Web-Based objects.

• Firefox Testing. You can now record steps on Mozilla Firefox and use the

.Object property to access the Firefox DOM.

• XPath, CSS, Identifiers. You can add the XPath or CSS identifier properties to instruct

QuickTest to identify a Web object in your application based on its XPath location or

CSS definition.

• Event Identifiers. You can also now use the attribute/* notation in the test object

description to identify a Web-based object based on an event associated with that

object. For example, you can add attribute/onClick as a property in a WebButton

test object description to identify a button that is associated with the onClick event.

• Embed or Run JavaScripts in Your Web Pages. You can use the new

EmbedScript/EmbedScriptFromFile and RunScript/RunScriptFromFilefunctions to

embed JavaScripts in all loaded browser pages and frames or to run JavaScripts in

specific pages. Use these scripts to perform operations on, or retrieve data from, the

browser pages in your application.

Automatically Parameterize Steps

You can instruct QuickTest to automatically parameterize the steps in your test’s actions at

the end of a recording session.

This enables you to create actions that can be used for a variety of different purposes or

scenarios by referencing different sets of data.

You activate this option by selecting the Automatically parameterize steps option in the

General tab of the Options dialog box. You can set the option to use Global Data Table

Parameters or Test Parameters.

Page 6: QTP 11 New Features

QTP 11 New Features http://www.qtpsudhakar.com/

http://in.groups.yahoo.com/group/qtpsudhakar/

When you stop a recording session while this option is selected, QuickTest replaces the

constant values in the test object operation arguments of your steps with either Data Table

parameters or action parameters, based on your selection in the Options dialog box.

QuickTest performs this automatic parameterization for all relevant steps in any action in

your test, in which you recorded one or more steps during that recording session.

If you work with HP ALM, and you select the Global Data Table Parameters option, you can

map the generated parameters to the column names of a data resource and then use

different configurations in your test sets.

If you work with SAP eCATT and you select the Test Parameters option, you can then supply

the values for the test parameters from eCATT.

New Silverlight Add-in

You can use the new Silverlight Add-in to test objects in Silverlight 2 and Silverlight 3

applications.

After you install the Silverlight Add-in, it is displayed in the Add-in Manager as a child add-in

under the WPF Add-in.

Extend WPF and Silverlight Support

The WPF and Silverlight Add-in Extensibility SDK enables you to develop support for testing

third-party and custom WPF and Silverlight controls that are not supported out-of-the-box

by the relevant QuickTest add-ins.

You install the WPF and Silverlight Add-in Extensibility SDK from the Add-in Extensibility and

Web 2.0 Toolkits option in the QuickTest Professional setup window.

Use Extensibility Accelerator for Web Add-in Extensibility Development

The new Extensibility Accelerator for Functional Testing is a Visual Studio-like IDE that

facilitates the design, development, and deployment of Web Add-in Extensibility support.

It provides a user interface and special tools that help you define new test object classes,

map those test object classes to the controls in your application, and teach QuickTest how

to identify the controls, perform operations on the controls and retrieve their properties.

You install the Extensibility Accelerator from the Add-in Extensibility and Web 2.0 Toolkits

option in the QuickTest Professional setup window.

Page 7: QTP 11 New Features

QTP 11 New Features http://www.qtpsudhakar.com/

http://in.groups.yahoo.com/group/qtpsudhakar/

It’s Easier Than Ever to Insert Regular Expressions

The Smart Regular Expression list provides syntax hints that make it easier than ever to

insert regular expressions into your test steps. It also enables you to access the Regular

Expression Evaluator, which lets you test regular expressions to make sure they suit your

needs.

Smart Regular Expression list

Page 8: QTP 11 New Features

QTP 11 New Features http://www.qtpsudhakar.com/

http://in.groups.yahoo.com/group/qtpsudhakar/

Load Function Libraries at Run Time

The new LoadFunctionLibrary statement lets you load a function library when a step runs

instead of at the beginning of a run session. This means, for example, that you can define

conditional steps that use functions from various function libraries, but load only the

required function libraries during a run session.

Avoid Downtime Due to License Server Failures

With redundant license servers you create failover, so that if your main license server fails,

your remaining servers maintain availability of your licenses without causing any downtime

or loss of licenses for users.

The redundant license server feature is especially useful for enterprise customers

who have a large network installation and want to maintain license server backup.

Improved Documentation Structure Helps You Find the Information You Need

When you open the QuickTest Professional Help, you can now access the entire

Documentation Library from one central point, the Home page. It provides links to all

available guides in each available format, including PDF files.

The HP QuickTest Professional User Guide and the HP QuickTest Professional for Business

Process Testing User Guide are now organized into topic types:Concepts, Tasks,

and References. Use each topic type to access specific information about a feature or

product area.

Page 9: QTP 11 New Features

QTP 11 New Features http://www.qtpsudhakar.com/

http://in.groups.yahoo.com/group/qtpsudhakar/

For example, you can use the Tasks topic type to learn the overall workflow of a feature to

help you accomplish your goals, or you can use the Referencetopic type to look up a specific

user interface element, such as a window, dialog box, or page.