Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/grasshopper7/findbyfilewebelement

Store and access locator details from excel, json and properties file in Selenium POM
https://github.com/grasshopper7/findbyfilewebelement

java-8 selenium selenium-webdriver

Last synced: 1 day ago
JSON representation

Store and access locator details from excel, json and properties file in Selenium POM

Awesome Lists containing this project

README

        

Refer here for repository details - [![Maven Central](https://maven-badges.herokuapp.com/maven-central/tech.grasshopper/findbyfilewebelement/badge.svg)](https://maven-badges.herokuapp.com/maven-central/tech.grasshopper/findbyfilewebelement)

Refer here for a detailed explanation of the framework - https://ghchirp.site/220/

Refer here for a sample implementation - https://github.com/grasshopper7/SOfilelocator

When @FindBy annotation is used in the Selenium Page Object Model the value of its attributes how, using etc need to be available in the code. There is no mechanism to store and access these locator data from outside the source code, say in an excel file. This mechanism requires Java-8.

This mechanism seamlessly integrates with the current Page Object Model and PageFactory implementations. More importantly this supports existing @FindBy, @FindBys and @FindAll annotations alongside new development in the same PageObject.


tech.grasshopper
findbyfilewebelement
1.0.0