Silk Truelog Explorer 18.5
Total Page:16
File Type:pdf, Size:1020Kb
Silk TrueLog Explorer 18.5 Help Micro Focus The Lawn 22-30 Old Bath Road Newbury, Berkshire RG14 1QN UK http://www.microfocus.com Copyright © Micro Focus 2017. 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. 2017-10-17 ii Contents TrueLog Explorer 18.5 ........................................................................................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 ......................................................................................... 25 Session-Handling Overview ................................................................................... 25 Determining When to Customize Session Handling ...............................................26 Customizing Session Handling ...............................................................................27 Self-Learning Recorder .......................................................................................... 28 Parsing Functions ...................................................................................................29 Session Handling for Web Applications ..................................................................30 Session-Handling Customization Process ............................................................. 31 Using HTTP Parsing Rules .....................................................................................34 Adding Verifications ...........................................................................................................36 Verifications Overview ............................................................................................ 36 Verification Checks .................................................................................................37 Inserting Content-Verification Functions ................................................................ 38 HTML Verification Functions .................................................................................. 38 Response-Data Verification Functions ................................................................... 43 Customizing User Data ..................................................................................................... 46 User-Input Data ...................................................................................................... 46 User-Data Customization Scenarios ...................................................................... 46 Customizing HTML User Data ................................................................................47 Form Data View ......................................................................................................49 Multi-Column Data Files ......................................................................................... 49 Working With Database Applications ................................................................................ 49 Working With Database Applications - Overview ................................................... 49 Sample Database Application - Customer OCI ...................................................... 50 Database TrueLog Structure .................................................................................. 50 Correlations ............................................................................................................ 51 Database Parsing Function .................................................................................... 55 Input Parameter Customization .............................................................................. 55 Verifications for Result-Set Data .............................................................................57 Working With XML Applications ........................................................................................ 58 Working With XML Applications - Overview ........................................................... 59 XML TrueLog Structure .......................................................................................... 59 XML Parsing Functions .......................................................................................... 62 Customizing Session Handling for XML Applications .............................................62 User-Input Data Customization .............................................................................. 62 Verification Functions for XML Applications ........................................................... 62 Working With SAPGUI Applications ..................................................................................64 SAPGUI TrueLog Structure .................................................................................... 64 SAPGUI TrueLog Functions ................................................................................... 64 Contents | 3 Stepping Through SAPGUI TrueLogs .................................................................... 65 Analyzing SAPGUI Test Scripts ..............................................................................65 Replay and Record TrueLogs .................................................................................66 SAPGUI Test-Script Customization ........................................................................ 67 Verification and Parsing Functions ......................................................................... 68 Working With Oracle Forms Applications ..........................................................................70 Working With Oracle Forms Applications - Overview .............................................70 Customizing Oracle Applications 12i Session Information ..................................... 70 Oracle Forms TrueLog Structure ............................................................................ 71 Oracle Forms User-Input Data Customization ....................................................... 77 Content Verification Functions for Oracle Forms ....................................................79 Completing Your Oracle Forms Script Customizations ...........................................80 Working With Citrix Applications ....................................................................................... 80 Silk Performer Citrix Player .....................................................................................80 Citrix TrueLogs ....................................................................................................... 80 Synchronization Problems in Citrix Scripts .............................................................82 Citrix User-Input Data Customization .....................................................................82 Citrix Parsing and Verification Functions ................................................................83 OCR Verification and Parsing .................................................................................85 Working With TCP/IP and UDP-Based Applications .........................................................86 TCP/IP and UDP TrueLog Structure .......................................................................87 Setting ASCII and Hexadecimal Viewing Options .................................................. 88 Comparing TCP/IP and UDP Record and Replay TrueLogs .................................. 88 Working With Terminal-Emulation Applications .................................................................89 Working With Terminal-Emulation Applications - Overview ....................................89 Terminal-Emulation TrueLog Structure ...................................................................89 Customizing Host Screen Display .......................................................................... 90 Stepping Through Terminal-Emulation TrueLogs ................................................... 90 Analyzing Terminal-Emulation Test Scripts ............................................................ 91 Comparing Replay and Record TrueLogs .............................................................. 91 Terminal-Emulation TrueLog Functions ..................................................................92