HP UFT Connection Agent

Similar documents
HP AutoPass License Server

HP Business Service Management

HP ALM Performance Center

HP Business Availability Center

HPE ALM Client MSI Generator

HP ALM Client MSI Generator

HP Real User Monitor. Software Version: Real User Monitor Sizing Guide

HPE Enterprise Integration Module for SAP Solution Manager 7.1

HPE Application Performance Management

HP 3PAR OS MU1 Patch 11

HP Run Results Viewer

HPE ALM Excel Add-in. Microsoft Excel Add-in Guide. Software Version: Go to HELP CENTER ONLINE

IDE Connector Customizer Readme

HP ALM. Software Version: patch 2. Business Views Microsoft Excel Add-in User Guide

HP Operations Orchestration

HP UFT Web Add-in Extensibility

HPE Network Virtualization

HPE 3PAR OS MU3 Patch 24 Release Notes

HP Intelligent Management Center Remote Site Management User Guide

HPE Storage Optimizer Software Version: 5.4. Support Matrix

HPE 3PAR OS MU5 Patch 49 Release Notes

HPE RDX Utility Version 2.36 Release Notes

HPE 3PAR OS MU2 Patch 36 Release Notes

HPE 3PAR OS MU3 Patch 28 Release Notes

HP Data Center Automation Appliance

HP UFT Java Add-in Extensibility

HP ALM Lab Management

HP Service Test Management

HP Network Node Manager i Software Step-by-Step Guide to Scheduling Reports using Network Performance Server

HPE ControlPoint. Software Version: Support Matrix

HPE 3PAR OS GA Patch 12

HP Operations Manager

HPE 3PAR OS MU3 Patch 23 Release Notes

HP Data Protector Integration with Autonomy IDOL Server

HP 3PAR OS MU3 Patch 18 Release Notes

HP ALM. Software Version: Tutorial

HPE Operations Bridge Reporter

IDOL Site Admin. Software Version: User Guide

HP QuickTest Professional

Universal CMDB. Software Version: Content Pack (CP20) Discovery and Integrations Content Guide - Discovery Activities

Release Notes. Operations Smart Plug-in for Virtualization Infrastructure

HP Enterprise Collaboration

HP Enterprise Integration module for SAP applications

HPE ComputeSensor. User Guide. Software Version: 3.02 Windows and Linux operating systems. Document Release Date: August 2017

ALM. What's New. Software Version: Go to HELP CENTER ONLINE

HP Network Node Manager ispi Performance for Quality Assurance Software

HP ALM. Software Version: Tutorial

HPE Project and Portfolio Management Center

HP Enterprise Integration Module for SAP Solution Manager

HP Unified Functional Testing

HP 3PAR OS MU3 Patch 17

HPE Security ArcSight Connectors

HPE StoreEver MSL6480 Tape Library CLI Utility Version 1.0 User Guide

HPE 1/8 G2 Tape Autoloader and MSL Tape Libraries Encryption Kit User Guide

HPE Security ArcSight Connectors

HPE.NET Add-in Extensibility

HP Operations Orchestration

HP Device Manager 4.7

HPE Security ArcSight SmartConnectors. Format Preserving Encryption Environment Setup Guide

HP ALM Synchronizer for Agile Manager

HP SM Service Catalog-PPM Center Project Proposal Integration Solution

HPE 3PAR OS MU3 Patch 18 Upgrade Instructions

HP StorageWorks Enterprise Virtual Array 4400 to 6400/8400 upgrade assessment

HPE Remote Analysis Agent Software Version: 5.2 Microsoft Windows. Technical Note

SiteScope Adapter for HP OpenView Operations

OMi Management Pack for Microsoft SQL Server. Software Version: For the Operations Manager i for Linux and Windows operating systems.

HP Operations Orchestration

HP Database and Middleware Automation

HPE FlexNetwork MSR Router Series

HP Service Manager. Software Version: 9.41 For the supported Windows and UNIX operating systems. Collaboration Guide

Marvell BIOS Utility User Guide

HP Project and Portfolio Management Center

ALM. Tutorial. Software Version: Go to HELP CENTER ONLINE

HP Fortify Scanning Plugin for Xcode

HP Service Manager Integration Suite (SMIS)

HPE IDOL Site Admin. Software Version: Installation Guide

Business Process Testing

HP 3PAR OS MU2 Patch 11

HPE XP7 Performance Advisor Software 7.2 Release Notes

HPE Java Add-in Extensibility

Guest Management Software V2.0.2 Release Notes

HP UFT Patch 2 is a cumulative patch and includes the enhancements and fixed defects of patch 1.

HP Operations Orchestration Software

HP Service Manager. Software Version: 9.41 For the supported Windows and UNIX operating systems. SM Reports help topics for printing

HPE 3PAR OS MU2 Patch 53 Release Notes

Legal Notices. The information contained herein is subject to change without notice.

HPE Intelligent Management Center v7.3

HPE Automatic Number Plate Recognition Software Version: Automatic Number Plate Recognition Release Notes

HP Universal CMDB. Software Version: Content Pack (CP18) Discovery and Integrations Content Guide - Discovery Activities

HPE SiteScope. SiteScope Public API Reference Guide. Software Version: Go to HELP CENTER ONLINE

HP Business Service Management

Active Health System Viewer Release Notes

HP Operations Orchestration Software

HPE Security ArcSight. ArcSight Data Platform Support Matrix

HP Service Manager. Process Designer Tailoring Best Practices Guide (Codeless Mode)

HP ALM Lab Management

HPE Project and Portfolio Management Center

HP Universal CMDB. Software Version: DDMI to Universal Discovery Migration Walkthrough Guide

HP Project and Portfolio Management Center

HPE Security Fortify WebInspect Enterprise Software Version: Windows operating systems. Installation and Implementation Guide

Transcription:

HP UFT Connection Agent Software Version: For UFT 12.53 User Guide Document Release Date: June 2016 Software Release Date: June 2016

Legal Notices Warranty The only warranties for Hewlett Packard Enterprise Development LP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HPE shall not be liable for technical or editorial errors or omissions contained herein. The information contained herein is subject to change without notice. Restricted Rights Legend Confidential computer software. Valid license from HPE required for possession, use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor's standard commercial license. Copyright Notice Copyright 1992-2016 Hewlett Packard Enterprise Development LP Trademark Notices Adobe and Acrobat are trademarks of Adobe Systems Incorporated. Google and Google Maps are trademarks of Google Inc Intel and Pentium are trademarks of Intel Corporation in the U.S. and other countries. Microsoft, Windows, Windows XP, and Windows Vista are U.S. registered trademarks of Microsoft Corporation. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Support Visit the HPE Software Support Online web site at: https://softwaresupport.hpe.com This web site provides contact information and details about the products, services, and support that HPE Software offers. HPE Software online support provides customer self-solve capabilities. It provides a fast and efficient way to access interactive technical support tools needed to manage your business. As a valued support customer, you can benefit by using the support web site to: Search for knowledge documents of interest Submit and track support cases and enhancement requests Download software patches Manage support contracts Look up HPE support contacts Review information about available services Enter into discussions with other software customers Research and register for software training HP UFT Connection Agent (For UFT 12.53) Page 2 of 12

HP UFT Connection Agent Most of the support areas require that you register as an HPE Passport user and sign in. Many also require a support contract. To register for an HPE Passport ID, go to: https://softwaresupport.hpe.com and click Register. To find more information about access levels, go to: https://softwaresupport.hpe.com/web/softwaresupport/accesslevels. HPE Software Solutions & Integrations and Best Practices Visit HPE Software Solutions Now at https://softwaresupport.hpe.com/group/softwaresupport/search-result/- /facetsearch/document/km01702710 to explore how the products in the HPE Software catalog work together, exchange information, and solve business needs. Visit the Cross Portfolio Best Practices Library at https://hpln.hpe.com/group/best-practices-hpsw to access a wide variety of best practice documents and materials. HP UFT Connection Agent (For UFT 12.53) Page 3 of 12

UFT Connection Agent Overview This section includes: "What is the UFT Connection Agent?" below "What Do I Need to Configure on the Mac so UFT Can Test Web Applications?" on the next page "Can you have multiple connections to the Mac computer?" on the next page "How Do I Secure the Communication Between UFT and the Mac Computer" on page 6 What is the UFT Connection Agent? The UFT Connection Agent is a service installed on your Apple Mac computer, which enables UFT to communicate with the Safari browser using the WebSockets protocol. This enables UFT to run tests on Web applications running in Safari on the Mac and to spy on objects in these applications. When you install the UFT Connection Agent, the agent service is installed on your Mac, and the Unified Functional Testing Agent extension is installed on the Apple Safari browser. The UFT Connection Agent runs automatically after installation and after each restart of the Mac and communicates with UFT on the one hand and the Unified Functional Testing Agent Safari extension on the other. If you previously used UFT 12.00 to test Web applications on Safari, then after you upgrade UFT you must reinstall the UFT Connection Agent on the Mac from the current UFT version. The UFT Connection Agent preferences and the Unified Functional Testing Agent Safari extension preferences are reset to their defaults. If you want to use non-default preferences, for example, if you configured UFT to use a port other than the default 8822 for remote connections, then you must reconfigure these preferences on the Mac computer. This is required because of significant changes in the UFT Connection Agent's preferences. For example, the UFT Connection Agent now uses different ports to communicate with UFT and the Safari extension. In UFT 12.00, the same port was used for both communications. HP UFT Connection Agent (For UFT 12.53) Page 4 of 12

UFT Connection Agent Overview What Do I Need to Configure on the Mac so UFT Can Test Web Applications? By default, you do not need to modify the preferences set for the UFT Connection Agent and the Unified Functional Testing Agent extension. UFT and the connection agent communicate using port 8822 The connection agent and the UFT Safari extension communicate using port 8823. However, in some situations, you might want to specify different ports. For example: If another application on the Mac uses these ports. If multiple UFT users need to connect to the same Mac computer. Each UFT user can use a connection agent installed under a different Mac user account, with a different port number configured. Caution: If you modify the port numbers, make sure that: The UFT port defined in the UFT Connection Agent preferences matches the one defined in UFT. For details on setting this in UFT, see the topic on connecting to a remote Mac computer in the Web Add-in Quick Reference section of the HP Unified Functional Testing Add-ins Guide. The Safari port defined in the UFT Connection Agent preferences matches the one defined in the Unified Functional Testing Agent extension in Safari. In addition to the port numbers, you can configure the level of log messages to collect. By default, log messages are collected from the connection agent, but not the Safari extension. Can you have multiple connections to the Mac computer? Yes. Multiple users from different UFT instances can connect to the same Mac simultaneously using different ports. Each user must install the UFT Connection Agent and UFT Safari extension in their Mac user account, and configure the relevant port number in UFT, in the connection agent on the Mac. The Mac connection information is in the Record and Run settings, which are defined per test, therefore you can connect to different Macs or different ports when running different tests. However, UFT can connect to only one Mac at any time. HP UFT Connection Agent (For UFT 12.53) Page 5 of 12

UFT Connection Agent Overview How Do I Secure the Communication Between UFT and the Mac Computer When UFT communicates with the Mac, UFT acts as a client and the UFT Connection Agent acts as a server. You can secure this communication on different levels: 1. You can set up client authentication by defining a passphrase for UFT to use when contacting the Mac. 2. You can secure the communication between UFT and the UFT Connection Agent by requiring that they use an SSL connection. For more details, see the topic on securing the communication with the remote Mac computer in the Web section of the HP Unified Functional Testing Add-ins Guide For task details on configuring the UFT Connection Agent preferences, the Unified Functional Testing Agent Safari extension preferences, and the security settings, see "Configure the UFT Connection Agent preferences" on page 7. HP UFT Connection Agent (For UFT 12.53) Page 6 of 12

Installation, Configuration, and TroubleShooting The UFT Connection Agent is a service installed on your Apple Mac computer, which enables UFT to communicate with the Safari browser using the WebSockets protocol. This enables UFT to run tests on Web applications running in Safari on the Mac and to spy on objects in these applications. For details, see "UFT Connection Agent Overview" on page 4. This task describes installing and configuring the UFT Connection Agent. Install or Uninstall the UFT Connection Agent Note: You must have administrator permissions to install the UFT Connection Agent. All Mac users that use the UFT Connection Agent must have the agent installed in their Mac user account. 1. Copy the installer image file (UFTConnectionAgent.dmg) from the <UFT installation folder>/installations/safari folder to the Mac. 2. Open the UFTConnectionAgent.dmg image file. 3. Double-click (HP UFT Connection Agent.pkg) to start the installation wizard, or Uninstall to remove the agent from your Mac. This installs or removes both the UFT Connection Agent and the Unified Functional Testing Agent Safari extension. Note: If Safari or the System Preferences pane are open when you uninstall the agent, reopen them for the uninstallation to take effect. Configure the UFT Connection Agent preferences 1. To check or modify the status of the UFT Connection Agent, or to update its preferences, open System Preferences and double-click HP UFT Connection Agent. HP UFT Connection Agent (For UFT 12.53) Page 7 of 12

Installation, Configuration, and TroubleShooting 2. You can modify any of the following preferences (separately for each Mac user): Connection Port Numbers Security Configuration Safari port. The port on which the UFT Connection Agent communicates with the Unified Functional Testing Agent Safari extension. (Default: 8823) This number must match the Remote Agent Port number defined in the Unified Functional Testing Agent extension in Safari. UFT port. The port on which UFT communicates with the UFT Connection Agent. (Default: 8822) This number must match the number defined in UFT for initiating the remote connection to the Mac. Passphrase. The passphrase that UFT must use for authentication when initiating a remote connection to the Mac computer. This string must match the passphrase defined in UFT's Remote Connection pane in the Options dialog box (Tools > Options > GUI Testing > Remote Connection). The passphrase can be empty, but a long and complicated passphrase that is difficult to guess provides better security. Use SSL. Indicates that UFT must use SSL when initiating the connection to the Mac computer. If you select this option, then: o o o The Use SSL option, available in UFT when initiating a remote connection, must also be selected. You must specify the paths to the SSL certificate file to use for the communication and its SSL private key. These files must be accessible to the UFT Connection Agent when it sets up the connection. (Chain certificate files are also supported) In UFT (Tools > Options > GUI Testing > Remote Connection), specify the CA certificate that UFT can use to validate the SSL certificate file when received from the UFT Connection Agent. HP UFT Connection Agent (For UFT 12.53) Page 8 of 12

Installation, Configuration, and TroubleShooting Log Messages Configuration Log folder. The folder in which to save activity log messages. Make sure you have write permissions for this folder. Agent log level. The level of information to save in the agent log (Fatal, Error, Warning, Debug). The log is saved in the UFTAgent.log file in the specified folder. UFT Safari extension logs. Specifies whether to maintain a log of the Unified Functional Testing Agent Safari extension activity in addition to the UFT Connection Agent log. (Default: OFF). There is no need to turn these logs on, unless HP Support personnel request it. This log is saved in the SafariLog.log file in the same folder. To activate the Unified Functional Testing Agent Safari extension log, you must also select Enable Remote Logging in the extension's preferences in Safari. 3. Make sure the Safari browser is closed and then click Apply & Save to save your changes and restart the agent with the new preferences. The agent's status is displayed in the HP UFT Connection Agent preference pane. Check the status to make sure the agent runs successfully with the new preferences. If it does not, check the UFTAgent.log file for problem details. If you set the UFT Safari extension logs option to ON and the remote logger service that logs the Safari extension activity fails to run, this option is automatically set back to OFF. Check the SafariLog.log file for problem details. Configure the Unified Functional Testing Agent Extension in Safari 1. Open the Unified Functional Testing Agent extension in Safari. a. Select Safari > Preferences b. In the Preferences dialog box, select the Extensions tab. c. In the Extensions list in the left pane of the dialog box, select the Unified HP UFT Connection Agent (For UFT 12.53) Page 9 of 12

Installation, Configuration, and TroubleShooting Functional Testing Agent extension. 2. In the right pane, you can modify any of the following preferences: Remote Agent Port The port number on which the UFT Connection Agent communicates with the Safari browser. (Default: 8823) Caution: This number must match the Safari port number defined in the UFT Connection Agent preferences. Show Object Spy popover when Spy starts: Options related to maintaining a log of the Unified Functional Testing Agent Safari extension activity If you turned off the notification displayed on Safari when UFT initiates a Spy session, you can turn it back on using this option. Options related to maintaining a log of the Unified Functional Testing Agent Safari extension activity.there is no need to modify these options, unless HP Support personnel request it. Default Logging Level. The level of information to save in the Unified Functional Testing Agent Safari extension log file. (All, Trace, Debug, Info, Warn, Error, Fatal, Off ) Enable Remote Logging. Specifies whether to maintain a log of the Unified Functional Testing Agent Safari extension activity in addition to the UFT Connection Agent log. (By default, this option is cleared.) This log is saved in the SafariLog.log file in the same folder as the UFT Connection Agent logs. To activate the Unified Functional Testing Agent Safari extension log, you must also select UFT Safari Extension logs in the UFT Connection Agent preferences. Leave the Logging Exceptions box empty. This is intended for use by HP Support only. Troubleshoot the UFT Connection Agent If the agent remains in not running status after you update its preferences, check the UFTAgent.log file for problem details. For example, the ports you specified might be busy. They may be used by another application, or they may be in use by a UFT Connection Agent installed on the Mac under another user's account. HP UFT Connection Agent (For UFT 12.53) Page 10 of 12

Installation, Configuration, and TroubleShooting Alternatively, you might have entered a port number that is restricted by Apple. Consult the Apple support site regarding restricted or blocked ports. If UFT fails to connect to the Mac, make sure that the security settings defined in UFT match those defined in the UFT Connection Agent. For more details, see the topic on securing the communication with the remote Mac computer in the Web section of the HP Unified Functional Testing Add-ins Guide. If UFT fails to run tests on Safari or to recognize that it is installed on the Mac: Make sure that Safari port number defined in the UFT Connection Agent preferences, matches the Remote Agent Port number defined in the Unified Functional Testing Agent extension. Make sure that the UFT port number defined in the UFT Connection Agent preferences, matches the number defined in UFT for initiating the remote connection to the Mac. Make sure that you are not using a port number that is blocked by Safari. Consult the Apple support site regarding restricted or blocked ports. If you manually remove the Unified Functional Testing Agent extension from Safari, or the HP UFT Connection Agent preferences pane from the System Preferences, you can reinstall them by reinstalling the UFT Connection Agent on the Mac. Reinstalling the UFT Connection Agent resets its preferences to their defaults. Make sure to update the preferences, if necessary, so that the correct port numbers are defined in the agent preferences and in the Safari extension. If you turn on the UFT Safari extension logs, and when you save the preferences, the log option is set to OFF, check the SafariLog.log file for problem details. For example, the port used for these logs is the Safari port + 1. If this port is busy, the remote logger service fails. HP UFT Connection Agent (For UFT 12.53) Page 11 of 12

Send Us Feedback Let us know how we can improve your experience with the User Guide. Send your email to: docteam@hpe.com HP UFT Connection Agent (For UFT 12.53) Page 12 of 12