Silk Test Classic Open Agent Help Micro Focus the Lawn 22-30 Old Bath Road Newbury, Berkshire RG14 1QN UK
Total Page:16
File Type:pdf, Size:1020Kb
Silk Test 20.5 Silk Test Classic Open 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-10-23 ii Contents Licensing Information ......................................................................................18 Getting Started ................................................................................................. 19 Automation Under Special Conditions (Missing Peripherals) ............................................19 Silk Test Product Suite ...................................................................................................... 20 Contacting Micro Focus .................................................................................................... 22 Information Needed by Micro Focus SupportLine .................................................. 22 What's New in Silk Test Classic ...................................................................... 23 Enhance Security with Java-based Encryption ................................................................. 23 Usability Enhancements ....................................................................................................23 Technology Updates ..........................................................................................................23 Open Agent .......................................................................................................25 How Silk Test Classic Assigns an Agent to a Window Declaration ................................... 25 Agent Options ................................................................................................................... 25 Setting the Default Agent .................................................................................................. 45 Setting the Default Agent Using the Runtime Options Dialog Box ......................... 46 Setting the Default Agent Using the Toolbar Icons .................................................46 Connecting to the Default Agent ....................................................................................... 46 Creating a Script that Uses Both Agents ...........................................................................46 Overview of Record Functionality Available for the Silk Test Agents .................................47 Setting the Window Timeout Value to Prevent Window Not Found Exceptions ................ 48 Manually Setting the Window Timeout Value ......................................................... 48 Setting the Window Timeout Value in the Agent Options Dialog Box .....................48 Configuring the Connections Between the Silk Test Classic Components ....................... 49 Configuring the Port to Connect to the Information Service ..................................50 Configuring the Port to Connect to the Open Agent ...............................................51 Editing the Properties of the Silk Test Information Service .................................... 52 Replacing the Certificates that are Used for the HTTPS Connection to the Information Service ............................................................................................................................... 53 Stopping the Open Agent After Test Execution .................................................................54 Enabling the Classic Agent ............................................................................................... 54 Basic Workflow for the Open Agent ............................................................... 55 Creating a New Project ..................................................................................................... 55 Configuring Applications ................................................................................................... 56 Recording Test Cases for Standard and Web Applications ...............................................56 Recording Test Cases for Mobile Applications ..................................................................57 Running a Test Case .........................................................................................................58 Viewing Test Results ......................................................................................................... 59 Migrating from the Classic Agent to the Open Agent ...................................60 Differences for Agent Options Between the Silk Test Agents ............................................60 Differences in Object Recognition Between the Silk Test Agents ..................................... 61 Differences in the Classes Supported by the Silk Test Agents ......................................... 63 Differences in the Parameters Supported by the Silk Test Agents ....................................67 Overview of the Methods Supported by the Silk Test Agents ........................................... 68 SYS Functions Supported by the Open Agent and the Classic Agent ..............................68 Silk Test Classic Projects ................................................................................ 70 Storing Project Information ................................................................................................70 Accessing Files Within Your Project ..................................................................................71 Sharing a Project Among a Group .................................................................................... 72 Project Explorer .................................................................................................................72 Creating a New Project ..................................................................................................... 73 Contents | 3 Opening an Existing Project ..............................................................................................74 Converting Existing Tests to a Project ...............................................................................75 Using Option Sets in Your Project ..................................................................................... 75 Editing an Options Set ............................................................................................75 Silk Test Classic File Types ............................................................................................... 76 Organizing Projects ...........................................................................................................77 Adding Existing Files to a Project ...........................................................................77 Renaming Your Project ...........................................................................................77 Working with Folders in a Project ...........................................................................78 Moving Files Between Projects .............................................................................. 79 Removing Files from a Project ............................................................................... 80 Turning the Project Explorer View On and Off ........................................................80 Viewing Resources Within a Project ...................................................................... 80 Packaging a Silk Test Classic Project ............................................................................... 80 Emailing a Project .................................................................................................. 82 Exporting a Project ............................................................................................................84 Troubleshooting Projects ...................................................................................................85 Files Not Found When Opening Project .................................................................85 Silk Test Classic Cannot Load My Project File ....................................................... 85 Silk Test Classic Cannot Save Files to My Project ................................................. 85 Silk Test Classic Does Not Run ..............................................................................86 My Files No Longer Display In the Recent Files List ..............................................86 Cannot Find Items In Classic 4Test ........................................................................86 Editing the Project Files ..........................................................................................86 Project Description Dialog Box ..........................................................................................87 Enabling Extensions for Applications Under Test ........................................ 88 Extensions that Silk Test Classic can Automatically Configure .........................................88 Extensions that Must be Set Manually .............................................................................. 89 Extensions on Host and Target Machines .........................................................................89 Enabling Extensions Automatically Using the Basic Workflow ..........................................90 Enabling Extensions on a Host Machine Manually ........................................................... 90 Manually Enabling