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

Does LeanFT supports multithreading for mainframe

Using LeanFT I’m automating mainframe via Pcomm emulator. Now I’m trying to have multithreaded (by opening multiple pcomm sessions) & tried different approaches but LeanFT is passing data to only first session. Does LeanFT supports multithreaded,…
user1995151
  • 97
  • 1
  • 8
1
vote
1 answer

Unable to click on a button (tag=>EDL-FILE-UPLOAD) using LeanFt +Java automation script

In a web app that we are testing using LeanFt, there is a type button object with the tag (EDL-FILE-UPLOAD). A dialog to browse the file system and upload a file must pop up when this button is clicked. This happens when the button is clicked…
1
vote
1 answer

How to interface with iFrames in Salesforce?

Currently developing automation against Salesforce using LeanFT v12.54 and Visual Studio 2012 (using C#). Working with Chrome Version 80.0.3987.149 (Official Build) (64-bit). On Windows 10. I'm building an app model for the Contracts tab within…
1
vote
1 answer

Leanft not identifying terminal emulator screen objects

I am trying to spy the mainframe screen from leanft, but it is not identifying the individual fields. It is just identifying the whole screen and in the object identification center, it is showing as Java.UiObject:Screen. I have registered the…
1
vote
1 answer

Convert DynamicObjectProxy to Object[] in LeanFT

I have a UI component which is JComboBox. I'm trying to invoke method "getSelectedObjects()" which returns an array of Object[] public Object[] getSelectedObjects() { ........ } In the automation I have written the below code.. NativeObject obj =…
user1184100
  • 6,742
  • 29
  • 80
  • 121
1
vote
0 answers

NUnit TestCaseAttribute throwing expcetion in LeanFT TestTearDown

Summary: When I use NUnit3 TestCaseAttribute to parametrize LeanFT tests, TestTearDown() throws this exception: System.InvalidCastException: 'The of object of type "HP.LFT.Report.RunUnitVerificationNode" cannot be converted to type…
tomwaitforitmy
  • 509
  • 3
  • 16
1
vote
1 answer

Lean FT: track *.tsrx.cs files with version control like git?

I am new to Lean FT and was wondering about a decent .gitignore template. Lean FT generates *.tsrx files for app models and corresponding *.tsrx.cs files containing header information that explains these files are automatically generated. I assume…
tomwaitforitmy
  • 509
  • 3
  • 16
1
vote
0 answers

My LeanFT Trial License which has the duration of 60 days expires immediately after 1 day of the installation

I installed the Visual Studio 217. I downloaded and installed the LeanFT after making the credentials at their respective website. On website, it is displaying the remaining days as 60. I launched the Visual Studio and started working on LeanFT. I…
1
vote
0 answers

LeanFT and selenium webdriver screenshot - switching between

We are using selenium for web based applications and LeanFT for desktop & Citrix apps (eg: PowerBuilder, Terminal emulator) using Java Using LeanFT or selenium exclusively causes no issues (we use LeanFT reporter and selenium TakesScreenshot) but…
HiroMT
  • 11
  • 2
1
vote
0 answers

How to automate API testing with Java for LeanFT / Cucumber framework automation framework?

How can I automate API testing with Java? We have built a testing automation framework with the combination of LeanFt / Cucumber. We are automating our GUI-based application by using LeanFt tool and writing test scenarios with Cucumber. Now we are…
1
vote
1 answer

Interacting with already opened browser using HP LeanFT

I have to interact with already an opened browser and perform few clicks, Page navigation and read text from form controls. Can LeanFT has the capability to do so?
Naren
  • 31
  • 3
1
vote
1 answer

LeanFT C# 'Are you sure you want to leave this page?' Dialog

Problem: In IE11, a dialog alert is displayed of "Are you sure you want to leave this page?" with two options, 'Leave this page' or Stay on this page'. In object spy, this is what is captured: browser.Describe(new DialogDescription …
BK Hasan
  • 121
  • 1
  • 1
  • 9
1
vote
1 answer

Can I do REST API testing in LeanFT and have test results updated in HP ALM?

I found that API testing is supported by UFT. What about LeanFT. I know I could do the testing with help of some Java libraries, but I am not sure if test results can be updated in HP ALM. What is the trick here? Can I or cannot do the API testing…
automationleg
  • 323
  • 6
  • 11
1
vote
1 answer

LeanFT C# Selecting a Value From Drop Down List

I'm having some trouble using Object Identification on a drop down list, what is being returned is this: IListBox pricerBox= browser.Describe(new ListBoxDescription { TagName = @"SELECT", …
BK Hasan
  • 121
  • 1
  • 1
  • 9
1
vote
0 answers

LeanFT 14,5 file upload functionality

Can you please let me know why my file upload functionality is NOT working: @Test public void testUploadFile() throws GeneralLeanFtException { //Launch Chrome Browser browser = BrowserFactory.launch(BrowserType.CHROME); …