Your SlideShare is downloading. ×
Site Testing with CasperJS
Site Testing with CasperJS
Site Testing with CasperJS
Site Testing with CasperJS
Site Testing with CasperJS
Site Testing with CasperJS
Site Testing with CasperJS
Site Testing with CasperJS
Site Testing with CasperJS
Site Testing with CasperJS
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Site Testing with CasperJS

2,905

Published on

Published in: Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,905
On Slideshare
0
From Embeds
0
Number of Embeds
8
Actions
Shares
0
Downloads
29
Comments
0
Likes
3
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Site TestingWith CasperJSJoseph Scotthttp://josephscott.org
  • 2. PhatomJShttp://phantomjs.org/
  • 3. CasperJShttp://casperjs.org/
  • 4. InstallPhantomJS, download binaryCasperJS - http://casperjs.org/installation.html
  • 5. CasperJS Features:๏ defining & ordering browsing navigation steps๏ filling & submitting forms๏ clicking & following links๏ capturing screenshots of a page (or part of it)๏ testing remote DOM๏ logging events๏ downloading resources, including binary ones๏ writing functional test suites๏ scraping Web contents
  • 6. Scriptable in JavaScript andCoffeeScript
  • 7. Everything starts simplevar casper = require(casper).create();
  • 8. Trying out live examplesexport PHANTOMJS_EXECUTABLE="/Users/josephscott/Dropbox/joseph/slides/casperjs/bin/phantomjs"
  • 9. Questions?
  • 10. Joseph Scotthttp://josephscott.org/joseph@josephscott.org@josephscott

×