Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Selenium - Where to Start?

  • 14-10-2015 10:28PM
    #1
    Registered Users, Registered Users 2 Posts: 266 ✭✭


    I'm looking for a few pointers on where to start with Selenium. I just want to get to grips with it and see it in action. I have a live personal profile website which was built using Bootstrap and contains some PHP and JavaScript. I would like to test this site but I do not know where to begin. On the Selenium website there are a number of different downloads and I do not know which is appropriate for my site to test.

    Any help with this would be much appreciated or even any links to tutorials for a novice testing the site I have mentioned.

    Thanx
    Tagged:


Comments

  • Registered Users, Registered Users 2 Posts: 6,271 ✭✭✭Buford T Justice


    Gerb68 wrote: »
    I'm looking for a few pointers on where to start with Selenium. I just want to get to grips with it and see it in action. I have a live personal profile website which was built using Bootstrap and contains some PHP and JavaScript. I would like to test this site but I do not know where to begin. On the Selenium website there are a number of different downloads and I do not know which is appropriate for my site to test.

    Any help with this would be much appreciated or any links to tutorials for a novice testing the site I have mentioned.

    Thanx

    How do you want to run your tests? Via web browsers or unit tests in php?
    For the former, you can get a plugin for selenium in firefox, and you'd be looking at something like selenium web-driver for php, but I think phpunit is a dependency for it.


  • Registered Users, Registered Users 2 Posts: 266 ✭✭Gerb68


    Thanx for the response. I'd like to get my head around both. I'll look into both but I thought unit testing involved JavaScript.


  • Registered Users, Registered Users 2 Posts: 63 ✭✭ThrowinShapes


    You could use Nightwatch.js. The guide covers using it with Selenium: http://nightwatchjs.org/guide


  • Moderators, Society & Culture Moderators, Paid Member Posts: 9,842 Mod ✭✭✭✭Manach


    Started playing around with it in the Django Python framework. It seems to tie in nicely with basic unit testing but early days yet.


  • Registered Users, Registered Users 2 Posts: 2,779 ✭✭✭Spunge


    it was super easy to setup for me with rails, but i have no clue otherwise.
    its awesome as **** btw, it kind of reignited my love of code and TDD, spent all weekend coding just for fun.


  • Advertisement
Advertisement