Questions tagged [leanft]

LeanFT (Lean Functional Testing) is a functional test automation tool from Micro Focus. Use this tag for questions related to creating functional tests with LeanFT.

MicroFocus LeanFT (Lean Functional Testing) is a functional test automation tool, built specifically for continuous integration and continuous testing. It integrates with the standard development IDEs, and enables automating AUTs of the most common technologies (web, mobile and desktop) on multiple platforms (Windows, Mac and Linux). For more information you can visit: https://software.microfocus.com/en-us/software/leanft

98 questions
1
vote
1 answer

LeanFT & Java: Run tests in Docker containers

LeanFT & Java: Run tests in Docker containers My Java-Based LeanFT Tests are working fine on my local Machine with IntelliJ, JUnit and LeanFT: Chrome opens, I see the test runs and everything is ok. Now I want to run these tests on in a Docker…
1
vote
2 answers

cast leanft browser to selenium driver

Is there a way to cast and convert the browser object that leanft uses to use selenium Iwebdriver object and toggle those leanft specialized identification methods when we need to? We have a solution that uses both selenium and leanft. The problem…
user5199
  • 359
  • 2
  • 15
1
vote
0 answers

Runtime Error in middle of large test suite : No more threads can be created

We have a very large automation suite that takes a good bit of time to run. These are UI tests for a windows app, and we use LeanFT & NUnit. S it is not web we do not yet have any sort of parallel/grid solution up and running. The whole suite has…
Tree55Topz
  • 1,102
  • 4
  • 20
  • 51
1
vote
1 answer

Setting proxy in LeanFT BrowserFactory.Launch command

Using following LeanFT C# script to launch google.com page but I want to pass this request through the proxy as all the external links needs to go through proxy due to corporate policies. IBrowser OBrowser =…
surya
  • 123
  • 10
1
vote
1 answer

Expanding a UIObject with Native Class of TreeViewItem

Original Question I have this expandable folder UIObject that I need to be able to expand to show all the subfolders. It can not be double clicked as this does not expand the folders. I saw from this documentation,…
Tree55Topz
  • 1,102
  • 4
  • 20
  • 51
1
vote
1 answer

LeanFT C# automation; Clicking on a wpf button control throwing exception

Getting HP.LFT.SDK.GeneralReplayException: One or more specified arguments are not valid, while trying to click on a wpf button (using LeanFT with C# integrated in Visual Studio 2015 ) Given the code below: // Identify the "LicensingButton"…
1
vote
1 answer

LeanFT & Selenium custom automation framework - no HTML report generated

I have been trying to make LeanFT html reports work with my Selenium/Junit framework, however so far without any joy. I have searched the topic multiple times on different forums incl. HP official materials and tried all setup methods that I could…
1
vote
0 answers

LeanFT not destroying the JVM after execution is complete

XmlSuite suite = new XmlSuite(); suite.setName("RegSuite"); XmlTest test = new XmlTest(suite); test.setName("MyTest"); List classes = new ArrayList(); classes.add(new XmlClass("tests.test1")); test.setXmlClasses(classes)…
1
vote
2 answers

Logging into a VM to run GUI tests at test startup

We are setting up our automation to run remotely so we can start incorporating them into the builds (you know, the whole CI/CD thing). These are a handful of important automated GUI tests that for obvious reasons, need an active VM to run. These are…
Tree55Topz
  • 1,102
  • 4
  • 20
  • 51
1
vote
2 answers

How to click on handle Chrome's "save as" dialog using Java in LeanFT Tool?

Using LeanFT's Java SDK, is it possible to perform click operation on "Save" button from Chrome's "Save As" dialog?
1
vote
0 answers

how can I use leanft on existing java automation framework

I have an existing java automation framework for Ibm's Rational RFT. We have decided to move to HP UFT as there needs to be BPT implemented for a SAP application. We are loathe to recode the java framework into .vbs and thought LeanFT might make it…
joe loyzaga
  • 11
  • 1
  • 1
  • 5
1
vote
1 answer

How to get SendKeys Method to Work with LeanFT?

In UFT it is pretty straight forward; however, when attempting to use the SendKeys method insert some simple text, the syntax apparently is not correct. Anyone used SendKeys with LeanFT?
Paul
  • 11
  • 1
  • 2
1
vote
1 answer

Executing UFT GUI tests via LeanFT

Our team has already developed bunch of tests (both API and GUI) using UFT. I am currently developing a LeanFT project as an Execution engine for all GUI and API tests. Regarding UFT API tests there is no issue as we are proveded with APITestRunner…
1
vote
0 answers

How do I use HP's UFT with Eclipse's EMF Client Platform?

I have an existing software system in pure Java (1.8, currently 32 bit), using Eclipse's EMF Client Platform. Some modules are opened in normal web browsers like IE, Chrome etc. while others are loaded into an Eclipse client as Eclipse plugins.…
thegreatjedi
  • 2,788
  • 4
  • 28
  • 49
1
vote
3 answers

LeanFT and Selenium Compatibility?

I would like to know if Selenium and LeanFT can play nicely together. I don't know if anyone has tried to do this yet, but I think if it can work, LeanFT can provide some supplementary benefits to the selenium framework. As I understand it…
Klisko
  • 87
  • 1
  • 1
  • 12