Selenium File Locators

Storing Element Locators in excel, json and properties files

Лицензия

Лицензия

Группа

Группа

tech.grasshopper
Идентификатор

Идентификатор

findbyfilewebelement
Последняя версия

Последняя версия

1.0.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

Selenium File Locators
Storing Element Locators in excel, json and properties files
Ссылка на сайт

Ссылка на сайт

https://github.com/grasshopper7/findbyfilewebelement
Система контроля версий

Система контроля версий

https://github.com/grasshopper7/findbyfilewebelement

Скачать findbyfilewebelement

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/tech.grasshopper/findbyfilewebelement/ -->
<dependency>
    <groupId>tech.grasshopper</groupId>
    <artifactId>findbyfilewebelement</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/tech.grasshopper/findbyfilewebelement/
implementation 'tech.grasshopper:findbyfilewebelement:1.0.0'
// https://jarcasting.com/artifacts/tech.grasshopper/findbyfilewebelement/
implementation ("tech.grasshopper:findbyfilewebelement:1.0.0")
'tech.grasshopper:findbyfilewebelement:jar:1.0.0'
<dependency org="tech.grasshopper" name="findbyfilewebelement" rev="1.0.0">
  <artifact name="findbyfilewebelement" type="jar" />
</dependency>
@Grapes(
@Grab(group='tech.grasshopper', module='findbyfilewebelement', version='1.0.0')
)
libraryDependencies += "tech.grasshopper" % "findbyfilewebelement" % "1.0.0"
[tech.grasshopper/findbyfilewebelement "1.0.0"]

Зависимости

compile (5)

Идентификатор библиотеки Тип Версия
org.apache.poi : poi jar 3.17
org.apache.poi : poi-ooxml jar 3.17
com.google.code.gson : gson jar 2.8.5
junit : junit jar 4.12
org.mockito : mockito-core jar 2.18.3

provided (1)

Идентификатор библиотеки Тип Версия
org.seleniumhq.selenium : selenium-java jar 3.14.0

Модули Проекта

Данный проект не имеет модулей.

Refer here for repository details - Maven Central

Refer here for a detailed explanation of the framework - https://grasshopper.tech/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.

<dependency>
	<groupId>tech.grasshopper</groupId>
	<artifactId>findbyfilewebelement</artifactId>
	<version>1.0.0</version>
</dependency>

Версии библиотеки

Версия
1.0.0