Questions tagged [arquillian-drone]

The Arquillian Drone extension for Arquillian provides a simple way how to include functional tests for your application with a web-based user interface.

The Arquillian Drone extension for Arquillian provides a simple way how to include functional tests for your application with a web-based user interface.Arquillian Drone brings the power of WebDriver into the Arquillian framework. WebDriver provides a language how to communicate with a browser, like filling the forms, navigating on the pages and validating their content.

53 questions
1
vote
2 answers

Arquillain/Shrinkwrap how to add whole META-INF directory?

I want to use Arquillian + Selenium for testing my JSF Pages. My Project structure is as follows: /src/main/java - my java classes /src/main/resources /src/main/resources/META-INF - all imgs, css, js and custom composite JSF…
Filip Majernik
  • 7,700
  • 13
  • 45
  • 53
1
vote
2 answers

NullPointerException in my Arquillian Functional test with Drone and Selenium

Here is my stack-trace: should_create_greeting(cn.ftc.test.BeanTest) Time elapsed: 0.063 sec <<< ERROR! java.lang.RuntimeException at org.jboss.arquillian.drone.impl.DroneInstanceCreator.createDroneInstance(DroneInstanceCreator.java:96) at…
Neo
  • 2,196
  • 5
  • 32
  • 58
0
votes
1 answer

How to call @BeforeSuite after instantiation of webdriver in Arquillian

I am trying to use @BeforeSuite after instantiation of webdriver in Arquillian I am just give a example below @RunAsClient public class GoogleTest extends Arquillian { @Drone private WebDriver driver; @ArquillianResource private…
0
votes
1 answer

Arquillian Graphene waitModel TimeoutException lets test end with Error instead of Failure

I think my issue has nothing to do with code but with waiting for UI-Elements in tests in general or at least my understanding of testing UIs with JUnit and Selenium/Arquillian Graphene. When using Arquillian Graphenes waitModel() (or any of the…
0
votes
1 answer

Arquillian Drone Test with @RunAsClientSide-annotated test method and in-container test method runs with NoClassDefFoundError

The Arquillian-Guide Functional Testing using Drone and Graphene says that it is possible to "mix in-container and client modes in the same test". I am trying to run this little example: import…
0
votes
1 answer

How to make working MavenImporter on Graphene 2.3

I'm working with a web application based on jsf, and I've some functional tests in which Arquillian is used. The dependencies of my pom file are the following 1.1.14.Final
Gavi
  • 1,300
  • 1
  • 19
  • 39
0
votes
1 answer

How to inject a Drone instance without managing its lifecycle?

I have a Graphene Page Object. @Location("/page") public class MyPage { @Drone private WebDriver driver; // page methods using the driver } And a Test Class that uses the page object. @RunWith(Arquillian.class) public class MyTest…
Vsevolod Golovanov
  • 4,068
  • 3
  • 31
  • 65
0
votes
1 answer

How to access the files from the container using the Arquillian Cube?

I am looking for a class to access the files from the running container using the arquillian cube. eg: docker_ubuntu running has files \usr\share\config.json I want to update the config.json file using the arquillian cube. Note : I am aware of…
Raj Asapu
  • 436
  • 5
  • 11
0
votes
0 answers

Arquillian, Graphene and PrimeFaces. How to interact with the fileUpload component?

I've a web application with JSF 2.2, PrimeFaces 6.0. All is working fine, but I don't know in which way I can interact with the fileUpload component coming from Prime Faces. In which way can I upload a file using Arquillian, Graphene and Drone? Just…
Gavi
  • 1,300
  • 1
  • 19
  • 39
0
votes
1 answer

Arquillian with Windows and Glassfish 4.1 very slow

I've created a java web app with JSF 2.2.12, Prime Faces 6 and Omnifaces. In the backend I've the standard layers like Spring, Hibernate and my application server is Glassfish 4.1.1 I'm implementing some tests with Arquillian. The strangeness is…
Gavi
  • 1,300
  • 1
  • 19
  • 39
0
votes
0 answers

Arquillian: Parallel drone standalone

I have an arquillian drone test class running against an existing web site (no @Deployment), in standalone mode. I would like to run tests in parallel, as they are expensive tests. If I use methods in failsafe configuration I get an error and I…
cocorossello
  • 1,289
  • 1
  • 17
  • 30
0
votes
2 answers

Arquillian drone graphene Failed to connect to binary FirefoxBinary / chrome

Arquillian - Drone - graphene - Glassfish- Firefox v.48 Chrome v.52.0.2743.116 Any help is appreciated When i run my test it opens up the browser does not do any thing and i get following error INFO: login was successfully deployed in 11,310…
d-man
  • 57,473
  • 85
  • 212
  • 296
0
votes
2 answers

Arquillian for Blackbox Selenium testing

I am trying to use Arquillian / Graphene for my selenium blackbox testing. I would like to use arquillian along with testng. I do not use any jboss/tomcat. I would like to run my tests as standalone tests as we do in testng. My test is very…
KitKarson
  • 5,211
  • 10
  • 51
  • 73
0
votes
1 answer

Arquillian Graphene/Drone tests use wrong port to access WebLogic managed server

I'm using Arquillian to perform integration tests for one of my projects and have found that when the application is deployed to a WebLogic 12c R2 container the wrong port number is being used by Arquillian Graphene/Drone to perform the browser…
Paul H
  • 2,104
  • 7
  • 39
  • 53
0
votes
1 answer

How to make JUnit tests with Tomcat 8 + JSF 2.2?

I would like to know how to make JUnit tests with Tomcat 8 + JSF 2.2? What kind of things can I test with JUnit? the view?, the model?, the control? Do I have to make use of another tool with JUnit in order to make test cases? Thanks.
Angel
  • 155
  • 1
  • 1
  • 14