Checkpoints refer to a validation point that compares the current value with the expected value for specified properties of an object.
Parameterization tells UFT how & from where to fetch the Test Data for running the Test cases. One of the simplest method – using the Data Table!
HP UFT provides a COM interface that allows automation of UFT itself. This Automation object model enables user to write code to perform the core UFT tasks.
If you have segments of code that needs to be used several times, you may want to create a function and then call that function from within the main action.
UFT action is a component in which you can write your code, i.e. code for a specific functionality. Scenario: Say you want to send a mail from Gmail & then logout. What would the steps be for this Test script?
Will you start testing in parallel with development or only after the development is completed? What about testing at the code-level? i.e. code reviews to ensure best practices are followed. Will it only be reviews or will you actually run the application to identify defects? How about utilizing some automation tool to ease the process? Or will it be hybrid?
To begin automation, the first step every tester learns is ‘Record-and-Play’. Why? It’s the easiest 🙂 Also, during automation there will be cases when we need to record object using its properties, or continuous mouse movements, or object’s co-ordinates, or to record images of the object. The purpose defines the type of UFT Recording mode you select.
‘Repository’ is a generic term meaning a central location in which data is stored and managed. And why would someone need a central location? To access data from a single source of truth, which can be accessed across-locations by multiple users. Now apply the same concept to Automation.
In our last post “UFTBasics #6: Object Identification via Mandatory & Assistive properties”, we briefed about how to identify objects in an application using their ‘properties’. The next obvious step is ‘How do you extract the ‘attribute-value’ pair for an object’s properties? This is where “Object Spy” comes to rescue!
As stated in previous post – Textbox, Button, Image, Checkbox, Dropdown, Hyperlink, etc. – everything which is visible in an application is known as “Object”. Automation is all about identifying these “Objects” in the application and the subsequent “Actions” to-be-performed on it. But the question is – How do you identify different ‘Objects’ in the application via HP UFT?
As you all might know – HP UFT is a commercial (licensed) tool. There are two main types of UFT licenses – Seat and Concurrent.
Encryption There are 2 simple ways to encrypt a password or any text in UFT (QTP). First simple way is using the Password Encoder Utility provided by HPE along with the installation of QTP. To encode any string, open this utility from the below path: C:Program Files (x86)HPUnified Functional TestingbinCryptonApp.exe Now, enter the password/string to be encrypted in […]
Formerly known as HP QuickTest Professional (QTP), Unified Functional Testing (UFT) provides functional and regression test automation. It uses the Visual Basic Scripting Edition (VBScript) as its scripting language. UFT automates testing through an intuitive, visual user experience that ties manual, automated, and framework-based testing together in one IDE.
Nothing in this world comes for free, except the trial version. Though UFT is commercial, it does not stop us from Learning the basics of automation.