Silk Truelog Explorer 19.0
Total Page:16
File Type:pdf, Size:1020Kb
Silk TrueLog Explorer 19.0 Help 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 Performer 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-06 ii Contents TrueLog Explorer 19.0 .......................................................................................5 Getting Started ....................................................................................................................5 TrueLog Explorer Overview ...................................................................................... 5 What You Can Do with TrueLog Explorer ................................................................ 5 Tour of the UI ............................................................................................................6 Best Practice Use of TrueLog Explorer ................................................................. 10 Understanding TrueLog ..........................................................................................11 Analyzing Tests ...................................................................................................... 14 Working With Silk Performer ................................................................................. 20 TrueLog Explorer for Silk Test ................................................................................21 Perspectives ........................................................................................................... 21 Sample Applications ...............................................................................................22 Customizing Session Handling ......................................................................................... 27 Session-Handling Overview ................................................................................... 27 Determining When to Customize Session Handling ...............................................28 Customizing Session Handling ...............................................................................29 Self-Learning Recorder .......................................................................................... 31 Parsing Functions ...................................................................................................31 Session Handling for Web Applications ..................................................................32 Session-Handling Customization Process ............................................................. 33 Using HTTP Parsing Rules .....................................................................................36 Adding Verifications ...........................................................................................................38 Verifications Overview ............................................................................................ 38 Verification Checks .................................................................................................39 Inserting Content-Verification Functions ................................................................ 40 HTML Verification Functions .................................................................................. 40 Response-Data Verification Functions ................................................................... 45 Customizing User Data ..................................................................................................... 48 User-Input Data ...................................................................................................... 48 User-Data Customization Scenarios ...................................................................... 48 Customizing HTML User Data ................................................................................49 Form Data View ......................................................................................................51 Multi-Column Data Files ......................................................................................... 51 Working With Database Applications ................................................................................ 51 Working With Database Applications - Overview ................................................... 51 Sample Database Application - Customer OCI ...................................................... 52 Database TrueLog Structure .................................................................................. 52 Correlations ............................................................................................................ 53 Database Parsing Function .................................................................................... 57 Input Parameter Customization .............................................................................. 57 Verifications for Result-Set Data .............................................................................59 Working With XML Applications ........................................................................................ 60 Working With XML Applications - Overview ........................................................... 61 XML TrueLog Structure .......................................................................................... 61 XML Parsing Functions .......................................................................................... 64 Customizing Session Handling for XML Applications .............................................64 User-Input Data Customization .............................................................................. 64 Verification Functions for XML Applications ........................................................... 64 Working With SAPGUI Applications ..................................................................................66 SAPGUI TrueLog Structure .................................................................................... 66 SAPGUI TrueLog Functions ................................................................................... 66 Contents | 3 Stepping Through SAPGUI TrueLogs .................................................................... 67 Analyzing SAPGUI Test Scripts ..............................................................................67 Replay and Record TrueLogs .................................................................................68 SAPGUI Test-Script Customization ........................................................................ 69 Verification and Parsing Functions ......................................................................... 70 Working With Oracle Forms Applications ..........................................................................72 Working With Oracle Forms Applications - Overview .............................................72 Customizing Oracle Applications 12i Session Information ..................................... 72 Oracle Forms TrueLog Structure ............................................................................ 73 Oracle Forms User-Input Data Customization ....................................................... 79 Content Verification Functions for Oracle Forms ....................................................81 Completing Your Oracle Forms Script Customizations ...........................................82 Working With Citrix Applications ....................................................................................... 82 Silk Performer Citrix Player .....................................................................................82 Citrix TrueLogs ....................................................................................................... 82 Synchronization Problems in Citrix Scripts .............................................................84 Citrix User-Input Data Customization .....................................................................84 Citrix Parsing and Verification Functions ................................................................85 OCR Verification and Parsing .................................................................................87 Working With TCP/IP and UDP-Based Applications .........................................................88 TCP/IP and UDP TrueLog Structure .......................................................................89 Setting ASCII and Hexadecimal Viewing Options .................................................. 90 Comparing TCP/IP and UDP Record and Replay TrueLogs .................................. 90 Working With Terminal-Emulation Applications .................................................................91 Working With Terminal-Emulation Applications - Overview ....................................91 Terminal-Emulation TrueLog Structure ...................................................................91 Customizing Host Screen Display .......................................................................... 92 Stepping Through Terminal-Emulation TrueLogs ................................................... 92 Analyzing Terminal-Emulation Test Scripts ............................................................ 93 Comparing Replay and Record TrueLogs .............................................................. 93 Terminal-Emulation TrueLog Functions ..................................................................94