UFT Automation Online Training

UFT Automation Training gives you control on overall concepts of UFT with VB Script.


FOR FREE DEMO contact :

Email : raj@apex-online-it-training.com

Phone/WhatsApp : +91-(850) 012-2107

USA Number : 214-628-3894

Gtalk : raavi.sriraja@gmail.com

Blog: https://best-online-it-training-institute.blogspot.com


UFT Interview Questions and Answers, Recorded Videos, Materials, Mock Interviews, Assignments Will be provided


UFT COURSE CONTENT

(the course agenda can be modified as per your requirements):


Module 1 (UFT Tool Fundamentals and Features)

Lesson 1 (Overview on Test Automation)

  • Disadvantages of Manual Testing
  • Advantages of Test Automation
  • Disadvantages of Test Automation
  • Types of Test Tools
  • Coverage of Functional Testing

Lesson 2 (Basic Features of UFT Tool)

• UFT Product Information


• UFT Version History


• UFT Supporting Environments


• UFT Internal and External Add ins


• UFT License


• UFT IDE

Lesson 3 (Overview on UFT Tool)

  • Add in Manager
  • UFT Editor
  • Active Screen
  • Data Table
  • Debug Viewer
  • Errors Pane
  • Missing Resources
  • UFT Too Menus
    • File Menu
    • Edit Menu
    • View Menu
    • Search Menu
    • Design Menu
    • Record Menu
    • Run Menu
    • Resources Menu
    • ALM Menu
    • Tools Menu
    • Window Menu
    • Help Menu

Lesson 4 (Software Test Process)


• Test Planning


• Test Design


• Test Execution


• Test Closure


Lesson 5 (UFT Test Process)

  • Test Planning
  • Generating Basic Tests
  • Enhancing Tests
  • Running and Debugging Tests
  • Analyzing Test Results
  • Reporting Defects

Lesson 6 (Recording and Running Tests)

  • Test Recording
  • Test Run / Execution
  • Recording Modes
    • Normal Recording
    • Analog Recording
    • Low Level Recording
    • Insight Recording

• Run Modes


• Advantages of Recording


• Disadvantages of Recording


Lesson 7 (Types of Objects in UFT)


• Overview on Software Objects


• Run-time Objects


• Test Objects


• Utility Objects


• Automation Objects


Lesson 8 (Object Repository)


• Local Object Repository


• Shared Object Repository


• Add Objects


• Rename Objects


• Delete Objects


• Export Local Objects


• Merge Repositories


• Associate Shared Repositories


• Load Shared Repositories


• Map Objects in between Object Repository and AUT


• Export Shared Objects to XML/ Import from XML


• Define New Test Objects


Lesson 9 (Object Identification Configuration)


• What is Object Identification Configuration?


• Why Object Identification Configuration?


• Normal Identification


• Smart Identification


• Ordinal Identifier


• Globalize Object Identification Configuration


Lesson 10 (Prerequisites for Generating Tests)


• Test Scenario


• Navigation / Steps


• Verification Points


• Error handling


• Input Data


• Comments


• Test Objects Information


• Methods / Operations Information


Lesson 11 (Keyword Driven Methodology)

Generating Tests Manually


• Create Shared Object Repositories


• Associate Shared Object Repositories / Load Shared Object Repositories at Run-Time


• Generate Tests or Test scripts


o Using Editor View


o Using Keyword View


o Using Step Generator


o By Drag and Drop Objects from Object Repository to Tool Editor


Lesson 12 (Types of Statements in UFT Test)


• Test Object Statements


• Utility Statements


• Declaration Statements


• Flow Control Statements


• Conditional Statements


• Loop Statements


• VBScript Statements


• Check point Statements


• Output value statements


• Action calls, Function Calls


Lesson 13 (Descriptive Programming)


• What is Descriptive Programming?


• Advantages of Descriptive Programming


• Identifying Unique Properties for Objects


• Static Programming


• Handling Duplicate Objects


• Handling Multiple instants of Application


• Centralized maintenance of Objects


• Dynamic Programming


Lesson 14 (Test Methods or Operations)


• Activate Method


• Click Method


• Close Method


• Set Method


• Select Method


• GetVisibleText Method


• GetRoProperty Method


• GetItemsCount Method


• GetContent Method


• WaitProperty Method


• ChildObjects Method


• Navigate Method


• Sync Method


• CaptureBitmap Method


Lesson 15 (Inserting Checkpoints)


• Inserting Standard Checkpoint


• Inserting Text Checkpoint


• Inserting Text Area Checkpoint


• Inserting Bitmap Checkpoint


• Inserting Database Checkpoint


• Inserting Accessibility Checkpoint


• Inserting XML Checkpoint (From Application)


• Inserting XML Checkpoint (From Resource)


• Inserting File Content Checkpoint


• Inserting Page Checkpoint


• Inserting Image Checkpoint


• Inserting Table Checkpoint


• Disadvantages of Checkpoints


Lesson 16 (Inserting Output Values)


• Inserting Standard Output value


• Inserting Text Output value


• Inserting Text Area Output value


• Inserting Database Output value


• Inserting XML (From Application) Output value


• Inserting XML (From Resource) Output value


• Inserting File Content Output value


Lesson 17 (Inserting Transaction Points)


• Inserting Start and End Transaction Points


• Timer Function


• Defining Test Results


• Transaction Points Vs Timer Function


Lesson 18 (Parameterization)


• What is Parameterization?


• Purpose of Parameterization?


• Data driven Testing


• How to Parameterize Tests?


• Ways of Parameterization

o Generate and Pass values using Loop statements


o Dynamic Submission of Test Data


o Using Data Table


o Using Action Parameters


o Using Environment variables


o Using Dictionary Object


o Using file System, Excel and Database Objects


Lesson 19 (Actions)


• What is Action?


• Purpose of Actions


• Types of Actions


• Create New Action


• Rename Actions


• Delete Actions


• Make an Action from Reusable to Non-Reusable and Vice versa


• Call an existing Action


• Copy Action


• Action Parameters (Input / Output)


Lesson 20 (Synchronization)

• What is Synchronization?


• Why Synchronization?


• When Synchronization is required?


• How to Synchronize UFT and AUT


o Inserting wait Statement


o Inserting Synchronization Point


o Increasing Tool default Synchronization Time


o Using Exist Property

• Select and Appropriate Method


• Advantages of Wait Statement


Lesson 21 (Environment Variables)

• Purpose of Environment Variables


• Types of Environment Variables


• Define Environment Variables


• Associate Environment Variables file to UFT


• Access Environment Variables


• Edit / Delete Environment Variables


Lesson 22 (Debugging Tests)


• What is Debugging?


• When Debugging is Required?


• How Debug?


• VBScript Debug Commands and Breakpoint


• Step by Step, At a Time, and Hybrid Test Executions


• Debug Viewer, Watch variables, change values of Variables


Lesson 23 (Batch Testing)


• Types of Test Run or Execution


• Batch Testing


o Batch Testing using “Test Batch Runner” Tool


o Batch Testing using AOM Script


o Batch Testing using Driver Script

o Batch Testing using Quality Center Tool / ALM


Lesson 24 (Recovery Scenarios)


• What is Recovery Scenario?


• Why Recovery Scenarios?


• Trigger Events


• Recovery Operations


• Create New Recovery Scenarios


• Associate Recovery Scenarios at Test level or Tool Level


• Edit Recovery Scenarios (If required)


• Delete Recovery Scenarios (If required)


Lesson 25 (UFT Tool Administration)


• Test Settings Configuration


• Tool Options and View Options Configuration


• Object Identification Configuration


• Virtual object Configuration


• What is Globalize Tool Settings?


• Why Globalize Tool Settings?


• How to Globalize Tool Settings?


Module 2 (VBScript for UFT Test Automation)



Lesson 1 (Overview on VBScript)

• Adding Comments


• Basic Features of Visual basic Scripting Edition


• Data Types


• Declaring Constants


• VBScript Variables


• Operators


• Conditional Statements


• Loop Statements


• Built-in Functions


• User defined Functions


• Regular Expressions


• File System Operations


• Working with Excel Application


• Working with Word Application


• Working with Databases


• Dictionary Object


• Error Handling


Lesson 2 (Adding Comments)


• Purpose of Comments


• Syntax for Adding Comments


• Comment a block of Statements


• Uncomment comment block


• Usage of Comments in UFT Test Automation


Lesson 3 (VBScript Data Types)


• Implicit Declaration of Data Types


• Check Data Sub Types


• Convert Data from One Sub Type to another


Lesson 4 (VBScript Variables)


• What is Variable?


• Implicit and Explicit Declaration of Variables


• Option Explicit Statement


• Assigning values to Variables


• Usage of variables


• Naming Restrictions


• Scope of Variables


• Types of Variables


• Array Variables


• Dynamic Arrays


• Dimensional Arrays


• Assigning Series of Values to Array Variable


Lesson 5 (VBScript Constants)


• Declaration of Constants


• Built-in Constants


• User defined Constants


Lesson 6 (VBScript Operators)


• What is Operator?

• Operator Precedence


• Arithmetic Operators


• Comparison Operators


• Logical Operators


Lesson 7 (VBScript Conditional Statements)


• If Statements


• Select Case Statements


• Usage of Conditional Statements in UFT


• Execute a Statement when condition is True (Simple If)


• Execute a Block of Statements when condition is True


• Execute a Block of Statements when condition is True otherwise execute another block of statements.


• Decide among Several alternates (ElseIf)


• Execute a block of statements when more than one condition is True (Nested If)


• Decide among Several alternates using Select case statement


• Single, Compound and Nested Conditions


• Positive and Negative Conditions


• Loops within Conditions and Vice Versa


Lesson 8 (VBScript Loop Statements)


• Purpose of Loop Statements


• For…Next Statement


• Terminating For Loop


• While…Wend Statement


• Do While / Until …Loop Statement


• Terminating Do Loop


• For Each…Next Statement


• Condition statements within Loops


• Nested Loops


Lesson 9 (Built-in Functions)


• Array Functions


• String Functions


• Date and Time Functions


• Input/Output Functions


• Conversion Functions


• Math Functions


• Miscellaneous Functions


• Usage of Built-in Functions in UFT


Lesson 10 (User Defined Functions)


• Types of User Defined Functions


• Sub Procedures


• Function Procedures


• Internal and External Functions


• Centralized maintenance Functions


Examples


o Sub Procedure with no Arguments


o Sub Procedure with Arguments


o Sub Procedure with Arguments and Verification points


o Function Procedure with returning value


o Function Procedure with returning multiple values


o Associating or Loading Function Library Files


o Calling a Function within the Function


Lesson 11 (Regular Expressions)


• What is Regular Expression?


• Usage of Regular Expressions in UFT Test Automation


• Handling Dynamic Objects


• Regular Expression Object


• Search Operations using Regular Expression Object


Lesson 12 (File System Operations)


• What is Computer File System?


• Examples for File System Operations


• How end user does File System Operations?


• How to do automatic File System Operations?


• Creating File System Object


Examples:


o Create a Folder (without manual interaction)


o Copy a Folder


o Delete a Folder


o Create a Text File or Flat File


o Copy a Text File


o Delete a Text File


o Create Text Stream Object


o Read data character by Character from a Text File


o Read Line by Line from a Text File


o Read entire content from a Text File


o Read data from a text file and perform Data Driven Testing


o Write Data continuously


o Write Data Line by Line


o Append Data


o Compare two text files by Size


o Compare two text files by Text


o Compare two text files by Binary Value (Exact match)


o Search Operations


o Checking existence of a Folder or Text File


Lesson 13 (Excel Application Operations)


• Create Excel Application Object


• Create Excel Work Book or File


• Create Excel WorkBook and Excel WorkSheet objects


• Read Data


• Data Driven Testing by fetching Test Data from an Excel File


• Write Data


• Read and Write Data using same file


• Compare Data (Exact Match)


• Compare Data (Textual Comparison)


• Compare Data (Many to Many Comparison)


• Search for Data


• Add / Remove new sheets to Existing excel file


• Rename Sheets


Lesson 14 (Database Operations)


• Create Database Connection Object


• Create Database Recordset Object


• Create Database Command Object


• Create Provider for Database connectivity


• Fetch entire Data from a database and perform Data driven Testing


• Fetch range of Data from a database and perform Data driven Testing


• Export Data from a Database to Excel file


• Export Data from a Database to Text file


• Export Data from Text file to Excel file


• Export Data from Excel file to Text file


• Export Data from Excel to Database


• Export data from Text file to Database


Lesson 15 (Dictionary Object)


• Create Dictionary Object


• Methods and properties in Dictionary Object Model


• Usage of Dictionary object in UFT Test Automation


Lesson 16 (Error handling in VbScript)


• Using Exist property and Conditional statements


• Using Some Built-in Functions


• Using Exit Statement


• Using Option explicit Statement


• Using On Error Resume Next Statement


Lesson 17 (VbScript Coding Conventions)


• Constant naming Conventions


• Variable Naming Conventions


• Object Naming Conventions


• Code Commenting Conventions


• Formatting Your Code


Module 3 (UFT Scripting)


Lesson 1 (Windows Scripting)


• Handling GUI Objects


• Object State validation


• Input Domain Coverage


• Output Domain Coverage


• Database Testing


• Other Examples


Lesson 2 (Web Scripting)


• Checking Links and other Web Objects


• Forms validation


• Output Domain Coverage


• Cookies Testing


• Web Script Examples

Module 4 (Automation Framework Design and Implementation)


Lesson 1 (Test Planning)


• Get Environment Details and select appropriate Add ins


• Analyzing the AUT (Application under Test) in terms of Object identification)


• Select Areas or Test Cases for Automation


• Test Estimations


• Tool Settings Configuration and Globalize


• Automation Framework Implementation (Optional)


Lesson 2 (Automation Framework Theory)


• What is Automation Framework?


• Why Automation Framework?


• Files to be created and used in Test Automation using UFT tool


• Tasks to be preformed in Test Automation using UFT tool


• Types of Automation Framework


• List of Keywords in UFT and VBScript


• Key Elements of Automation Framework


• Create Folder Structure


Lesson 3 (Automation Framework Implementation Practical)


• Create Folder structure to store Automation Resources


• Create Automation Resources and store into corresponding folders


• Create Organizer Spread sheet


• Generate Driver script


• Create Initialization Script


• Implementing Basic Framework


• Implementing Keyword Driven Framework


• Implementing Hybrid Framework