This is a java-based automation reusable library. User can import the above
Automation_UserDefinedFunctions.jar
file into your build project such as import from Maven
central repo & call the ready to execute functions.
Library Contains:
- Custom wait commands.
- Assertions.
- Excel handling.
- Database handling.
- JavascriptExecutor usage.
- Actions class usage.
- Actions - dropdown, click functions
- Capture screenshot functions.
- Properties file usage, etc.,
-
Dropdown_Util.SelectByIndex(driver, locator); Ex: to use dropdown function
-
Assertion.TextEquals(driver, locator, expected); Ex: to call Assert function
-
Javascript_Util.Scroll_PageUp(driver); Ex: to call JavascriptExecutor function
-
Excel_Data_Config excel = new Excel_Data_Config("path.xlsx"); excel.getData(0, 1, 2); Ex: to call excel function