售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Instant Testing with CasperJS
Instant Testing with CasperJS
Credits
About the Author
About the Reviewer
www.PacktPub.com
Support files, eBooks, discount offers and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Instant Testing with CasperJS
Installing CasperJS (Simple)
Getting ready
How to do it...
How it works...
There's more...
Installing CasperJS with Homebrew on Mac OS X
Installing PhantomJS on Ubuntu
Using the CasperJS Ruby executable
Getting started with CasperJS (Simple)
Getting ready
How to do it...
Timing is everything
Live recording
How it works...
There's more...
XPath selectors
Assertion methods
The WaitFor methods
The wait() method
Installing Resurrectio from the GitHub sources
Writing advanced tests (Intermediate)
How to do it...
Downloading files
Uploading files
Authentication
Keyboard and mouse events
How it works...
There's more...
Passing parameters to the download() method
setHttpAuth might have surprising timing
Best practices (Intermediate)
Testing the real thing
Surviving design changes
Creating test suites
Running CasperJS on Jenkins
Running CasperJS on Travis-CI
Beyond testing (Advanced)
Web scripting
Screenshot production
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜