Autotestsql Operation Manual
Total Page:16
File Type:pdf, Size:1020Kb
AutoTestSQL Operation Manual AutoTestSQL Operation Manual by Liam Elliott This manual is also available as 'on-line help' from the dScope software. You can access the on-line help from the 'Help' menu. The on-line version is context-sensitive: by pressing F1, you can get immediate help for whichever menu or dialogue box you are currently using. Table of Contents Part 1 General information 1 Part 2 Introduction to AutoTestSQL 3 1 About... .this....... .manual............. ........................................................................................................ 3 Part 3 Operation overview 7 1 How. .it.. .works.......... .................................................................................................................. 7 2 Getting...... .started............ .............................................................................................................. 7 3 User. .interface............... .basics........... .................................................................................................... 9 4 AutoTestSQL.................. .modes............ .................................................................................................. 10 5 Reporting............ ..................................................................................................................... 10 6 AutoTestSQL.................. .and....... .dScope............. ......................................................................................... 10 7 Licensing............ ..................................................................................................................... 11 8 Information............... .about.......... .this...... .software............... .release............. .................................................................. 11 Part 4 Test structure 15 1 Test.. ..structure............... .overview................ ............................................................................................. 15 2 Test.. ..Sets....... .and....... .Test....... .Elements................ ..................................................................................... 16 3 Result...... .Sets........ .and...... .Result........... .Elements................ .............................................................................. 17 4 How... .a.. .result.......... .status.......... .is... .calculated.................. .............................................................................. 18 5 Scriptlets............ .and...... .their........ .responsibility....................... ............................................................................. 19 Part 5 Test Scriptlets 23 1 Introduction................ .to.... .VBScript............... ............................................................................................ 23 2 Product......... .and...... .Test........ .Set..... .Scriptlets................. ................................................................................ 24 3 The. .User......... .Script.......... ........................................................................................................... 24 4 The. ..SetResult................ .function.............. ............................................................................................... 25 5 Considering................ .Fault-find................. .mode......... ..................................................................................... 26 6 Script..... .functions................. .......................................................................................................... 28 Optional........... .Scriptlet.............. ..functions............... ............................................................................................................ 28 OnTestStart................................................................................................................................................ 28 OnTestFinish................................................................................................................................................ 29 ValidateSerialNumber................................................................................................................................................ 30 Built-in......... .functions................ ............................................................................................................................. 31 SetResult................................................................................................................................................ 31 GetLimits................................................................................................................................................ 32 GetMode................................................................................................................................................ 33 GetProductFamily................................................................................................................................................ 34 GetProduct................................................................................................................................................ 34 GetSerialNumber................................................................................................................................................ 34 GetOperatorName................................................................................................................................................ 35 GetOperatorID................................................................................................................................................ 35 TestStopped................................................................................................................................................ 35 TestFailed................................................................................................................................................ 36 StopTest................................................................................................................................................ 36 Functions.............. .in... .the..... .User........ .Script.......... ........................................................................................................... 36 ColourMsgBox................................................................................................................................................ 37 FailMsgBox................................................................................................................................................ 39 Colours................................................................................................................................................ 42 Alignment................................................................................................................................................ 42 7 Writing....... ..and...... .debugging.................. .scripts............ .................................................................................. 43 Choosing............. .a.. .script.......... .editor.......... ................................................................................................................. 43 Writing......... .scripts............ ................................................................................................................................. 44 Debugging............... .scripts............ ........................................................................................................................... 45 Common............ .script.......... .problems................ ............................................................................................................... 46 Reusability................ .of... .scripts............ ...................................................................................................................... 47 Part 6 Operation reference 51 1 Menus....... .......................................................................................................................... 51 2 Toolbar........ ......................................................................................................................... 52 3 Setup..... .mode.......... ................................................................................................................. 53 Setting......... .up.... .Products................ ........................................................................................................................ 54 Entering/editing....................... .Product............ .Family.......... .details................................................................................................ 55 Entering/editing....................... .Product............ .details........................................................................................................... 55 Setting......... .up.... .tests......... ............................................................................................................................... 56 Entering/editing....................... .Test....... .Set..... .details.......................................................................................................... 58 Entering/editing....................... .Test....... .Element............. .details.................................................................................................