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 ReferencesKeyword driven frameworks in leanft in Java
Keyword driven frameworks are very popular in LeanFT. Please follow below steps to create keyword driven framework.- Find main operations and features of the application.
- Map each feature or operation to a keyword.
- Write a code to automate specific keyword.
- Create test sheet containing test cases made up of one or more keywords. You can store the test sheet in Excel file, Database or in the form of JUnit or TestNG test class.
- Unless you are using JUnit or TestNG to execute the tests, you might need to create a driver script to execute each test case.
- Login to the Flight application.
- Search for the flights from London to Paris in next week for one person.
- Verify that flights are displayed from London to Paris only.
- Login to the Flight application.
- Book a flight and note down order number say 88.
- Search for order with id 88.
- Verify that flight details are correctly displayed.
Web development and Automation testing
solutions delivered!!