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
0
votes
0 answers

application model of leanft gets corrupted while pushing the code in git

I am working on LeanFT project and use local git for maintain it. Multiple team members are working on same project and do commit and push the code. But while pushing the code application model which is in format of xml get corrupted.
Digres
  • 74
  • 1
  • 7
0
votes
0 answers

BDD - Does LeanFT support web services testing?

We want to work with BDD in our project, we have already a valid leanft licence but I waw wondering if we can automate web service tests using leanft and cucumber? If not, can you please suggest some testing tools compatible with cucumber and…
Bek
  • 261
  • 3
  • 11
0
votes
0 answers

LeanFT: Unable to invoke methods with non-primitive parameter: No object is registered with cookie: [object Object]

I'm trying to invoke a method on a NativeObject, e.g.: nativeObject.invokeMethod("scrollRectToVisible", new DynamicObjectProxy(new Rectangle())); I came up with the idea to pass a DynamicObjectProxy as a method parameter as the…
Ubuntix
  • 324
  • 4
  • 15
0
votes
2 answers

How to integrate LeanFT Selenium with HP QC

Now I am using Selenium (Java + Maven + Jenkins + TestNG + GitHub) with Microsoft Test Manager (Test Management Tool) for UI Automation. Microsoft Test Manager provides the APIs to integrate/map the manual tests from test manager to automated tests…
ANP
  • 165
  • 12
0
votes
0 answers

Getting MessageTypeNotSupportedException in Leanft

When I run simple test to open calc, I'm getting the following error: com.hp.lft.sdk.MessageTypeNotSupportedException : Message type is not supported. I'm using leanft in IntelliJ. Looks like a simple error but I'm unable to resolve it.
Kishor
  • 1
0
votes
0 answers

LeanFT is unable to take screenshot

I try to take screenshot from current page under test with LeanFT to attach to report file. RenderedImage img = browser.getPage().getSnapshot(); Reporter.reportEvent("Login","Login successful", Status.Passed, img); I get error…
plaidshirt
  • 5,189
  • 19
  • 91
  • 181
0
votes
3 answers

HP TestExportTool ask for dependencies continuously

I have a LeanFT project, it is working properly, when I execute it from IDE. I generated a jar file with maven-assembly-plugin. org.apache.maven.plugins maven-assembly-plugin
plaidshirt
  • 5,189
  • 19
  • 91
  • 181
0
votes
0 answers

Unable to setup and run LeanFT Runtime Engine on Build machine VM

I have LeanFT SDK and Runtime engine installed on my local machine for automation testing using Visual Studio and Selenium. I use LeanFT and Selenium for automation testing. We connect to LeanFT runtime engine through the use of a license server,…
user5199
  • 359
  • 2
  • 15
0
votes
1 answer

LeanFT - Running tests remotely results in random SocketClient Exceptions

We have a large automated test suites that seperates test out into 4 groups. These 4 groups are ran on different remote machines. Occasionaly, tests will start to fail and we get the following error message…
Tree55Topz
  • 1,102
  • 4
  • 20
  • 51
0
votes
1 answer

LeanFT license status when JAR file is executed

How could LeanFT check licensing status, when JAR file is generated from a LeanFT project and executed without use of an IDE? In this case LeanFT runtime engine isn't started and URL of license server is not stored in jar file.
plaidshirt
  • 5,189
  • 19
  • 91
  • 181
0
votes
1 answer

Testing if the Editfield is editable using LeanFt

We have an editfield or textbox that is detected as a Winforms editfield in the object identification center of LeanFt, when it is spied upon. Whether it is editable or not depends on some pre-conditions. Depending on the pre-conditions we recreate,…
0
votes
0 answers

Error initializing WebDriver Chrome causing failure to wait for extension background to load

I am using Selenium C# + LeanFT to automate a web application. I sometimes get this error in Visual Studio, and I do not know why. Can someone shed light on how I might handle this: Error initializing WebDriver Chrome -> unknown error: failed to…
0
votes
2 answers

Package JAR from LeanFT project

I have a LeanFT testsuite with TestNG framework in IntelliJ IDEA. I generate jar file with mvn install command. I get error message when I try to execute it: Error: Could not find or load main class test.LeanFTest LeanFTest class is present in…
plaidshirt
  • 5,189
  • 19
  • 91
  • 181
0
votes
1 answer

Running LeanFT test parallely using testng xml

I'm trying to run the LeanFT tests parallely using TestNg XML in Chrome browser. It runs fine, but it opens every test session in the same browser causing issues with cookies for logins and log outs. Example: I'm running test from TestNG XML with…
0
votes
1 answer

LeanFT WPF testing: What is "FlightGuiSampleWpfApp()" in the Flight GUI Sample WPF App testing code sample?

I am trying to use LeanFT to test the Flight GUI WPF app that comes with UFT. MicroFocus has provided the code to do this at the location…
Burak
  • 19
  • 4