Questions tagged [selenide]

Selenide is a framework for writing easy-to-read and easy-to-maintain automated tests in Java.

Selenide is based on and is compatible to Selenium WebDriver 2.0. It defines concise fluent API, natural language assertions and does some magic for ajax-bases applications to let you focus entirely on the business logic of your tests

References:

290 questions
0
votes
2 answers

What is the right way to template Locators in Selenide/Selenium?

I'm trying to use Page Objects pattern in my UI testing. Many examples suppose to save By (Locator) in class fields. Other recommends to save WebElement (or SelenideElement, if you're using Selenide). Though, both are great for hardcoded locators, I…
Kyryl Havrylenko
  • 674
  • 4
  • 11
0
votes
5 answers

can´t select dropdown option (selenide/java)

I have a little problem selecting options out of drop down lists with selenide (java). Here's a little snippet of the HTML code and my try to select the option by the value: HTML snippet [Java code] String dateRangeSearchFor = "YESTERDAY"; …
Mo Joe
  • 13
  • 1
  • 4
0
votes
1 answer

Selenide SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder" error.Any thoughts?

I am new to Selenide, and trying to run a browser using Selenide and Junit dependencies. However, I am getting an SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder" error.Any thoughts? xmlns="http://maven.apache.org/POM/4.0.0" …
user4523468
0
votes
0 answers

Selenide doesn't create WebDriver when using Jenkins

I'm in the process of setting up a test suite to run in a Continuous Integration-system, using Jenkins, but I'm having some issues with running my tests. When I attempt to execute my suite, this message shows up in the console log for each test…
0
votes
1 answer

How to focus and interact with popup using selenide api

I have a popup screen (see attached image). I am using selenide which is a fantastic wrapper api of selenium. Can someone tell me how selenide focuses and interacts with such window popups.
Afamee
  • 5,160
  • 9
  • 38
  • 43
0
votes
3 answers

selenide code for how to fetch dropdown list value?

i am trying to fetch all values from dropdown list using selenide . using selectOptionByValue("0") i can fetch one value.But i need all values inside dropdown list.let me know how to do this using selenide code
praj
  • 849
  • 1
  • 16
  • 39
0
votes
1 answer

Selenide test fails to interact with Material`s checkbox

Dear stackoverflowers. We are using Selenide framework in our project to write automation tests for UI. We switched to Material-UI recently and faced with technical problems when it comes to simple checkbox. I am trying to select…
AlexeiBerkov
  • 427
  • 1
  • 6
  • 16
0
votes
1 answer

how to generate allure test report in eclipse

I created some automation scripts using "selenide", "testng", "maven", "eclipse". I tried to add allure test results. I followed allure-testng-maven instructions and updated pom.xml. For running test from eclipse I'm doing rightclick on pom.xml +…
Karteek
  • 138
  • 2
  • 14
0
votes
2 answers

Javascript not working with Selenide and PhantomJS

I'm working on a project in IntelliJ that uses PhantomJS and Selenide to automate web browsing activity. To run Javascript commands, we use the executeJavascript() method in our Java code. We call this method many times in our code to execute the…
Bill Wang
  • 1
  • 2
0
votes
1 answer

maven cannot find symbol symbol: class ProxyServer-browsermob

I am using the following example to add proxy browsermob with Selenide and Selenium. I used the this link. I run it with Eclipse and I a successfully running it. but when I tried it with Maven. I have the following Error: location: package…
Hana90
  • 943
  • 5
  • 17
  • 37
0
votes
0 answers

Difference between $("css selector") and $(By.linkText("text"))?

I need to locate a element, I used the following two ways: $("body.c1 div.c1.c2.c3 div.c4 div.c.c7 ul.cc.c6.c8 li.LoginUrl a") .click() But I have problem with this way, because some CSS styles will change from time to time. So I…
Hana90
  • 943
  • 5
  • 17
  • 37
0
votes
1 answer

Remote selenium grid can't receive string from scanner, but local does

private File f = new File("src/test/resources/text.txt"); final String projectUrl = "http://someurl.com" @BeforeTest public void setUp() { Configuration.remote = "http://some.ip.address.129:4444/hub" } @Test public void smallOrderTest()…
Boris
  • 125
  • 1
  • 1
  • 11
0
votes
1 answer

Conditional wait vs implicitlyWait -Selenium

please help me in understanding the following issue. please. I have to get all links and check them later. I used the following code: open(url); List links = new ArrayList<>(); for (SelenideElement link : $$("a")) …
Hana90
  • 943
  • 5
  • 17
  • 37
0
votes
1 answer

Different test outcome depend on browser - selenide selenium

I have number of tests in the juint test class, By using maven environment with Selenide version 3.5.1. for these tests, browser wil be only opened for the first test and closed at the last test. I tried to run them using chrome & firefox…
0
votes
1 answer

Customize selection for collection of elements - Selenide

How can I select the on of element, and this element contains a collection of elements, How can I select or pass through this element's collection? the default search method WebDriverRunner.getWebDriver().findElements(By.tagName("*")); is…
Hana90
  • 943
  • 5
  • 17
  • 37