UFT Tutorial 2: UFT Test Process
UFT Test Process I) Planning Get Environment Details from Development team (UI design technology and Database) and select appropraite Add in for our AUT UI design - for selecting Add ins Database - to create Database Connection string UFT Deployement / Installation Analyzing the AUT in terms Object Identification Select Tests for Automation Tests that can be executed on Every build (Sanity Tests) Tests that can be executed on Every Modified build (Regression Tests) Tests that can be executed using muliple sets of Test Data(Data Driven Tests) Tool settings Configuration and Globalize Object Identification Configuration Test settings Configuration Tool options Configuration etc... Automation Framework Implentation (Optional) --------------------------------------- II) Generating Basic Tests --------------------------- a) Object Repository based Test Design 1) Recording 2) Keyword driven methodology b) Descriptive Programming / Programmatic descriptions 1) Static programming 2) Dynamic Programming Hybrid (OR and DP) --------------------------------------- III) Enhancing Tests Try to use VBScript features: a) VBScript featutes are faster in execution b) VBScript featutes won't corrupt c) Script features have no limitations d) All VBScript featutes can be used internally as well as externally ----------------------------------------------------- 1) Inserting Checkpoints (9 + 3) (UFT) 2) Inserting Output values (UFT) 3) Inserting Transaction Points (UFT) (Start and End) / Timer Function (VBScript) 4) Inserting Flow control statements (VBScript) a) Conditional statements i) If statement ii) Select Case statement b) Loop statements i) For...Next ii) Do While / Until...Loop iii) While...Wend iv) For Each...Next 5) Generating steps using Step Generator (UFT) 6) Synchronization (UFT, VBS) 7) Parameterization (UFT, VBS) 8) Using Environment variables For centralized maintanense of Variables Tests portability 9) Adding comments 10) Calling Actions (UFT), Functions (VBScript) 11) Using Regular Expressions To handle dynamic objects For search operations 12) Using Automation Objects (VBScript) 13) Error Handling (VBScript, UFT) ---------------------------------------------- IV) Running and Debugging (Optional) Tests V) Analyzing Test Results VI) Reporting Defects
Download
0 formatsNo download links available.