Automation V3: Importing and Executing JAR Files
Since Automation is Java-based, Java programs can be invoked in a test case to execute certain functionalities. This is generally done by importing external JAR files into Automation and invoking the classes and functions inside them.
Step 1: Navigate to the Library Files section in Files.
Step 2: Copy the JAR files you wish to import under the Library Files section.
Step 3: Click Java Settings from the Provar menu located in the top left of your screen.
Step 4: Select Java Build Path and click the Add JARs button.
Step 5: Select the JAR files copied in the Library Files in Step 2 and click Ok. The JAR files should now appear in the build path list.
Your JAR files are now imported and ready for use.
Note: You can also invoke the Java code from these Jar files in Page Object Operations for UI actions.