13 Shares 4581 Views 1 Comments

LeanFT Tutorial #2: Browser Extensions and Settings

Aug 16, 2017
13 Shares 4,581 Views 1
LeanFT Tutorial

This post is in continuation with LeanFT tutorial series. Refer the last post on Getting Ready with LeanFT, if you would like to start over from beginning. In this post we will cover Browser Extensions that comes with LeanFT and Settings.

Browser Extensions

In order to identify objects on different browsers, LeanFT needs to have functional testing agent extension enabled for the browsers. Below browsers are supported 

  1. Google Chrome
  2. Mozilla Firefox
  3. Internet Explorer
  4. Microsoft Edge
  5. Safari
  6. Embedded Browser Controls

Browser extensions comes with LeanFT installation. After installation>>>link<<<, you can find these at path <LeanFT Installtion>\Installations\<Browser Folder>

LeanFT Extensions

Setup Chrome, Mozilla and Safari Just by Drag-Drop

Chrome, Mozilla and Safari can be installed quickly by dragging “Agent” file to the browser extension page.

Setup Internet Explorer

When you open internet explorer for the first time after Installing LeanFT, you will be prompted to enable HPE Functional Testing Agent. Don’t worry if you ignored it, you still can set this, goto Tools> Manage Add-ons and enable HPE Functional Testing Agent extension.

LeanFT IE Extension

Setup Microsoft Edge for LeanFT

To Setup Microsoft edge for leanFT, make sure that the Microsoft WebDriver is present in the LeanFT installation folder. Follow the steps below

  1. From the Microsoft WebDriver page, download the correct version of the WebDriver for your Microsoft Edge version.
  2. Copy the downloaded WebDriver.exe file to the <LeanFT installation>\bin folder, and rename it MicrosoftWebDriver.exe.
  3. Open an Edge browser session together with Edge Agent for Functional Testing. You can do this in one of the following ways:
  • From the Start Menu:  Edge Agent for Functional Testing.

For example, you would start Edge this way if you are working with the Object Identification Center (OIC) for Edge.

  • A BrowserFactory.Launch(BrowserType.Edge); statement.

After your browsers are set up with the required extensions:

  • If the LeanFT runtime engine or the OIC is open at the time you enable the agent for a browser, close and restart the LeanFT runtime engine after the browsers are configured.
  • When you use LeanFT to test Web applications, open your browser only after the LeanFT runtime engine is active. LeanFT does not recognize objects in browsers that were opened before the runtime engine.

Register embedded Browser Controls

If you have a non-Web application that hosts a browser control, you must register the control so that the LeanFT runtime engine can recognize the objects inside as Web objects.

You must register the browser control with LeanFT on any computer where you want to run your tests or use the OIC.

You register the control using the Register Browser Control Utility.

  1. Make sure UAC is disabled while using the utility or run the utility executable using Run As Admin.
  2. Run the Register Browser Control Utility from <LeanFT installation folder>\bin\SettingNewBrowserControlApplication.exe.
  3. Enter the path of the application containing the browser control and click Register.
  4. Restart the LeanFT runtime engine.

If needed, you can run this utility again at a later time to unregister the browser control.

LeanFT Settings

Settings can be accessed and modified from IntelliJ, Eclipse IDE or any other IDE if you are using. You can configure most of the LeanFT runtime engine settings, such as the technology add-in support to load, the connection port, Mobile Center connection information, and other connection settings in the LeanFTSettings dialog box.

LeanFT Settings

LeanFT runtime engine settings – To adjust the port of engine and Engine Idle time out. You can also specify object synchronization timeout, with which LeanFT should wait for the objects to load.

Object Identification settings – Its similar to what we have already seen in UFT, define identification parameters and priorities for all different types of objects

Add-ins – specify which add-ins are required for your test and you want to have it loaded

LeanFT Addins


Mobile Settings – specify the mobile center server address to automate the mobile applications with LeanFT.

Hope you are enjoying this tutorial series, Stay tuned for upcoming posts

You may be interested

UFT Patch Updates – UFT 14.03
Unified Functional Testing
1861 views1
Unified Functional Testing
1861 views1

UFT Patch Updates – UFT 14.03

Saket - Mar 11, 2018

Post the launch of UFT 14.0, there are three patch updates has been released including a number of features and enhancement. Recently Micro Focus unveiled third patch…

Setting up Web Service Automation Project
Katalon Studio
Katalon Studio

Setting up Web Service Automation Project

Saket - Oct 24, 2017

Web services are specific services that can be published and called over the Internet by client applications. Katalon Studio supports functional testing of web services. This topic…

Setting up Mobile Automation Project in MacOS
Katalon Studio
1169 views1
Katalon Studio
1169 views1

Setting up Mobile Automation Project in MacOS

Saket - Oct 09, 2017

Using Katalon Studio, mobile tester can design automation test for both Android and iOS to run on physical devices, cloud services and emulators. This tutorial explains how…

One Comment

  1. Pingback: LeanFT Tutorial #3: Object Identification Center (OIC) - Automated-360

Leave a Comment

Your email address will not be published.

Most from this category

Join The Growing Group of 15000+ Test Automation Engineers

Signup for our newsletter and get access to free downloads, as well as tips, tricks and techniques and various test automation resources.
Email Address
Secure and Spam free...