Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

Selenium speed

selenium webdriver speed

This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1 Vaielab

Vaielab

    Programming God

  • Expert Member
  • PipPipPipPipPipPipPip
  • 1382 posts

Posted 02 May 2014 - 07:12 AM

Hello,

 

At work, to test my web application I use selenium webdriver.

It's a simple program with multiple api (we use the java api), and can control your browser, so it can simulate click or key press.

And so, with selenium, I can test pretty much everything one shot, without having to manually test it.

 

The problem is that with time, to test everything it start to take some time (right now, when I launch all my tests, it take up to 4hours).

I searched the web, but I didn't find a way to boost performance, so I was thinking that if I upgrade the computer, tests will go faster (obviously)

 

Which componant should I upgrade?

Right now, I have:

i5-2320 @ 3ghz

8gb of ram

and my hard drive isn't ssd

 

I don't think that upgrading the cpu or the ram would do any difference. But do you think having a ssd will make the browser faster or once the browser is open it does not change anything?

Or do you think of anything else that could make it faster?

 

ps. everything is on the same computer, the browser, selenium and the server (apache, mysql & php)

 

 


You can now stalk me on linkedin: http://ca.linkedin.c...elle/24/b44/88/ !


#2 WingedPanther73

WingedPanther73

    A spammer's worst nightmare

  • Moderator
  • 17757 posts

Posted 02 May 2014 - 07:24 AM

I would approach it a different way: why not break your tests up into discrete chunks, and have different browsers/computers running different tests concurrently?


Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

My MineCraft server site: http://banishedwings.enjin.com/


#3 Vaielab

Vaielab

    Programming God

  • Expert Member
  • PipPipPipPipPipPipPip
  • 1382 posts

Posted 02 May 2014 - 07:53 AM

I did not though of that!

I already have an interface where I click on each test I want, so it will be easy to start 2 tests on two different computer, but with differents tests checked


You can now stalk me on linkedin: http://ca.linkedin.c...elle/24/b44/88/ !





Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download