Tool Mentor: Implementing Generated Test Scripts Using Rational TestFactory
var backPath = './../../../';
var imgPath = './../../../images/';
var nodeInfo=[{view: "view:_LVCagP5WEdmAzesbYywanQ", path: ["_LVCagP5WEdmAzesbYywanQ", "_AUv4MAIMEdq-_NKqZM1EhA", "_5ZuQsAIUEdqEutyfYo0quQ", "{FBA5098E-2CA8-483D-814D-DE3E876426B1}", "{19F8AE86-E40A-42F5-8B81-673C306F5C35}"]}, {view: "view:_LVCagP5WEdmAzesbYywanQ", path: ["_LVCagP5WEdmAzesbYywanQ", "_mp7z0DIDEdqwaNnSEheSAg", "_9U7IkDIEEdqwaNnSEheSAg", "{FBA5098E-2CA8-483D-814D-DE3E876426B1}", "{19F8AE86-E40A-42F5-8B81-673C306F5C35}"]}, {view: "view:_FCx1oN7CEdmsEI4YDGX2ag", path: ["_FCx1oN7CEdmsEI4YDGX2ag", "_jD8dUAIbEdqEutyfYo0quQ", "_F1OgYAIbEdqEutyfYo0quQ", "{FBA5098E-2CA8-483D-814D-DE3E876426B1}", "{19F8AE86-E40A-42F5-8B81-673C306F5C35}"]}];
contentPage.preload(imgPath, backPath, nodeInfo, '', false, false, false);
Tool Mentor: Implementing Generated Test Scripts Using Rational TestFactory
This tool mentor describes how to use Rational TestFactory to automatically generate Test Scripts that test specific areas of the application-under-test.
Tool: Rational TestFactory
Relationships
Related Elements
Implement Test Suite
Main Description
Overview
A "Pilot" is the Rational TestFactory tool that you can use to generate test scripts. A Pilot generates scripts that
test the functionality of the controls in the application-under-test (AUT) that are represented by UI objects in an
area of the application map. For information about developing the application map, see Tool Mentor: Setting Up the Test Environment in Rational TestFactory.
This tool mentor is applicable when running Windows 98/2000/NT 4.0.
To use Rational TestFactory to generate test scripts automatically:
Add a Pilot to the application map
Set up and run the Pilot
1. Add a Pilot to the application map
You can add a Pilot object at any location in the application map. From there, the Pilot automatically generates test
scripts that focus on the specific functional area of the AUT corresponding to that portion of the application map.
To determine a part of the application that you want to test, see the first task in Tool Mentor: Capturing the Results of Test Design for Automated
Testing.
Refer to the following
topics in Rational TestFactory online Help:
Pilots: What they are and how they work
Effective Pilot placement
Add a Pilot
2. Set up and run the Pilot
When you set up the Pilot, you indicate the values and options that control how the Pilot runs. The setup information
that you can specify includes:
The depth in the application map to which the Pilot must test.
The criteria that Rational TestFactory uses to stop the Pilot run.
Additional UI objects in the application map that you want to include in the test.
UI objects under the Pilot's control that you want to exclude from testing.
During a Pilot run, a Pilot builds an optimized "best script" that provides extensive code-based test coverage and
contains no redundant script code.
A Pilot also generates a "UI script" that is optimized for UI-based test coverage. In successive builds of the AUT, you
can run UI scripts as a simple smoke test to check controls in the user interface.
Every time you run a Pilot, Rational TestFactory adds a new "run" folder under the Pilot in the application map. The
run folder contains the test scripts that the Pilot generates. If the Pilot encounters defects during its run,
TestFactory places the defect test scripts in a "defects" subfolder under the run folder.
Refer to the following
topics in Rational TestFactory online Help:
Pilot view
Set up a Pilot run
Run a single Pilot
© Copyright IBM Corp. 1987, 2006. All Rights Reserved.
contentPage.onload();
Wyszukiwarka
Podobne podstrony:
test script7C91758create perf test scripts?9F2B01record test scriptsz61D605record test scriptsz61D605execute suite of test scripts?A12F07general training question paper test 95) Test dla wariancji populacji generalnejgeneral training question paper test 10general training question paper test 8general training question paper test 7general training question paper test 6general training speaking test commentaries 6 9klucz test zawodowy Y6ZUUDOVTest dla kierowcy[1]candi self testwięcej podobnych podstron