Questions tagged [jdiframework]

JDI – is the test Framework for UI test automation. It extends the Page Objects design pattern and introduces many additional elements along with implementation of its common usages. The framework bases on the following concept: “Easy things should be easy, and hard things should be possible” Larry Wall (c).

9 questions
2
votes
0 answers

jdi light framework for JSF Primefaces selectone component

I have page for country selection as list box of SelectOneMenu of primefaces component. This page has other list items of same time. Used the dropdown with JDropdown @JDropdown(root = ".ui-selectonemenu", expand = ".ui-selectonemenu-trigger", list =…
1
vote
0 answers

JDI: Error when I use WindowsManager.closeWindow()

I try to use WindowsManager.closeWindow() after test suite. Window close, but then I have error. My code: @Test public void monitoringMenuTest() { sidebar.select(Monitoring, Chart); chartPage.checkOpened(); sidebar.select(Monitoring,…
0
votes
1 answer

how to ignore core locator for one element

locators tree In my case i have a selector list not in a core window. For window used locator ".uni-DialogBox" but listLocator(.gwt-Label.selectbox-item__label) not in this dom [ERROR 54:49.549] : >>> NewOrderWindow.orderType…
0
votes
1 answer

how to use diferent properties files in JDI

Is it possible to use different settings files in JDI? For example test.properties & stage.properties and start by passing as a parameter, for example: gradle -Dtarget=stage ...
0
votes
1 answer

How to define own complex WebElement in JDI test framework

I define radioButton that there. It work if I initialize element that there But it doesn't work with @FindBy annotation. I create a constructor: public MyRadioButtons(By optionsNamesLocatorTemplate) { super(optionsNamesLocatorTemplate); …
0
votes
2 answers

How to change timeout in JDI Test Automation Framework

I need to change timeout for waiting particular webElements. For all of others default is pretty fine. Default timeout could be changed in settings: timeout.wait.element=10 How to change timeout only for given elements?
Anton
  • 539
  • 6
  • 14
0
votes
1 answer

How to define own WebElement in JDI test framework

I need to define own UI WebElement in JDI test automation framework. For example I need the following elements: table with Sortable columns table with pagination Dropdown with items filtering How to define them using JDI style and approach?
Anton
  • 539
  • 6
  • 14
0
votes
1 answer

Why JDI Test Framework use static methods for pages

According to documentation https://github.com/epam/JDI Note: all fields and methods on your Site page are STATIC Why there is such requirement? And if the test cases will work in parallel? For example, we know the fact that if webdriver is static…
Anton
  • 539
  • 6
  • 14
0
votes
1 answer

JDI UI Test Automation Framework Simple Java example project - run test

I am download Simple Java example project Run SimpleTest I see error Error:(12, 17) java: cannot find symbol symbol: method domain() location: @interface com.epam.jdi.uitests.web.selenium.elements.pageobjects.annotations.JSite Error:(12,…