Skip to content

This is a simple script to show using a Selenium test being augmented with LeanFT

Notifications You must be signed in to change notification settings

admpresales/uftdev-se

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LeanFT & Selenium

This is a simple script to show using a Selenium test being augmented with LeanFT.

This script has been run using the Chrome driver 2.41. You can choose others too but just be aware i haven't verified it against others.

NOTE: You need to be connected to the internet the first time this is executed so the chromewebdriver gets cached to your .m2 cache

This sample script uses the LeanFT for Selenium extensions available https://search.maven.org/search?q=a:leanft-selenium-java-sdk

        <dependency>
            <groupId>com.microfocus.adm.leanft</groupId>
            <artifactId>leanft-selenium-java-sdk</artifactId>
            <version>1.0</version>
        </dependency>

Check which versions of libraries you have available and make the appropriate changes in the pom.xml

        <junit.ver>4.12</junit.ver>
        <se.ver>3.14.0</se.ver>
        <webdrivermanager.ver>3.0.0</webdrivermanager.ver>
        <slf4j.ver>1.7.25</slf4j.ver>

Selenium Web Driver Manager

This script makes use of a utility that simplifies getting and setting the webdriver (Chrome in this case). Using this approach makes the assumption that you have access to the internet when this script is run the first time so the drivers can automatically be downloaded and added to your local .m2 cache.

More details about the utility can be found:

Prior to UFT renaming in 2019 was called simple-lft-selenium

About

This is a simple script to show using a Selenium test being augmented with LeanFT

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages