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 ReferencesProperties in leanft in Java
When we create a LeanFT project using templates, one properties file (leanft.properties) is created and stored in resources directory. Here are the most important settings in this file that we can use.- serverAddress – specify the LeanFT engine address
- SDK Mode – Replay or Interactive
- LeanFT Service Address – ws://localhost:5095
- Connection timeout – 60 sec
- Response timeout – 600 sec
- Server autolaunch – true
- title – Name of the report. By default, it is Run Results.
- description – Description of the report. By default, it is empty.
- targetDirectory – Directory where report should be stored. By default it is current directory.
- overrideExisting – Whether to override existing report. By default, it’s value is true.
- report folder – RunResults
- override existing – true
- filter level – All, Warning, Error, Off
- snapshot level – All, OnError, Off
Web development and Automation testing
solutions delivered!!