UFT Class 38

UFT Class 38 (UFT Test Planning) UFT Test Process Test Planning Generating Basic Tests Enhancing Tests Running and Debugging Tests Analyzing Test Results Reporting Defects Test Planning in UFT i) Get Environment (UI design technology, Database) details from development team and select appropriate Add ins. Application Type: Web Application Application Environment: > HTML for web … Read more

UFT Class 37

UFT Class 37 (Recovery Scenarios Part-2, Regular Expressions) ‘Handle Test Run Error On Error Resume Next VbWindow(“Form1”).Activate VbWindow(“Form1”).VbComboBox(“Combo1”).Select “Chennai” VbWindow(“Form1”).VbComboBox(“Combo1”).Select “Goa” VbWindow(“Form1”).VbComboBox(“Combo1”).Select “Hyderabad” VbWindow(“Form1”).VbComboBox(“Combo1”).Select “New Delhi” VbWindow(“Form1”).VbComboBox(“Combo1”).Select “Mumbai” ‘Handle Object state Window(“Flight Reservation”).Activate Window(“Flight Reservation”).WinButton(“Button”).Click Window(“Flight Reservation”).Dialog(“Open Order”).WinCheckBox(“Order No.”).Set Window(“Flight Reservation”).Dialog(“Open Order”).WinEdit(“Edit”).Set DataTable(1, 1) OrdNo = Window(“Flight Reservation”).Dialog(“Open Order”).WinEdit(“Edit”).GetROProperty(“text”) If OrdNo =”” Then Window(“Flight Reservation”).Dialog(“Open … Read more

UFT Class 36

UFT Class 36 (UFT Error Handling Part-1) Handling Expected and Unexpected Errors is called Error Handling. Expected Errors: Whenever we use invalid input then we can expect errors. Why we need to use Invalid input? We use invalid input for negative Testing. Unexpected Errors:——————— i) Resource response: ii) Insufficient Resource: iii) Availability of the Resource: … Read more

UFT Class 35

UFT Class 35 (Object Identification Configuration Part-2, UFT Tool settings configuration, Dictionary Object) i) How to configure single object? Open Object Repository > Select Object Add Property and Value ii) How to maintain different configurations for same environment? 3 web Application Steps: First Configure Object Identification according to 1st Application > generate Script and store … Read more

UFT Class 34

UFT Class 34 (Object Identification Configuration) Test design in UFT: Object Repository based Test Design Descriptive Programming > Object Identification Configuration feature is related to Object Repository based Test Design only. > What is Object Identification Configuration? Configuring important properties information for Objects to recognize them uniquely. > Why Object Identification Configuration? Generally 20 to … Read more

UFT Class 33

UFT Class 33 (Debugging Tests, Database Objects and VBScript Examples) What is Debugging? Locating and isolating errors thru Step by step execution. Debugging is optional. When Debugging is required? Whenever Test is not showing any errors and not providing correct output. How to debug? Using VBScript debug commands and breakpoints. i) Step into (F11) a) … Read more

UFT Class 32

UFT Class 32 (Batch Testing/ Batch Execution) Batch Testing: Executing series of Tests > It is one of the advantages of Test Automation, In Manual Testing for each and every Test case execution human user interaction is mandatory. If It is automation Test Tool can execute series of tests without user interaction. They are four … Read more

UFT Class 31

UFT Class 31 (VBScript Excel Application Operations Part-2) Excel Application Object (Main Object) Set Variable = CreateObject(“Excel.Application”) ———————————— Excel Workbook Object (Sub Object) Set Variable = ExcelApplicationObject.Workbooks.Add/Open(“File path”) ——————————————– Excel Work sheet object (Sub-sub Object) Set Variable = ExcelWorkBookObject.Worksheets(Sheet id) ——————————————————– Examples: ‘Read data from an excel file and perform data driven testing for login … Read more