Webload IDE User's Guide
Total Page:16
File Type:pdf, Size:1020Kb
WebLOAD IDE User's Guide Version 8.0 RadView Software The software supplied with this document is the property of RadView Software and is furnished under a licensing agreement. Neither the software nor this document may be copied or transferred by any means, electronic or mechanical, except as provided in the licensing agreement. The information in this document is subject to change without prior notice and does not represent a commitment by RadView Software or its representatives. WebLOAD IDE User's Guide © Copyright 2007 by RadView Software. All rights reserved. January, 2007, RadView Publication Number WebLOAD, TestTalk, Authoring Tools, ADL, AppletLoad, WebFT, and WebExam, are trademarks or registered trademarks of RadView Software IBM, and OS/2 are trademarks of International Business Machines Corporation. Microsoft Windows, Microsoft Windows 95, Microsoft Windows NT, Microsoft Word for Windows, Microsoft Internet Explorer, Microsoft Excel for Windows, Microsoft Access for Windows and Microsoft Access Runtime are trademarks or registered trademarks of Microsoft Corporation. SPIDERSESSION is a trademark of NetDynamics. UNIX is a registered trademark of AT&T Bell Laboratories. Solaris, Java and Java-based marks are registered trademarks of Sun Microsystems, Inc. HP-UX is a registered trademark of Hewlett-Packard. SPARC is a registered trademark of SPARC International, Inc. Netscape Navigator and LiveConnect are registered trademarks of Netscape Communications Corporation. Any other trademark name appearing in this book is used for editorial purposes only and to the benefit of the trademark owner with no intention of infringing upon that trademark. For product assistance or information, contact: Toll free in the US: 1-888-RadView Fax: (781) 238-8875 World Wide Web: www.RadView.com North American Headquarters: International Headquarters: RadView Software Inc. RadView Software Ltd. 7 New England Executive Park 14 Hamelacha Street, Park Afek Burlington, MA 01803 Rosh Haayin, Israel 48091 Email: [email protected] Email: [email protected] Phone: (781) 238-1111 Phone: +972-3-915-7060 Fax: +972-3-915-7683 2 RadView Software Table of Contents 1. Introduction.....................................................................................9 WebLOAD Documentation .................................................... 9 Typographical Conventions ................................................ 10 Where to Get More Information........................................... 11 Online Help ............................................................................ 11 Technical Support .................................................................. 11 Technical Support Web Site................................................... 12 2. Overview of the WebLOAD Integrated Development Environment......................................................................................13 About WebLOAD IDE ........................................................... 13 The User Flow....................................................................... 14 Agenda Creation .................................................................. 14 The Recording Tool................................................................ 15 The Editing Modes ................................................................. 16 The Run Mode ....................................................................... 18 3. Before You Begin using WebLOAD IDE .....................................19 Before You Begin ................................................................. 19 Clearing the Cache in Your Browser .................................. 20 Clearing the Cache for Internet Explorer................................ 20 Clearing the Cache for Netscape Navigator........................... 20 Clearing the Cache for Mozilla Firefox 2.0 ............................. 21 Configuring the Proxy Value for Your Browser................. 21 Configuring the Proxy Value in Internet Explorer ................... 22 Configuring the Proxy Value in Netscape Navigator .............. 23 WebLOAD IDE User's Guide 3 Configuring the Proxy Value in Mozilla Firefox 2.0................. 24 4. WebLOAD IDE Quick Start.......................................................... 27 Getting Started ..................................................................... 27 Creating an Agenda ............................................................. 28 Viewing Your Agenda .......................................................... 32 Editing Your Agenda............................................................ 34 Toggling Between Edit Modes................................................ 35 Basic Editing Techniques ....................................................... 35 Adding Agenda Items............................................................. 36 Running and Debugging Your Agenda .............................. 37 Running Your Agenda............................................................ 38 Debugging Your Agenda ........................................................ 38 5. Recording Agendas..................................................................... 43 About Recording Agendas with WebLOAD IDE ................ 43 Starting WebLOAD IDE ........................................................ 44 Recording an Agenda .......................................................... 45 Viewing the Recorded Agenda............................................ 49 Viewing the Recorded Agenda in the Agenda Tree ............... 50 Viewing the Recorded Agenda in the JavaScript View Pane....................................................................................... 51 Viewing the Recorded Agenda in the HTTP Headers View Pane....................................................................................... 52 Saving an Agenda ................................................................ 53 Saving Additional Project Information ............................... 54 6. Editing Agendas .......................................................................... 57 About Editing Agendas with WebLOAD IDE...................... 57 Editing an Agenda in the Agenda Tree............................... 58 Adding Agenda Items and JavaScript Objects to an Agenda................................................................................... 58 Editing an Agenda by Right-Clicking in the Agenda Tree....... 59 Editing an Agenda in the JavaScript View Pane................ 60 Editing the JavaScript Code for an Agenda Item.................... 61 Editing the JavaScript Code Functions................................... 61 Using the JavaScript Editor .................................................... 63 4 RadView Software Editing your Agenda Using the WebLOAD IDE Toolbox Set........................................................................... 71 Adding Agenda Items from a WebLOAD IDE Toolbox ........... 72 Working with JavaScript Files ............................................ 72 7. Running and Debugging Agendas..............................................75 About Running and Debugging Agendas with WebLOAD IDE ...................................................................... 75 Running an Agenda ............................................................. 76 Starting the Execution of an Agenda...................................... 76 Viewing the Execution Sequence in the Agenda Tree ........... 76 Viewing the Execution Sequence in the JavaScript View Pane....................................................................................... 77 Viewing the Response Data in the Execution Tree ................ 79 Stopping the Execution of an Agenda .................................... 79 Debugging Agendas ............................................................ 79 Run Menu Items..................................................................... 80 Debug Windows ..................................................................... 81 Debugging an Agenda ........................................................... 81 Viewing and Analyzing the Test Results............................ 92 Using the Execution Tree to View Results ............................. 92 Using the Browser View to View Results ............................... 93 Using the DOM View to View Results .................................... 94 Using the HTML View to View Results................................... 95 Using the HTTP Headers View to View Results..................... 96 Using the Log View Window to View Results......................... 98 8. Configuring the WebLOAD IDE Options ..................................101 Configuring the Record Options....................................... 101 Opening the Record Options................................................ 102 Specifying the HTTP Objects to be Recorded...................... 103 Setting the WebLOAD IDE to Record Data Types ............... 108 Configuring the Default Encoding Type................................ 109 Configuring the Default Browser .......................................... 110 Configuring the File Extensions............................................ 113 Configuring the Content Types to Record ............................ 114 Setting the Proxy Options..................................................... 116 Setting the Proxy Certificates............................................... 118 Configuring the Default and Current Project Options..... 120 WebLOAD IDE User's Guide 5 Opening the Default and Current Project Options ................ 121