UFT Tools and Utilities
UFT comes with several tools for different purposes like result deletion, silent runner etc. These UFT tools can be found at HP UFT program group menu, under tools folder. It was available in earlier versions as well but there are couple of new tools you will find in the list.
To open these tools Select Start > All Programs > HP Software > HP Unified Functional Testing > Tools
In this post we will discuss about these tools, their feature and how we can utilize them.
The first tool in the list is Activity Wizard. Activity Wizard tool is used to create a reusable custom activity. This is applicable only for API tests only. This is one of the coolest feature of UFT API is that we can write custom code functionality using C# and java. A collection of activities can be found under toolbox pane, which can be used for functional testing in areas like REST, Web Services etc. This wizard enables you to create new custom activities in the Toolbox pane.
Additional Installation Requirements
You will find this utility screen just after you finish UFT installation. There are several pre-requisites needs to be configured or installed in order to work UFT properly. For example – UFT debugging and remote access features, Configuration for certain Internet Explorer and DCOM settings etc.
The Additional Installation Requirement utility automatically configures all these settings, installs Microsoft debugger and runs the license setup wizard. The screen displays all the required pre-requisites, you just need to select them and click on run.
HP Micro Player
Micro Player enables you to view captured movies of a run session without opening UFT. When you capture a movie of your run session using the Screen Recorder, the movie is saved as an .fbr file in your run results folder. Open these recordings either by double click on the .fbr file directly or select File > Open in the Micro Player to select any
HP UFT Installation Validation tool
UFT installation validity tool can be used to verify the UFT installation done correctly. It analyze all the aspects in order to run UFT properly and the details can be used to troubleshoot issues. You have three actions
a. analyze – Analyze the system and UFT installation
b. View Report – View analysis report
c. Send email – Send report via email to troubleshoot.
There are two options available
Analysis – Details about operating system, Internet explorer, UFT Add-ins and availability of other components and applications
Version Verification – Scans system and reports version information of required libraries.
Java Add-in JRE Support Tool
This tool is only available when the Java add-in is installed with UFT. This tool opens the Java Add-in JRE Support Tool, which adjusts the JVM Runtime Parameters of your JRE to enable the Java Add-in to recognize Java applets and the Java objects within them.
License Validation Utility
License validation utility enables you to retrieve and validate license information. This utility can be used to validate and retrive information from License Key. You just need to enter license key into the required field and click on validate button. This Utility then decodes your license key and displays the information about license and validation result.
Password Encoder tool is used to encode the password, so that resulting string can be used in scripts or as an argument/parameter in data table. This is required as to ensure the integrity of the passwords.
Enter your Password you want to encode into the password field and click on generate.
Encoded string displays which can be copied to clipboard using Copy button.
Register Browser Control Utility
This utility is used when you have a web application which works in a container of another application. In other words, you have browser control available in an exe file.The utility enables you to register the control by defining the path of your web application hosting the control. After registration, UFT will recognize Web objects in your application when recording or running tests. Once your work is finished you have the option to unregister the control.
Remote Agent activates the UFT Remote Agent, which enables you to configure how UFT behaves when a GUI test or component is run by a remote application such as ALM. When you start Remote Agent it opens up at system tray. You can update Remote Agent Settings there.
Run Result Deletion Tool
This tool is used to delete Run Results which you don’t require. The result can be at a lication in file system or in ALM project.
Use Connect button to connect to an ALM project or browse to your result folder in file system. Tool lists out all the result file at a particular location. You can then Select and click on delete.
This tool works only for GUI tests only.
Silent Test Runner
Silent Test Runner enables you to simulate the way a test runs from LoadRunner, Performance Center, and Business Service Management. When you run a test using Silent Test Runner, it runs without opening the UFT user interface, and the test runs at the same speed as when it is run from LoadRunner, Performance Center, or Business Service Management At the end of the test run, you can view information about the test run and transaction times
You can also use Silent Test Runner to verify that your test is compatible with LoadRunner, Performance Center, and Business Service Management. A test will fail when run using Silent Test Runner if it uses a feature that is not supported by these products.
soapUI to API Test Converter
Using the soapUI to API Test conversion tool, you can convert soapUI tests to UFT APItests. The soapUI to API Test Converter tool does not support links between steps. If you convert a soapUI test with linked Web service calls, the links will not be transferred tothe API/Service Test test.
You just need to select the soapui project xml file. Enter Destination folder where you want to have converted project and click on convert.
You can also run the soapUI converter utility from the command line. Run the following command in the command line:
soapUI2APITestCMD.exe /<source soapUI_file> /destination <destination directory>/
|/source||The absolute path to the soapUI file with an .xml extension, to be converted.
|/destination||The absolute path of the folder to where the created API tests will be written.
|The absolute path of the folder in which to write the log file. If this option is omitted, the log file is written to the destination folder.
Stingray Support Configuration Wizard
This tool is to configure UFT to recognize Stringray objects in your application through Wizard. This tool is only available when the Stingray add-in is installed with UFT.
Test Batch Runner
Test Batch Runner enables you to set up UFT to run several tests in succession. Add your tests and create batches.Once you are done setting up batch, run the batch. The tool will execute the test cases one by one in UFT.
These are all you can use in your test automation using UFT to enhance the automation suite. Hope this post is helpful, please let us know your feedback via comments below.