Silk Test 19.5 Silk4NET User Guide Micro Focus The Lawn 22-30 Old Bath Road Newbury, Berkshire RG14 1QN UK http://www.microfocus.com Copyright © Micro Focus 1992-2018. All rights reserved. MICRO FOCUS, the Micro Focus logo and Silk Test are trademarks or registered trademarks of Micro Focus IP Development Limited or its subsidiaries or affiliated companies in the United States, United Kingdom and other countries. All other marks are the property of their respective owners. 2018-10-23 ii Contents Licensing Information ........................................................................................9 Silk4NET ............................................................................................................10 Do I Need Administrator Privileges to Run Silk4NET? ......................................................10 Automation Under Special Conditions (Missing Peripherals) ............................................10 Silk Test Product Suite ...................................................................................................... 12 Enabling or Disabling Usage Data Collection ....................................................................13 Contacting Micro Focus .................................................................................................... 14 Information Needed by Micro Focus SupportLine .................................................. 14 What's New in Silk4NET ...................................................................................15 UI Automation Support ......................................................................................................15 Cross-Platform Resulting .................................................................................................. 15 Usability Enhancements ....................................................................................................15 Technology Updates ..........................................................................................................16 New Microsoft Windows Versions .......................................................................... 16 New Mozilla Firefox Versions ..................................................................................16 New Google Chrome Versions ............................................................................... 16 New Microsoft Edge Version .................................................................................. 16 New Apple Safari Version .......................................................................................16 New Android Version ..............................................................................................16 New iOS Version .................................................................................................... 17 New macOS Version .............................................................................................. 17 Java 11 Support ..................................................................................................... 17 New Java SWT Versions ........................................................................................ 17 Getting Started with Silk4NET .........................................................................18 Working with Silk4NET Projects ..................................................................... 19 Creating a Silk4NET Project ............................................................................................. 19 Creating Silk4NET Tests .................................................................................. 21 Adding a Silk4NET Test to a Project ................................................................................. 21 Recording a Silk4NET Test ............................................................................................... 22 Recording a Test on Microsoft Edge ................................................................................. 23 Recording a Test on Mozilla Firefox .................................................................................. 24 Recording a Test on Google Chrome ................................................................................25 Characters Excluded from Recording and Replaying ....................................................... 25 Actions Available During Recording .................................................................................. 26 Manually Creating a Silk4NET Test ...................................................................................26 Best Practices for Creating Test Scripts ............................................................................27 Adding a Verification to a Script while Recording ..............................................................28 Adding a Locator or an Object Map Item to a Test Method Using the Locator Spy ...........28 Replaying Tests ................................................................................................ 30 Running Silk4NET Tests ................................................................................................... 30 Replaying a Test from the Command Line ........................................................................ 30 Running Tests in Parallel ...................................................................................................31 How Does Silk4NET Synchronize Tests? ..........................................................................32 Enabling the Playback Status Dialog Box ......................................................................... 34 Analyzing Test Results .................................................................................... 35 Analyzing Test Results ...................................................................................................... 35 HTML Reports ...................................................................................................................35 Visual Execution Logs with TrueLog ................................................................................. 35 Enabling TrueLog ................................................................................................... 36 Changing the Location of the TrueLog ................................................................... 36 Contents | 3 TrueLog Sections ....................................................................................................37 Capturing the Contents of a Web Page ..................................................................37 Why is TrueLog Not Displaying Non-ASCII Characters Correctly? ........................ 38 Why Does TrueLog Not Write Result Files During Playback? ................................ 38 Silk Test Open Agent ....................................................................................... 39 Starting the Silk Test Open Agent ..................................................................................... 39 Stopping the Open Agent After Test Execution .................................................................39 Agent Options ................................................................................................................... 39 Configuring the Connections Between the Silk4NET Components .................................. 48 Configuring the Port to Connect to the Information Service ..................................49 Configuring the Port to Connect to the Open Agent ...............................................50 Editing the Properties of the Silk Test Information Service .................................... 51 Replacing the Certificates that are Used for the HTTPS Connection to the Information Service ............................................................................................................................... 52 Remote Testing with the Open Agent ................................................................................53 Testing with a Remote Open Agent ........................................................................53 Base State ......................................................................................................... 54 Modifying the Base State from the User Interface .............................................................54 Modifying the Base State in a Script ................................................................................. 56 Running the Base State .................................................................................................... 58 Application Configuration ............................................................................... 60 Modifying an Application Configuration .............................................................................61 Select Application Dialog Box ........................................................................................... 61 Editing Remote Locations ................................................................................................. 62 Application Configuration Errors ....................................................................................... 63 Troubleshooting Application Configurations ...................................................................... 64 Creating a Test that Tests Multiple Applications ................................................................64 Setting Script Options ..................................................................................... 65 Setting TrueLog Options ....................................................................................................65
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages313 Page
-
File Size-