This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>org.arquillian.example</groupId> | |
<artifactId>arquillian-tutorial</artifactId> | |
<version>1.0.0-SNAPSHOT</version> | |
<dependencies> | |
<dependency> | |
<groupId>org.jboss.spec</groupId> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class lukas | |
{ | |
@drone | |
browser initiation... | |
@Test | |
public void chaitu() | |
{ | |
//get to the url | |
browser.get(....."url"); | |
//reading results |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.jboss.arquillian.qunit.junit; | |
import java.util.HashMap; | |
import org.jboss.arquillian.junit.Arquillian; | |
import org.junit.runner.RunWith; | |
import org.openqa.selenium.By; | |
import org.openqa.selenium.WebDriver; | |
import org.openqa.selenium.WebElement; | |
import org.openqa.selenium.support.ui.ExpectedCondition; | |
import org.openqa.selenium.support.ui.WebDriverWait; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.jboss.arquillian.qunit.junit; | |
//Javassist jar is needed to run this code. | |
import java.lang.reflect.Modifier; | |
import java.util.ArrayList; | |
import java.util.HashMap; | |
import java.util.Iterator; | |
import java.util.List; | |
import java.util.Set; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javassist.NotFoundException: WebDriver | |
at javassist.ClassPool.get(ClassPool.java:436) | |
at javassist.ClassPool.getCtClass(ClassPool.java:501) | |
at org.jboss.arquillian.qunit.junit.ClassGenerator.getClass(ClassGenerator.java:51) | |
at org.jboss.arquillian.qunit.junit.ClassGenerator.main(ClassGenerator.java:123) | |
Exception in thread "main" java.lang.IllegalStateException: javassist.NotFoundException: WebDriver | |
at org.jboss.arquillian.qunit.junit.ClassGenerator.getClass(ClassGenerator.java:99) | |
at org.jboss.arquillian.qunit.junit.ClassGenerator.main(ClassGenerator.java:123) | |
Caused by: javassist.NotFoundException: WebDriver | |
at javassist.ClassPool.get(ClassPool.java:436) |