Silk Test 20.5

Total Page:16

File Type:pdf, Size:1020Kb

Silk Test 20.5 Silk Test 20.5 Silk4NET User Guide 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 ........................................................................................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 Enhance Security with Java-based Encryption ................................................................. 15 Usability Enhancements ....................................................................................................15 Technology Updates ..........................................................................................................15 Getting Started with Silk4NET .........................................................................17 Working with Silk4NET Projects ..................................................................... 18 Creating a Silk4NET Project ............................................................................................. 18 Creating Silk4NET Tests .................................................................................. 20 Adding a Silk4NET Test to a Project ................................................................................. 20 Recording a Silk4NET Test ............................................................................................... 21 Recording a Test on Microsoft Edge ................................................................................. 22 Recording a Test on Mozilla Firefox .................................................................................. 23 Recording a Test on Google Chrome ................................................................................24 Characters Excluded from Recording and Replaying ....................................................... 25 Actions Available During Recording .................................................................................. 25 Manually Creating a Silk4NET Test ...................................................................................26 Best Practices for Creating Test Scripts ............................................................................26 Adding a Verification to a Script while Recording ..............................................................27 Adding a Locator or an Object Map Item to a Test Method Using the Locator Spy ...........27 Replaying Tests ................................................................................................ 29 Running Silk4NET Tests ................................................................................................... 29 Replaying a Test from the Command Line ........................................................................ 29 Running Tests in Parallel ...................................................................................................30 How Does Silk4NET Synchronize Tests? ..........................................................................31 Enabling the Playback Status Dialog Box ......................................................................... 33 Analyzing Test Results .................................................................................... 34 Analyzing Test Results ...................................................................................................... 34 HTML Reports ...................................................................................................................34 Visual Execution Logs with TrueLog ................................................................................. 34 Enabling TrueLog ................................................................................................... 35 Changing the Location of the TrueLog ................................................................... 35 TrueLog Sections ....................................................................................................36 Capturing the Contents of a Web Page ..................................................................36 Why is TrueLog Not Displaying Non-ASCII Characters Correctly? ........................ 37 Why Does TrueLog Not Write Result Files During Playback? ................................ 37 Silk Test Open Agent ....................................................................................... 38 Starting the Silk Test Open Agent ..................................................................................... 38 Stopping the Open Agent After Test Execution .................................................................38 Agent Options ................................................................................................................... 38 Configuring the Connections Between the Silk4NET Components .................................. 47 Configuring the Port to Connect to the Information Service ..................................48 Contents | 3 Configuring the Port to Connect to the Open Agent ...............................................49 Editing the Properties of the Silk Test Information Service .................................... 50 Replacing the Certificates that are Used for the HTTPS Connection to the Information Service ............................................................................................................................... 51 Remote Testing with the Open Agent ................................................................................52 Testing with a Remote Open Agent ........................................................................52 Base State ......................................................................................................... 53 Modifying the Base State from the User Interface .............................................................53 Modifying the Base State in a Script ................................................................................. 55 Running the Base State .................................................................................................... 57 Application Configuration ............................................................................... 59 Modifying an Application Configuration .............................................................................60 Select Application Dialog Box ........................................................................................... 61 Editing Remote Locations ................................................................................................. 61 Application Configuration Errors ....................................................................................... 62 Troubleshooting Application Configurations ...................................................................... 63 Creating a Test that Tests Multiple Applications ................................................................63 Setting Script Options ..................................................................................... 65 Setting TrueLog Options ....................................................................................................65 Setting Recording Preferences ......................................................................................... 66 Setting Browser Recording Options .................................................................................. 66 Setting Custom Attributes ................................................................................................. 67 Setting Classes to Ignore .................................................................................................. 68 Setting WPF Classes to Expose During Recording and Playback ....................................69 Setting Synchronization Options ....................................................................................... 69 Setting Replay Options ..................................................................................................... 70 Setting UI Automation Options ..........................................................................................71 Setting Advanced Options .................................................................................................71 Silk4NET Sample Tests ....................................................................................73 Object Recognition .......................................................................................... 74 Locator Basic Concepts
Recommended publications
  • Silk Test 20.5
    Silk Test 20.5 Silk4J User Guide 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 Welcome to Silk4J 20.5 ....................................................................................10 Licensing Information ......................................................................................11 Silk4J ................................................................................................................ 12 Do I Need Administrator Privileges to Run Silk4J? ........................................................... 12 Best Practices for Using Silk4J ........................................................................................ 12 Automation Under Special Conditions (Missing Peripherals) ............................................13 Silk Test Product Suite ...................................................................................................... 14 What's New in Silk4J ........................................................................................16 Save Time and Costs with Service Virtualization for Mobile Devices ............................... 16 Enhance Security with Java-based Encryption ................................................................. 16 Usability Enhancements
    [Show full text]
  • Silk Test 20.0
    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
    [Show full text]
  • Installing Silk Test
    Silk Test 19.0 Installation 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-06-04 ii Contents Introduction ........................................................................................................ 5 System Requirements and Prerequisites ............................................................................5 Hardware Requirements .......................................................................................... 5 Software Requirements ............................................................................................5 Tested Software ........................................................................................................5 Administrator Privileges ...................................................................................................... 9 Items Included with Silk Test ............................................................................................... 9 Licensing Information ......................................................................................11 Silk Test Licensing ..........................................................................................
    [Show full text]
  • Silk Test Classic Open Agent Help Micro Focus the Lawn 22-30 Old Bath Road Newbury, Berkshire RG14 1QN UK
    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
    [Show full text]
  • Handout: Automation Version: ST/Handout/0907/1.0 Date: 28-09-07
    Handout: Automation Version: ST/Handout/0907/1.0 Date: 28-09-07 Cognizant 500 Glen Pointe Center West Teaneck, NJ 07666 Ph: 201-801-0233 www.cognizant.com Automation TABLE OF CONTENTS Introduction ................................................................................................................................3 About this Module ......................................................................................................................3 Target Audience.........................................................................................................................3 Module Objectives .....................................................................................................................3 Pre-requisite ..............................................................................................................................3 Automation- An Introduction ......................................................................................................4 Objective:...................................................................................................................................4 What is Automation?..................................................................................................................4 Why Automation Required? .......................................................................................................4 What to automate?.....................................................................................................................4 When
    [Show full text]
  • Silk Central 16.5 Release Notes
    Silk Central 16.5 Release Notes Borland Software Corporation 700 King Farm Blvd, Suite 400 Rockville, MD 20850 Copyright © Micro Focus 2015. All rights reserved. Portions Copyright © 2004-2009 Borland Software Corporation (a Micro Focus company). MICRO FOCUS, the Micro Focus logo, and Micro Focus product names 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. BORLAND, the Borland logo, and Borland product names are trademarks or registered trademarks of Borland Software Corporation 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. 2015-09-29 ii Contents Silk Central 16.5 Release Notes ........................................................................ 4 What's New in Silk Central 16.5 ........................................................................ 5 Support for Microsoft Windows 10 and the new Internet Browser Edge .............................5 Keyword-Driven Testing Enhancements ..............................................................................5 Manual Testing Enhancements ........................................................................................... 6 User Interface Improvements .............................................................................................. 7 Silk Performer Performance Trends Dashboard Panel ........................................................7
    [Show full text]
  • Silk Test 21.0.1
    Silk Test 21.0.1 Installation Guide Micro Focus The Lawn 22-30 Old Bath Road Newbury, Berkshire RG14 1QN UK http://www.microfocus.com © Copyright 1992-2021 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. 2021-09-10 ii Contents Introduction ........................................................................................................ 5 System Requirements and Prerequisites ............................................................................5 Hardware Requirements .......................................................................................... 5 Software Requirements ............................................................................................5 Tested Software ........................................................................................................5 Administrator Privileges ...................................................................................................... 9 Items Included with Silk Test ............................................................................................... 9 Licensing Information ......................................................................................10 Silk Test Licensing ........................................................................................... 11 Generating a Silk Test License Policy ..............................................................................
    [Show full text]
  • Silk Test 20.0
    Silk Test 20.0 Keyword-Driven Testing 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 Keyword-Driven Tests ........................................................................................4 Test Automation Overview ...................................................................................................4 Advantages of Keyword-Driven Testing ...............................................................................5 Keywords .............................................................................................................................5 Integrating Silk Test with Silk Central .................................................................................. 6 Uploading a Keyword Library to Silk Central .......................................................................7 Uploading a Keyword Library to Silk Central from the Command Line ............................... 9 Creating a Keyword-Driven Test by Automating a Manual Test .........................................10 Creating a Keyword-Driven Test in Silk Central .................................................................11 Managing Keywords in a Test in Silk Central ...................................................................
    [Show full text]
  • Silk Test 20.5 Release Notes
    Silk Test 20.5 Release Notes 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 Silk Test 20.5 Release Notes ............................................................................. 4 Silk Test Product Suite ...................................................................................... 5 System Requirements and Prerequisites ........................................................ 7 Hardware Requirements ..................................................................................................... 7 Software Requirements .......................................................................................................7 What's New in Silk Test ......................................................................................8 Save Time and Costs with Service Virtualization for Mobile Devices ................................. 8 Enhance Security with Java-based Encryption ................................................................... 8 Usability Enhancements ......................................................................................................8 Technology Updates ............................................................................................................8 Known
    [Show full text]
  • Silk Test 21.0
    Silk Test 21.0 Silk4J User Guide Micro Focus The Lawn 22-30 Old Bath Road Newbury, Berkshire RG14 1QN UK http://www.microfocus.com © Copyright 1992-2021 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. 2021-09-09 ii Contents Welcome to Silk4J 21.0 ....................................................................................10 Licensing Information ......................................................................................11 Silk4J ................................................................................................................ 12 Do I Need Administrator Privileges to Run Silk4J? ........................................................... 12 Best Practices for Using Silk4J ........................................................................................ 12 Automation Under Special Conditions (Missing Peripherals) ............................................13 Silk Test Product Suite ...................................................................................................... 14 What's New in Silk4J ........................................................................................16 Image Verification with Cross-Platform Reporting .............................................................16 Automatic Browser Support .............................................................................................
    [Show full text]
  • Silk Central
    Datenblatt Anwendungsbereitstellungsmanagement Silk Central Eine effektive Zusammenarbeit von Teams, Prozessen und Tools fördert erfolgreiche Projekte. Tests werden von Softwarebereitstellungsteams als zeitintensives und schwamming umrissenes Hindernis für die Erreichung der Projektziele gesehen. Micro Focus Silk Central ist eine offene Testmanagementlösung, die dieser Problematik begegnet, indem Ziele und Anforderungen mit Tests, Technologien und Prozessen abgestimmt werden. Die Lösung bietet ein integriertes Framework zur Verbesserung der Produktivität, Nachverfolgbarkeit und Transparenz bei allen Arten von Softwaretests und gewährleistet Kontrolle über die Anwendungsbereitschaft. Produktübersicht effiziente Methode für die Umwandlung von Schnellansicht Silk Central spiegelt die Arbeitsweise mo- manuellen in automatisierte Tests. • Verbesserung des ROI durch derner Unternehmen wider. Als skalierba- schlüsselwortgesteuerte Tests, Konvertieren von res, flexibles Testverwaltungsmodul hilft es Kunden- und Projektstruktur manuellen Tests in automatisierte Entwicklungsteams, höherwertige Software Silk Central erfüllt die vielfältigen Anforderungen schneller bereitzustellen und somit in kürzerer der Kunden und den Umfang der Bereitstellung • Geschäftsanforderungen mit verschiedenen Anforderungsintegrations- und Qualitätszielen Zeit einen höheren Wert zu erzielen. mithilfe von „Clients“, die einen Multi-Tenant- abstimmen Ansatz zur Projektkonfiguration zu unterstüt- Silk Central bietet ziel- und anforderungs- zen. Dies ermöglicht es Unternehmen,
    [Show full text]
  • Silk Central Data Sheet
    Data Sheet Application Delivery Management Silk Central Micro Focus Silk Central is an open solution that addresses test management by aligning goals and requirements with testing, technology, and processes. It provides an integrated framework for improving productivity, traceability, and visibility for all types of software testing and ensures control over application readiness. Product Highlights Key Benefits Effective collaboration across teams, pro- Drive reuse and reduce overheads cesses, and tools drives successful projects. ■ Reduce rework and drive reuse by sharing test Yet software delivery teams see testing as assets across projects. time-consuming, poorly focused, and a hin- ■ Improve ROI with keyword-driven testing and drance to project goals. Silk Central provides manual-to-automated test conversion. goal- and requirement-driven test manage- ■ Efficiently execute tests with parallel test ment. It coordinates technologies, resources, execution. team capabilities, and meaningful deliverables ■ Reduce cloud consumption by running execution to promote quality, collaboration, efficiency, servers in Kubernetes pods. and confidence. Silk Central scales from sup- ■ Quickly execute tests offline. porting a single project to being the axis that Control application readiness unites software development teams in differ- ■ Align business needs with multi-requirement ent locations, right across an organization. integrations and quality goals. Figure 1. Business Process Testing ■ Base go/no-go decisions on quality goals and Silk Central delivers control over application testing. quality by providing consistent, repeatable Test Asset Workflow ■ Control test process through test asset workflow. processes from traditional methodologies— Drive improved management and control ■ Understand every aspect of manual test planning such as waterfall—right through to more itera- across your tests while maintaining auditability.
    [Show full text]