1 Reply Latest reply: Apr 26, 2012 2:42 AM by Karel Piwko RSS

    Aqruillian selenium test problem

    Manolescu Sebastian Newbie




      I use arquillian in selenium test, they run ok on my laptop but when I try to put them on Jenkins the build lasts 4 hours for 30 test. Could the arquillian cause this problem?




      public class AdministrationSeleniumTest extends Arquillian {

          private WebDriver        driver;

          private StringBuffer    verificationErrors    = new StringBuffer();

          private String baseUrl ;




             public static WebArchive createTestArchive() {

               WebArchive war = ShrinkWrap.createFromZipFile(WebArchive.class,new File("target/project.war"));

               return war;




            URL deploymentURL;




          public void setUp() throws Exception{

              driver = new FirefoxDriver();   


              driver.manage().window().setPosition(new Point(0,0));

              java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();

              Dimension dim = new Dimension((int) screenSize.getWidth()-20, (int) screenSize.getHeight()-30);



              driver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);





      public void test(){





      Any help would be appreciated.


      Best Regards