addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscontroller-playcrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobe--smallglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1launch-new-window--smalllight-bulblinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonprintShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

Re: [ljc] Web Selenium

From: Stephen M.
Sent on: Tuesday, July 3, 2012 9:50 AM
I don't use it a lot, but I can provide a few pointers.

There's an IDE developed as a Firefox extension:
Generally you would record an initial script against a live web site by clicking around the site yourself. Then you would write tests that look at specific DOM elements, to confirm that they match expected values. The IDE enables you to click on an element on the screen to generate the code to look at the relevant DOM element. However, you would usually need to know enough JavaScript to inspect the DOM and extract the list of HTML elements you;re interested in.

There's a Maven plugin, which does the job of running up a web server during your build, and running tests against it. An example can be found here:

If you're looking to do something closer to actual unit tests, then HTMLUnit enables you to do this without starting a server. Combined with Jasmine BDD, that can be a solid way to test your JavaScript, and it's much faster than waiting for Jetty/Tomcat to start up every time you run tests.

For more information on how to actually use it, you're best off just searching for tutorials and reading the documentation.

Steve


On Jul 03, 2012, at 05:25 AM, alexander sharma <[address removed]> wrote:

Hi

Anybody here who knows how to use Web Selenium, tutorials etc is it a plugin in eclipse.
Is web selenium for testing live website for example how would I extract all deals from Groupon website using Web Selenium.

Any help appreciated.

Please contact me at [address removed]

Thanks!




--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by alexander sharma ([address removed]) from LJC - London Java Community.
To learn more about alexander sharma, visit his/her member profile
Set my mailing list to email me As they are sent | In one daily email | Don't send me mailing list messages

Meetup, PO Box 4668 #37895 New York, New York[masked] | [address removed]

Our Sponsors

  • Our Blog

    Read the latest news from the LJC

  • RecWorks Ltd

    Fixing Tech Recruitment using the Power of Community

  • jClarity

    Java/JVM Performance Analysis Tools & mentoring for Java related matters

  • LJC Aggrity

    Our LJC Aggrity site contains blog posts from our members

  • LJC Book Club

    Our Book club with book reviews from our members

  • Devoxx UK

    Java Community Conference in collaboration with the LJC, 8-10th June 16

  • SkillsMatter

    "Host, help organise, promote, film many of our meetings."

  • IBM

    Build Enterprise-grade apps at start-up speed.

  • New Relic

    New Relic makes sense of billions of metrics a day in real time.

  • Hazelcast

    Hazelcast is the leader in operating in-memory computing.

  • Java.Net

    We are an official Java User Group recognised by Oracle's JUG program

  • JRebel

    Free 3 month J-Rebel license.

  • O'Reilly

    40% discount on printed books and 50% on e-books.

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy