Silk Test 20.0
Total Page:16
File Type:pdf, Size:1020Kb
Silk Test 20.0 Silk Test Classic Classic Agent Help Micro Focus The Lawn 22-30 Old Bath Road Newbury, Berkshire RG14 1QN UK http://www.microfocus.com © Copyright 1992-2019 Micro Focus or one of its affiliates. MICRO FOCUS, the Micro Focus logo and Silk Test are trademarks or registered trademarks of Micro Focus or one of its affiliates. All other marks are the property of their respective owners. 2019-04-30 ii Contents Automation Under Special Conditions (Missing Peripherals) ..................... 19 Silk Test Product Suite .................................................................................... 21 Classic Agent ....................................................................................................23 How Silk Test Classic Assigns an Agent to a Window Declaration ................................... 23 Agent Options ................................................................................................................... 23 Setting the Default Agent .................................................................................................. 43 Setting the Default Agent Using the Runtime Options Dialog Box ......................... 44 Setting the Default Agent Using the Toolbar Icons .................................................44 Connecting to the Default Agent ....................................................................................... 44 Creating a Script that Uses Both Agents ...........................................................................44 Overview of Record Functionality Available for the Silk Test Agents .................................45 Setting the Window Timeout Value to Prevent Window Not Found Exceptions ................ 46 Manually Setting the Window Timeout Value ......................................................... 46 Setting the Window Timeout Value in the Agent Options Dialog Box .....................46 Basic Workflow for the Classic Agent ............................................................48 Creating a New Project ..................................................................................................... 48 Enabling Extensions Automatically Using the Basic Workflow ..........................................49 Setting the Recovery System for the Classic Agent ..........................................................49 Recording a Test Case With the Classic Agent .................................................................50 Running a Test Case .........................................................................................................51 Viewing Test Results ......................................................................................................... 52 Troubleshooting Basic Workflow Issues with the Classic Agent ........................................52 Migrating from the Classic Agent to the Open Agent ...................................53 Differences for Agent Options Between the Silk Test Agents ............................................53 Differences in Object Recognition Between the Silk Test Agents ..................................... 54 Differences in the Classes Supported by the Silk Test Agents ......................................... 56 Differences in the Parameters Supported by the Silk Test Agents ....................................60 Overview of the Methods Supported by the Silk Test Agents ........................................... 61 SYS Functions Supported by the Open Agent and the Classic Agent ..............................61 Silk Test Classic Projects ................................................................................ 63 Storing Project Information ................................................................................................63 Accessing Files Within Your Project ..................................................................................64 Sharing a Project Among a Group .................................................................................... 65 Project Explorer .................................................................................................................65 Creating a New Project ..................................................................................................... 66 Opening an Existing Project ..............................................................................................67 Converting Existing Tests to a Project ...............................................................................68 Using Option Sets in Your Project ..................................................................................... 68 Editing an Options Set ............................................................................................68 Silk Test Classic File Types ............................................................................................... 69 Organizing Projects ...........................................................................................................70 Adding Existing Files to a Project ...........................................................................70 Renaming Your Project ...........................................................................................70 Working with Folders in a Project ...........................................................................71 Moving Files Between Projects .............................................................................. 72 Removing Files from a Project ............................................................................... 73 Turning the Project Explorer View On and Off ........................................................73 Viewing Resources Within a Project ...................................................................... 73 Packaging a Silk Test Classic Project ............................................................................... 73 Emailing a Project .................................................................................................. 75 Contents | 3 Exporting a Project ............................................................................................................77 Troubleshooting Projects ...................................................................................................78 Files Not Found When Opening Project .................................................................78 Silk Test Classic Cannot Load My Project File ....................................................... 78 Silk Test Classic Cannot Save Files to My Project ................................................. 78 Silk Test Classic Does Not Run ..............................................................................79 My Files No Longer Display In the Recent Files List ..............................................79 Cannot Find Items In Classic 4Test ........................................................................79 Editing the Project Files ..........................................................................................79 Project Description Dialog Box ..........................................................................................80 Enabling Extensions for Applications Under Test ........................................ 81 Extensions that Silk Test Classic can Automatically Configure .........................................81 Extensions that Must be Set Manually .............................................................................. 82 Extensions on Host and Target Machines .........................................................................82 Enabling Extensions Automatically Using the Basic Workflow ..........................................83 Enabling Extensions on a Host Machine Manually ........................................................... 83 Manually Enabling Extensions on a Target Machine .........................................................84 Enabling Extensions for Embedded Browser Applications that Use the Classic Agent .... 85 Enabling Extensions for HTML Applications (HTAs) ......................................................... 86 Adding a Test Application to the Extension Dialog Boxes ................................................. 86 Verifying Extension Settings ..............................................................................................87 Why Applications do not have Standard Names ............................................................... 87 Duplicating the Settings of a Test Application in Another Test Application ........................87 Deleting an Application from the Extension Enabler or Extensions Dialog Box ................ 88 Disabling Browser Extensions ...........................................................................................88 Comparison of the Extensions Dialog Box and the Extension Enabler Dialog Box .......... 88 Configuring the Browser ....................................................................................................89 Setting Agent Options for Web Testing ...................................................................90 Specifying a Browser for Silk Test Classic to Use in Testing a Web Application .... 91 Specifying your Default Browser ............................................................................ 91 Enable Extensions Dialog Box (Classic Agent) .................................................................91 Extension Information Dialog Box ..................................................................................... 92 Extension Settings