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

42 questions
10
votes
4 answers

WebDriverException Element must be user-editable in order to clear it

I am trying to run test cases to perform reset password and I am facing this issue. WebDriverException Element must be user-editable in order to clear it. Basically i am accessing the page for entering the new password and doing…
9
votes
4 answers

Chrome 59 and Basic Authentication with Selenium/Fluentlenium

Chrome 59 has removed support for https://user:password@example.com URLs. I have a test which was using this feature which has now broken, so I'm trying to replace it with a version which waits for the authentication popup and fills in the details.…
Dave
  • 36,791
  • 8
  • 53
  • 96
3
votes
3 answers

How can I setup Fluentlenium to run in different browser drivers?

I am trying to run Fluentlenium in different browser drivers. I think I need to configure the getDefaultDriver() from Fluentlenium but I am not exactly sure on how to do that. Any exmaple codes would be great. Here is my code and it's not working.…
Xeng Vang
  • 71
  • 1
  • 9
2
votes
2 answers

Testng assertj report and continue

I'm using AssertJ to test web using fluentlenium and extent reports for reporting the results. I asked before the question but forgot to mention the use of AssertJ. The provided answer was to extend soft assert and that it has onAssertFailure…
A.H
  • 23
  • 5
2
votes
1 answer

fluentlenium-upload file from browser

I am using fluentlenium for browser testing using java in playframework2.3 I want to upload a file in browser through my test case. In selenium a function called sendkeys() is used. What is the similar function in fluentlenium, or is there a any…
Immanuel Fredrick
  • 368
  • 2
  • 6
  • 17
2
votes
2 answers

How to fill a checkbox, and Radiobuttons with FluentLenium?

I'm testing FluentLenium. I found "fill("#sb_form_q").with("FluentLenium");" for input(s). I want check and uncheck Checkbox. I want choose a radiobutton in a group. How to do ?
dterencio
  • 31
  • 4
2
votes
0 answers

How to define browser lifecycle in Play Framework's integration tests?

Play Framework 2.x supports integration testing backed by FluentLenium library, that has an ability to control browser lifecycle. But my test cases are extending play.test.WithBrowser, not org.fluentlenium.adapter.FluentTest. So I guess…
Ilya I
  • 1,242
  • 1
  • 12
  • 18
2
votes
1 answer

Use Fluentlenium to upload a file in dropzone.js

I'm looking to write a test to upload a file using Fluentlenium and DropZone.js (http://www.dropzonejs.com/). Dropzone.js works in a modal and then you can drag and drop or upload the normal way. As soon as you click to upload the test crashes…
user1696090
  • 371
  • 2
  • 7
  • 22
2
votes
3 answers

How to functionally test an application with OpenId on Play2?

Let's say the app is protected with OpenId login (and only OpenId). Once the user has successfully authenticated via OpenId, I set an attribute in the session like this : Redirect(routes.Application.index).withSession('email ->…
2
votes
1 answer

How to run Selenium tests against Internet Explorer under Play?

We've got some good selenium tests running against Firefox with Play 2.1 http://www.playframework.com/documentation/api/2.0/scala/play/api/test/Helpers However even though webdriver does support Internet Explorer, i dont see an IE helper. Is there…
Codek
  • 4,913
  • 3
  • 21
  • 36
1
vote
1 answer

Selenium authentication when switching account

Firstable, I would like to apologize for my english, I'll try my best to be as clear as possible. I encounter a problem with Selenium, in Java. Indeed, I use a portal, and I need to be logged in to be able to browse on it. Each time I open this…
Mattéo
  • 11
  • 2
1
vote
1 answer

Refresh the browser between 2 tests

I'm using FluentLenium with playframework. How to refresh the browser between two test methods ? And how to close the browser window at the end of the test suite ?
Yann Moisan
  • 7,685
  • 6
  • 35
  • 83
1
vote
1 answer

How to locate a list of elements with @FindBy

While working with Pages in FluentLenium @FindBy can be used to locate a FluentWebElement: @FindBy(id = "one") FluentWebElement exactlyOne; This works perfectly fine. But now I need to locate multiple elements: @FindBy(tagName =…
Rafal Borowiec
  • 4,744
  • 1
  • 22
  • 20
1
vote
1 answer

Having issue finding element Fluentlenium

I am writing some automated tests using Fluentlenium and PhantomJS. I am having trouble accessing the id "#title". The test I have written is as follows: @Test public void testCreateButton() { startAppWithCallback(new…
1
vote
2 answers

What's the equivalent of the selector in "XPath" (Selenium) in FluentLenium

My problem is that I can't figure out the equivalent of the selector XPath(selenium) in FluentLenium. Thank you.
AmineP90X
  • 33
  • 5
1
2 3