Before this July and next self-dealing system, i 'd like to learn anything of RFT......

Domystifying the test of PeopleSoft enterprise application

上一篇 / 下一篇  2007-06-18 15:10:27 / 个人分类:混沌初期

Today , I 'd like to read a new  article about  Rational Funtional Tester , named : Domystifying the testing of PeopleSoft enterprise applictation with ibm Rational Tester.

from

http://www.ibm.com/developerworks/rational/library/07/0424_weber_saracevic2/index.html

 

subtitle:

How to test deployments and upgrades easier and faster

Level: Intermediate

Donald Weber(weberdm@us.ibm.com), Sr. IT Specialist, IBM
Fariz Saracevic(fariz@us.ibm.com), Senior IT Architect, IBM

24 Apr 2007

Learn the basics of how to use IBM® Rational® Functional Tester to test PeopleSoft deployments and upgrades.

Oracle's PeopleSoft Enterprise applications are designed to address the most complex business requirements. They provide comprehensive business and industry-specific solutions that enable organizations to significantly improve performance. PeopleSoft Enterprise applications offer Web services integration to fit seamlessly into a heterogeneous applications environment and a broad array of technology infrastructures. Simple configuration ensures that you can meet the most unique customer requirements. Rational Functional Tester is an automated, functional and regression testing tool. In this article, you will see how to use this product to test PeopleSoft Enterprise applications

Prerequisites

Installation of IBM Rational Functional Tester V7.0. See Resources for where to download the trial version.

Recording against a PeopleSoft application

  1. To record a test scrīpt, select the redRecordbutton, shown in Figure 1, on the Rational Functional Tester toolbar.


Figure 1. IBM Rational Functional Tester toolbar
Figure 1. IBM Rational Functional Tester toolbar

  1. Next, select the scrīpt folderlocation, specify the scrīptname, and clickFinish.
  2. To start recording, you need to enable PeopleSoft as a new HTML application by defining theURLof the PeopleSoft application, as Figure 2 shows.


Figure 2. Editing the application list in the Start Application view
Figure 2. Editing the application list in the Start Application view

  1. Then specify the URL of the PeopleSoft application, and name the application. Optionally, you can selectBrowser(see Figure 3).


Figure 3. The application configuration tool
Figure 3. The application configuration tool

  1. Now, start recording the test by interacting with the application in the browser window that opens.
  2. Rational Performance Tester records each interaction and adds comments to the test scrīpt that describe the actions. The progress of the test recording is displayed in the recording window, which is visible in the lower-right corner of Figure 4.


Figure 4. PeopleSoft application under test
Figure 4. PeopleSoft application under test

Figure 4 also illustrates that Rational Functional Tester can identify individual objects within the PeopleSoft application. In this case, the object is the Worklist. You can use the Worklist object to createverification pointsthat gauge your test progress and status.

To determine whether a test passes or fails, verification points are inserted into the scrīpt. Rational Functional Tester recognizes the objects that are selected for the verification points, as shown in Figure 4. The Home Worklist object has been selected for a verification point. At run time, a data verification point compares the selected object's primary data (in this case, its text attributes) with the object that it captured during recording time.

If you use aproperty verification point, it allows the user to select the specific property that is of interest in the test.


Figure 5. The Verification Point and Action Wizard
Figure 5. The Verification Point and Action Wizard

  1. When the test has completed,stop the recording, and Rational Performance Tester will generate the test scrīpt, as you see in Figure 6. This screen capture also illustrates the object-oriented nature of the Rational Functional Tester scrīpt. The steps in the scrīpt capture the GUI-level interactions by using the PeopleSoft object model.


Figure 6. The recorded test scrīpt
Figure 6. The recorded test scrīpt display 


Playing back a test of a PeopleSoft application

When you run the recorded scrīpt, the browser opens the PeopleSoft application, executes the recorded actions, and displays the results -- all automatically (Figure 7). In this scenario, the test scrīpt contains two verification points: a data verification point and a property verification point.


Figure 7. The Rational Functional Tester playback log
Figure 7. The Rational Functional Tester playback log

 

 

 

 

 

 

 

 

 

 

 


TAG: 混沌初期

 

评分:0

我来说两句

日历

« 2024-05-03  
   1234
567891011
12131415161718
19202122232425
262728293031 

数据统计

  • 访问量: 11289
  • 日志数: 19
  • 书签数: 1
  • 建立时间: 2007-04-09
  • 更新时间: 2007-06-23

RSS订阅

Open Toolbar