Questions tagged [fluentlenium]

FluentLenium is a framework that helps you to write Selenium tests.

FluentLenium is a framework that helps you to write Selenium tests. FluentLenium provides you a fluent interface to the Selenium Web Driver. FluentLenium lets you use the assertion framework you like, either jUnit assertions, Hamcrest or Fest-assert.

https://github.com/FluentLenium/FluentLenium

41 questions
1
vote
2 answers

how to write a nested xpath xpression based on other elements in the div?

I need to find a button using xpath and want to try using a nested xpath xpression. I've been using the expression @FindBy(xpath="//*/button[contains(text(),'FOO')]") to find instances of other buttons elsewhere in the code and so far this works…
Harunhh123
  • 53
  • 7
1
vote
1 answer

Selenium test stuck on starting using chromeDriver

I am trying to write a selenium test with fluintlenium and for some reason when I try using the chrome driver it just open chrome on "data;" page and doesn't continue to the actual url I give it. When I use HtmlUnitDriver it runs the test…
ProGr
  • 21
  • 5
1
vote
2 answers

Selenium/Java exiting a while loop

I'm adding a bunch of people to a list and I want to remove them from the list later. I've written a method that clicks on a standard X element to remove the users. My problem is that when I get to a point where there are no more instances of the…
Harunhh123
  • 53
  • 7
1
vote
1 answer

Is there a JSCover SBT plugin for Play to get javascript coverage of my functional tests?

I'm using Play Framework 2.2.x and am having trouble getting JavaScript code coverage of my functional tests with Fluentlenium. I need an sbt plugin for Play that enables getting JavaScript code coverage for functional tests…
1
vote
2 answers

How to simulate a "on_mouse_over" on a drop down menu in Java

I'm using FluentLenium. I'm trying to simulate a on_mouse_over in my java tests. I have to check some boxes in a drop down menu, it's an element not visible... I have to move the mouse over to make visible this element and be able to use the…
Hackilltour
  • 113
  • 1
  • 9
1
vote
2 answers

How can I run Fluentlenium Code inside Selenium Webdriver Firefox Driver?

I am having issues trying to get my Fluentlenium code to run inside the WebDriver Firefox Driver. I need Fluentlenium to execute inside the WebDriver Firefox Driver instead of opening it's own browser. I think I need to override this but I am not…
Xeng Vang
  • 71
  • 1
  • 9
0
votes
1 answer

Webdriver instance exits after Test Method for test class extending FluentTestNg

Background: I am trying to write end-to-end selenium tests using Fluentlenium (in Java, fwiw) I could use some help with trying to figure out whether there is a way to extend the life of a webdriver session beyond the scope of @Test method in…
user2611581
  • 166
  • 2
  • 15
0
votes
1 answer

Fluentlenium untilPage isAt functionality

My goal My intuition is that Fluentlenium untilPage(myPage).isAt() is used to assert if I have reached a page or not based on matching URL. Although it seems to return true regardless of the page has reached my page or not. I think I am just…
code_disciple1
  • 121
  • 1
  • 11
0
votes
2 answers

Fluentlenium and cucumber tests not starting

I have a cucumber and fluentlenium project that doesn't start when i run the CucumberRunner. It just skips all the tests .I tried to find a solution on internet but didn't figured out the problem so far. A little bit of help would be nice. This is…
T.Frincu
  • 43
  • 7
0
votes
1 answer

Java Selenium - Unable to initiate multiple WebDriver with one Method

I have been trying for the longest time but I can't get this to work. What I am trying to do is do load testing with Fluentlenium as a base. When I tried to initiate my test, it only open one chrome browser and in my IDE, the same method is running…
ParkHyeon
  • 3
  • 2
0
votes
3 answers

Selenium IDE locator doesn't work in Selenium 3.3.1 Java

I have a web page which contains 2 links with the same classnames but with different div classes. The first one is invisible (it's in a dropdown menu) and the other one that I want is visible. So, I'm trying to locate the visible element. His HTML…
Drisnor
  • 13
  • 4
0
votes
1 answer

Play 2.5 and Fluentlenium: how to turn HtmlUnit warnings off

I am trying to write Selenium Tests using WithBrowser class of the PlayFramework 2.5. Something like this: public class BrowserFunctionalTest extends WithBrowser { @Test public void runInBrowser() { browser.goTo("/"); …
Dennis Beier
  • 363
  • 3
  • 14
0
votes
2 answers

Testng report assert and continue test

I'm trying to us testng with fluentlenium, and report it to extent reports. The problem is that I have asserts throughout the tests and want to report them without using try and catch. Any ideas how to do it? Is there a assert listener or…
A.H
  • 23
  • 5
0
votes
1 answer

How to wait for FluentWebElement?

I have the page object as below: @FindBy (className = "all-time-menu-icon") private FluentWebElement enrichmentOptions; /** * @return FluentWebElement for Enrichment options */ public FluentWebElement getEnrichmentOptions() { return…
0
votes
1 answer

Retrieving Selenium WebElements after AngularJs populates table

I'm currently trying to implement an e2e testing of a website that relies heavily on AngularJs using Selenium/Fluentlenium. I've used this approach before with no problems but it seems as if phantomJS simply can't handle running Angular. If I "view…
Raudbjorn
  • 450
  • 2
  • 8