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
2
votes
1 answer

Blackbox testing using Arquillian

I am a QA person & do blackbox testing using Java + TestNG + Selenium WebDriver for our web application. I do not have access to the actual application code. My application runs on JBoss (in a remote server). I heard about Arquillian recently & I…
KitKarson
  • 5,211
  • 10
  • 51
  • 73
2
votes
2 answers

Unexpected callable present in Drone Context, should be already instantiated at this moment

I try to write simple functional test against jsp page. I use arquillian with drone and selenium. My test: @RunWith(Arquillian.class) public class IndexTest { @ArquillianResource static URL url; @Drone WebDriver browser; …
2
votes
2 answers

How do I tell Graphene to load my @Page?

TL;DR: How do I tell Graphene which (relative) URL to load for the @Page-injected object? I'm trying to setup my web frontend integration tests using the "State of the art", namely a combination of Arquillian, Arquillian Drone, Selenium 2 and…
1
vote
0 answers

Run Arquillian tests against Chrome headless in github actions

I created a JakartaEE Server Faces sample which used Arqillian Dron and Arquillian Graphene to test the faces web pages. The tests are passed on my local system, but when set the headless chrome as web driver in Github action workflow like this(see…
Hantsy
  • 8,006
  • 7
  • 64
  • 109
1
vote
1 answer

Need assistance with testng/arquillian/drone/graphene and bypassing arquillian.xml

Let me setup my test environment. We run our tests on VM's from the command line. Running the testng.xml from the commandline. Can't pass parameters through that. We have a test.properties with all of our runtime parameters and through that, we…
GregMa
  • 740
  • 2
  • 10
  • 25
1
vote
1 answer

Arquillian Graphene @InitialPage always returns null

I have a test scenario: @Test public void testHomePage(@InitialPage LoginPage loginPage) { loginPage.login(); assertNotNull(welkom.getText()); } Driven by an arquillian deployment: @Deployment(testable = true) However, the…
onderbewustzijn
  • 935
  • 7
  • 32
1
vote
1 answer

Pass the browser to next test

I'm trying out Arquillian Drone and Graphene this time with Groovy and I have the following 2 tests what i want to do is have the second test use the browser from the first tests. but the browser closes after the first test finishes - is there a way…
1
vote
1 answer

Initialize Page Objects - Arquillian - Selenium

I am new to Selenium and Arquillian framework. I am trying to implement Page Object Model. Webdriver browser capabilities are saved in arquillian xml file. I am using TestNG and created the following classes: public class Test{ @Drone Webdriver…
1
vote
2 answers

Arquillian Graphene @Location placeholder

I'm learning Arquillian right now I wonder how to create page that has a placeholder inside the path. For example: @Location("/posts/{id}") public class BlogPostPage { public String getContent() { // ... …
Yavin
  • 445
  • 3
  • 15
1
vote
2 answers

Arquillian-Jboss Wildfly Persistence unit error

I'm new to arquillian and wildfly , the thing is that i'm trying to run an EAR, that contains a jar and war , on arquillian and using wildfly I'm having this error "WFLYJPA0038: Failed to add persistence unit service for SimbaPersistance" .. Caused…
1
vote
1 answer

Does notifyWhenNoOutstandingRequests or an equivalent exist in Angular 2?

I have seen this used by test frameworks (for example, Arquillian) to detect when the dom is ready to be examined with Angular 1. Is there an equivalent way to do this in angular 2?
jsight
  • 27,819
  • 25
  • 107
  • 140
1
vote
0 answers

Arqullian JSF test with EJB mocking

I'm trying to write some tests to check whether the GUI is behaving correctly. What I have EAR project divided into jar with EJBs (business logic) and WAR (generally GUI). So far I've already written several tests and the business logic works as…
vers
  • 29
  • 5
1
vote
1 answer

How to configure arquillian-drone to disable JavaScript in Firefox

I want to run my test in Firefox with JavaScript disabled, so I create a qualifier: @Retention(RetentionPolicy.RUNTIME) @Target({ ElementType.FIELD, ElementType.PARAMETER }) @Qualifier public @interface FirefoxWithoutJS { } And I add the extension…
1
vote
1 answer

Arquillian+OSGi+Test Different Framework Properties

I have an OSGi bundle which reads some properties from the config.properties file of Apache Felix during the activation process, and if this configuration is malformed or absent then the bundle should not start. For this, I am creating its…
Joe Almore
  • 4,036
  • 9
  • 52
  • 77
1
vote
1 answer

Arquillian Graphene browser screenshooter: Cannot use Drone with Qualifier

I'm using the Arquillian 1.1.6.Final for testing the JSF by using the Arquillian Drone 2.0.0.Alpha3, Arquillian Graphene 2.1.0.Alpha2 and Arquillian Browser Screenshooter 2.1.0.Alpha2. It works great and give me a screen shot as expected. There is…
Charlee Chitsuk
  • 8,847
  • 2
  • 56
  • 71