LeanFT with Java
Introduction Supported applications Installation of LeanFT and plugins for IDEs Installing browser Extensions LeanFT settings,Object identification Center Understanding LeanFT SDK API Installing the LeanFT jar files in Maven Repository Creating LeanFT Maven Project Creating LeanFT Project with Gradle and TestNG LeanFT Properties Setting up LeanFT project in IntelliJ IDEA Creating maven project with JUnit with LeanFT in Eclipse Creating maven project with TestNG in Eclipse Description programming Application model Using regular expression in property values First web application test Identifying the Web elements using XPATH and CSS Identifying objects using Visual Relational Identifiers – VRI Handling embedded browser control in Windows app Firing events on Web Elements using LeanFT Executing JavaScript in web page Automating standard windows application Automating Java Application Automating WPF applicationsAutomating SAP Application Synchronization in LeanFT Assertions in LeanFTLeanFT with Cucumber Keyword Driven frameworks Data Driven Frameworks Converting the UFT Object Repository to Application models in LeanFTChallenges of LeanFT automation Working with third party objects using Native Object properties and methods LeanFT common issues and solutionsLeanFT Java ReferencesAPI in leanft in Java
Some of the most important packages and classes in LeanFT API are mentioned below.- com.hp.lft.report – Reporter class can be used to dump data in report
- com.hp.lft.sdk – Core functionality
- com.hp.lft.sdk.insight – used to identify the objects based on images
- com.hp.lft.sdk.apitesting.uft – UFT API used in LeanFT
- com.hp.lft.sdk.java – API to automate Java application (Swing/AWT etc)
- com.hp.lft.sdk.mobile – API to automate mobile applications
- com.hp.lft.sdk.sap.gui and com.hp.lft.sdk.sap.ui5 – API to automate SAP applications
- com.hp.lft.sdk.stdwin – API to automate Standard windows applications
- com.hp.lft.sdk.utils – helper methods
- com.hp.lft.sdk.web – API to automate Standard Web applications
- com.hp.lft.sdk.winforms and com.hp.lft.sdk.wpf – API to automate .Net applications
- com.hp.lft.unittesting and com.hp.lft.unittesting.datadriving – API to work with Unit testing framework of LeanFT
- com.hp.lft.verifications – It provides Verify class that can be used to assert the expected values
Web development and Automation testing
solutions delivered!!