uft mobile administrator - micro focus ... for android-based deployment, consider using the uft...

Click here to load reader

Post on 25-Feb-2021

2 views

Category:

Documents

0 download

Embed Size (px)

TRANSCRIPT

  • UFT Mobile Administrator Best Practices

    UFT Mobile

  • Micro Focus UFT Mobile

    Contents

    Installation and configuration ................................................................................................................................................ 3

    General deployment considerations ................................................................................................................................... 3 Deployment scenarios ........................................................................................................................................................ 4 Hardware requirements ..................................................................................................................................................... 5 Network requirements ....................................................................................................................................................... 6

    Network latency ............................................................................................................................................................ 6 UFT Mobile and SSL ....................................................................................................................................................... 6 UFT Mobile ports ........................................................................................................................................................... 7 Client tools and UFT Mobile server connectivity .............................................................................................................. 7

    Connector scalability .......................................................................................................................................................... 7 USB hubs and device power consumption ...................................................................................................................... 7 Device/s hosting ............................................................................................................................................................ 9 Device configuration .................................................................................................................................................... 10

    Maintenance operations ...................................................................................................................................................... 12

    Mobile lab inspection ....................................................................................................................................................... 12 Database maintenance..................................................................................................................................................... 13 Logs and TMP cleanup...................................................................................................................................................... 13

    Upgrade process .................................................................................................................................................................. 14

    Packaging services ........................................................................................................................................................... 15 Android packaging....................................................................................................................................................... 15 IOS packaging.............................................................................................................................................................. 15

  • 3

    Installation and configuration

    UFT Mobile can be installed as a full installation (where there is no previous installation of UFT Mobile) or as an upgrade on top of an existing installation.

    The installer checks which files are already installed, and installs or updates the relevant files.

    General deployment considerations

    UFT Mobile supports a distributed architecture in which different test clients can interact with the same UFT Mobile server instance.

    UFT Mobile deployment has a number of components:

    Component Function

    UFT Mobile Server

    This is a single web server that can be installed on a physical or virtual environment. It serves to:

     Mediate between the testing-tool client calls to mobile devices, and provide a user interface within the testing tool for recording and running tests on real mobile devices.

     Accept apps for testing and manages app versions.

     Provide a user interface (Lab Management console) for administrators to:

    o Manage users

    o Manage apps and view their properties such as OS and version

    o Control devices: restart, unlock, or open a device remotely

    o View and manage connectors

    o Configure various settings for users such as proxy definitions and packaging services

    o Enable extended services such as security scans, production usage, user sentiment, crowd testing, and SDK compliance.

    Note: When you install the UFT Mobile server, an embedded connector is also installed.

    PostgreSQL database

    You can choose either to connect UFT Mobile to an existing external PostgreSQL database, or use the database that is embedded in the UFT Mobile Server installation (physical or virtual).

    You specify this option during installation. For details, see UFT Mobile - Windows Installation or UFT Mobile - Linux Installation.

    https://admhelp.microfocus.com/mobilecenter/en/latest/Content/Install_server_Windows.htm https://admhelp.microfocus.com/mobilecenter/en/latest/Content/Install_server_Windows.htm https://admhelp.microfocus.com/mobilecenter/en/latest/Content/Server.htm

  • 4

    Component Function

    Connector The connector is designed as a lightweight piece of software for connecting devices to UFT Mobile, and can be installed as a standalone component. You can install the connector on multiple machines in distributed locations, or on your testing-tool machine. The connector can be installed on a Windows, Linux, or Mac machine.

    The connector manages the physical USB connection to the device, and the logical state machine on top of it.

    The connector can be installed on a virtual environment; however, it must maintain USB connectivity to the devices (USB pass-through for mobile devices).

    High Availability You can configure high availability in an active-passive configuration using multiple servers. In this mode there is one active UFT Mobile server, to which the load balancer routes all the requests, and another passive UFT Mobile server ready to take over in case the active server fails. For details on this configuration, see High Availability support in UFT Mobile (on-premises).

    File Storage System

    Applications are no longer stored in the database but are saved to the file system. When installing or upgrading, you can select a destination folder for storing applications uploaded to UFT Mobile.

    You can also control the number of uploads per application and choose to automatically delete old uploads of an application. This makes it easier for the UFT Mobile administrator to manage the number of application uploads that need to be maintained, and reduces load on the file storage system. For details on this feature, see the section File storage configuration section under Install UFT Mobile on a Windows machine and the section Limit application uploads under General settings.

    Deployment scenarios

    The decision point for UFT Mobile deployment scenario varies according to customer requirements.

    Scenario Description Advantages

    All-in-one Single box deployment for UFT Mobile server, database, and embedded connector.

    Simplicity. Ideal for proof of concept and local installations.

    3-Tier deployment Separate web and data layers by installing UFT Mobile server and databases on different locations.

    Scalability of web and database layers. Supports local IT best practices for web and database management.

    https://admhelp.microfocus.com/mobilecenter/en/latest/Content/High-Availability.htm https://admhelp.microfocus.com/mobilecenter/en/latest/Content/High-Availability.htm https://admhelp.microfocus.com/mobilecenter/en/latest/Content/Install_server_Windows.htm#mt-item-2 https://admhelp.microfocus.com/mobilecenter/en/latest/Content/Admin-Settings.htm#mt-item-1

  • 5

    For the deployment of connectors/devices, the following scenarios can be considered:

    Scenario Description Advantages

    Central device hub A central lab of devices connected to the connector on the UFT Mobile server machine.

    Efficiency. Avoids duplication of tasks for setting up and managing devices.

    Distributed device hubs

    Connectors installed on machines in multiple locations (on-site/off- site/globally dispersed).

    Scalable. New labs can be added as needed.

    Bring your own device

    Connector installed on a developer's/testing engineer's machine.

    Supports hands-on testing of the app on the device.

    Hardware requirements

    The full list of hardware requirements for UFT Mobile is available at https://admhelp.microfocus.com/mobilecenter/en/latest/Content/Before_starting_installation.htm

    When planning UFT Mobile hardware resources, take the following parameters into consideration:

View more