ebook img

HP QuickTest Professional Add-ins Guide PDF

726 Pages·2008·4.98 MB·English
by  
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview HP QuickTest Professional Add-ins Guide

HP QuickTest Professional Software Version: 10.00 Add-ins Guide Manufacturing Part Number: T6513-90042 Document Release Date: January 2009 Software Release Date: January 2009 Legal Notices Warranty The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein. The information contained herein is subject to change without notice. Restricted Rights Legend Confidential computer software. Valid license from HP required for possession, use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor's standard commercial license. Third-Party Web Sites HP provides links to external third-party Web sites to help you find supplemental information. Site content and availability may change without notice. HP makes no representations or warranties whatsoever as to site content or availability. Copyright Notices © 1992 - 2009 Mercury Interactive (Israel) Ltd. Trademark Notices Adobe® and Acrobat® are trademarks of Adobe Systems Incorporated. Intel®, Pentium®, and Intel® Xeon™ are trademarks of Intel Corporation in the U.S. and other countries. Java™ is a US trademark of Sun Microsystems, Inc. Microsoft®, Windows®, Windows NT®, and Windows® XP are U.S registered trademarks of Microsoft Corporation. Oracle® is a registered US trademark of Oracle Corporation, Redwood City, California. Unix® is a registered trademark of The Open Group. SlickEdit® is a registered trademark of SlickEdit Inc. 2 Documentation Updates This guide’s title page contains the following identifying information: (cid:129) Software Version number, which indicates the software version. (cid:129) Document Release Date, which changes each time the document is updated. (cid:129) Software Release Date, which indicates the release date of this version of the software. To check for recent updates, or to verify that you are using the most recent edition of a document, go to: http://h20230.www2.hp.com/selfsolve/manuals This site requires that you register for an HP Passport and sign-in. To register for an HP Passport ID, go to: http://h20229.www2.hp.com/passport-registration.html Or click the New users - please register link on the HP Passport login page. You will also receive updated or new editions if you subscribe to the appropriate product support service. Contact your HP sales representative for details. 3 Support You can visit the HP Software Support web site at: http://www.hp.com/go/hpsoftwaresupport This web site provides contact information and details about the products, services, and support that HP Software offers. HP Software Support Online provides customer self-solve capabilities. It provides a fast and efficient way to access interactive technical support tools needed to manage your business. As a valued support customer, you can benefit by using the HP Software Support web site to: (cid:129) Search for knowledge documents of interest (cid:129) Submit and track support cases and enhancement requests (cid:129) Download software patches (cid:129) Manage support contracts (cid:129) Look up HP support contacts (cid:129) Review information about available services (cid:129) Enter into discussions with other software customers (cid:129) Research and register for software training Most of the support areas require that you register as an HP Passport user and sign in. Many also require a support contract. To find more information about access levels, go to: http://h20230.www2.hp.com/new_access_levels.jsp To register for an HP Passport ID, go to: http://h20229.www2.hp.com/passport-registration.html 4 Table of Contents Welcome to This Guide.......................................................................15 How This Guide Is Organized.............................................................15 Who Should Read This Guide.............................................................16 QuickTestProfessional Online Documentation.................................17 Additional Online Resources...............................................................19 PART I: WORKING WITH QUICKTEST PROFESSIONAL ADD-INS Chapter 1: Working with QuickTest Add-ins......................................23 About Working with QuickTest Add-Ins.............................................24 Loading QuickTest Add-ins.................................................................28 The Record and Run Settings Dialog Box: Overview..........................36 Tips for Working with QuickTest Add-ins..........................................41 Chapter 2: Testing Windows-Based Applications...............................43 About Testing Windows-Based Applications......................................43 Setting Windows Applications Record and Run Options...................45 Defining Record and Run Variables for a Windows-Based Environment...................................................................................59 Setting Windows Application Testing Options..................................61 Setting Advanced Windows Applications Options.............................65 Chapter 3: Testing Web-Based Applications......................................75 About Testing Web-Based Applications..............................................75 Setting Web Record and Run Options................................................76 Defining Record and Run Variables for a Web Environment.............81 Setting Web Testing Options..............................................................82 Defining Web Settings for Your Test...................................................98 Defining Web Settings for Your Application Area............................100 Viewing Web Settings for Your Business Component......................102 Web Event Recording Configurations..............................................103 5 Table of Contents PART II: STANDARD WINDOWS TESTING SUPPORT Chapter 4: Using Standard Windows Testing Support....................109 About Standard Windows Testing Support.......................................110 PART III: THE ACTIVEX ADD-IN Chapter 5: Using the ActiveX Add-in................................................115 About the ActiveX Add-in.................................................................115 Considerations for Working with the ActiveX Add-in.....................117 PART IV: THE DELPHI ADD-IN Chapter 6: Using the Delphi Add-in.................................................121 About the Delphi Add-in...................................................................122 Enabling Communications Between QuickTestProfessional and Your Delphi Application...............................................................124 PART V: THE JAVA ADD-IN Chapter 7: Using the Java Add-in......................................................129 About the Java Add-in.......................................................................130 Considerations for Working with the Java Add-in...........................131 Understanding Java Add-in Dependencies and Conflicts................133 Chapter 8: Creating and Running Tests on Java Objects.................135 Defining Java Testing Options..........................................................136 Defining Java Settings for Individual Tests and Components..........146 Defining Java Record and Run Options for Tests.............................152 Defining Application Details Environment Variables for Tests........158 Optimizing Settings for Other Record and Run Settings Dialog Box Tabs............................................................................159 Recording Tests and Components on Java Objects..........................159 Chapter 9: Using Advanced Java Test Object Methods....................171 Creating Objects in Your Applet or Application (Advanced)...........171 Working with Static Members...........................................................172 Firing Java Events..............................................................................173 6 Table of Contents Chapter 10: Troubleshooting Testing Java Applets and Applications..................................................................................175 Identifying and Solving Common Problems....................................176 Checking Java Environment Variables Settings................................178 Locating the Java Console.................................................................179 Running an Application or Applet with the Same Settings..............182 Running the Java Add-in on Multiple Environments......................182 Disabling Dynamic Transformation Support (Advanced)................184 PART VI: THE .NET ADD-IN Chapter 11: Testing .NET Windows Forms Applications..................189 About .NET Windows Forms Testing Support..................................190 Considerations for Testing .NET Windows Forms Applications......191 Checking .NET Windows Forms Objects and Outputting Values............................................................................................192 Using the .NET Windows Forms Spy................................................195 Chapter 12: Using the Windows Presentation Foundation Add-in............................................................................................207 About the WPF Add-in......................................................................208 Considerations for Working with the WPF Add-in..........................209 About WPF User Interface Automation.............................................210 Checking WPF Objects and Outputting Values................................211 Using WPF Objects, Methods, and Properties to Enhance Your Test or Component.......................................................................212 Chapter 13: Testing .NET Web Forms Applications.........................215 About Testing .NET Web Forms Applications...................................216 Considerations for Testing .NET Web Forms Applications..............217 Checking .NET Web Forms Objects and Outputting Values............218 PART VII: THE ORACLE ADD-IN Chapter 14: Using the Oracle Add-in................................................221 About the Oracle Add-in...................................................................222 Considerations for Working with the Oracle Add-in.......................223 Verifying Whether the Oracle Server Supplies Unique Name Attributes...........................................................................................225 Enabling the Oracle Name Attribute.................................................225 7 Table of Contents Chapter 15: Troubleshooting Testing Oracle Applications..............227 Identifying and Solving Common Problems....................................228 Checking Oracle Environment Settings............................................229 Locating the Java Console.................................................................229 Understanding Dynamic Transformation Support...........................230 Disabling Dynamic Transformation Support (Advanced)................231 Chapter 16: Creating and Running Steps on Oracle Applications...235 About Creating and Running Steps on Oracle Applications............235 Defining Record and Run Settings for Oracle Tests..........................236 Creating Steps on Oracle Applications..............................................242 PART VIII: THE PEOPLESOFT ADD-IN Chapter 17: Using the PeopleSoft Add-in........................................247 About the PeopleSoft Add-in.............................................................248 Considerations for Working with the PeopleSoft Add-in.................249 PART IX: THE POWERBUILDER ADD-IN Chapter 18: Using the PowerBuilder Add-in ...................................253 About the PowerBuilder Add-in........................................................254 Considerations for Working with the PowerBuilder Add-In............255 PART X: THE ADD-IN FOR SAP SOLUTIONS Chapter 19: Setting Up Your SAP GUI for Windows Environment.................................................................................259 About Setting Up Your SAPWindows Environment........................260 Installing SAP GUI Scripting Support...............................................261 Checking Package and Patch Versions Installed on the SAP Application Server.........................................................................262 Checking the Patch Version Installed on your SAP GUI for Windows Application...................................................................267 Enabling Scripting on the SAP Application (Server-Side).................268 Enabling Scripting on the SAP Application (Client-Side).................273 Setting F4 Help to Use Dialog Display Mode....................................276 Setting F1 Help to Use Modal Dialog Box Mode...............................278 Checking the Connection Speed on the SAP Server.........................279 8 Table of Contents Chapter 20: Using the Add-in for SAPsolutions on SAP GUI for Windows Applications.............................................................281 About the Add-in for SAPsolutions..................................................282 Considerations for Working with the Add-in for SAPsolutions......284 Understanding QuickTest and the SAP GUI Scripting API...............286 Setting Record and Run Settings for SAP GUI for Windows Tests...............................................................................................289 Configuring Testing Options for SAP GUI for Windows Applications..................................................................................294 Understanding Low-Level or Analog Mode Recording on SAP GUI for Windows...................................................................307 Using Standard Windows Recording Capabilities............................308 Understanding QuickTest-eCATT Integration..................................309 Configuring eCATT to Work with QuickTest...................................312 Working with eCATT in Standalone Mode.......................................314 Working with eCATT in Integrated Mode........................................339 Chapter 21: Enhancing Your SAPWindows Test..............................357 Considerations for Enhancing SAP Windows Tests..........................357 Checking SAP Windows Objects and Outputting Values.................358 Outputting SAPWindows Property and Table Cell Values..............364 Chapter 22: Adding SAPWindows Statements to Your Test or Component...............................................................................375 Working with SAPWindows Test Objects........................................375 Accessing Native Operations and Properties in Your SAP GUI for Windows Application..............................................................390 Chapter 23: Using the Add-in for SAPsolutions on Web-based SAP Applications..................................................................................393 About the Add-in for SAPsolutions..................................................394 Recording Tests on Web-based SAP Applications.............................397 Chapter 24: Enhancing Your SAPWeb Test.....................................403 Checking SAPWeb Objects and Outputting Values.........................403 Chapter 25: Adding SAP Web Statements to Your Test or Component...............................................................................407 Working with SAPWeb Test Objects................................................407 9 Table of Contents PART XI: THE SIEBEL ADD-IN Chapter 26: Using the Siebel Add-in................................................419 About the Siebel Add-In....................................................................420 Considerations for Working with the Siebel Add-in........................422 Setting Up Your Siebel 7.7.x or Later Environment..........................423 Chapter 27: Creating and Running Tests and Components on Siebel Objects..........................................................................427 Understanding the Siebel Test Object Model...................................428 Setting Siebel Record and Run Options............................................430 Setting Siebel Application Options for Components.......................436 Using Environment Variables to Specify Record and Run or Applications Settings....................................................................436 Recording Steps on Siebel Objects....................................................438 Information for Users of Earlier Versions of the QuickTest Professional Siebel Add-in...........................................439 Chapter 28: Enhancing Your Siebel Test or Component.................441 Considerations for Checking Siebel Objects.....................................441 Accessing Native Operations and Properties in Siebel 7.0.x and 7.5.x Applications.........................................................................443 Spooling Data from a Siebel Table....................................................444 Chapter 29: Generating an Object Repository Using Siebel Test Express...................................................................................447 About Generating an Object Repository Using Siebel Test Express...................................................................................447 Siebel Test Express System Requirements and Supported Environments...............................................................................448 Using Siebel Test Express to Create an Object Repository................449 Using Siebel Test Express to Update an Existing Object Repository ....................................................................................457 PART XII: THE STINGRAY ADD-IN Chapter 30: Using the Stingray Add-in.............................................465 About the Stingray Add-in................................................................466 Considerations for Working with the Stingray Add-in....................467 Setting Up Stingray Object Support..................................................468 Testing Stingray Applications...........................................................482 10

Description:
3 Documentation Updates This guide’s title page contains the following identifying information: † Software Version number, which indicates the software version.
See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.