Scripted GUI Testing with Ruby

( 1 )

Overview

Scripted GUI Testing with Ruby is a practical, quick-moving tutorial based on real life, and real-world GUI applications.

Right out of the gate you'll start working with code to drive a desktop GUI. You'll discover the kinds of gotchas and edge cases that don't exist in simple, toy programs. As you add more tests, you'll learn how to organize your test code and write lucid examples. The result is a series of "smoke tests" team will run on ...

See more details below
Available through our Marketplace sellers.
Other sellers (Paperback)
  • All (13) from $1.99   
  • New (3) from $44.79   
  • Used (10) from $1.99   
Close
Sort by
Page 1 of 1
Showing All
Note: Marketplace items are not eligible for any BN.com coupons and promotions
$44.79
Seller since 2005

Feedback rating:

(646)

Condition:

New — never opened or used in original packaging.

Like New — packaging may have been opened. A "Like New" item is suitable to give as a gift.

Very Good — may have minor signs of wear on packaging but item works perfectly and has no damage.

Good — item is in good condition but packaging may have signs of shelf wear/aging or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Acceptable — item is in working order but may show signs of wear such as scratches or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Used — An item that has been opened and may show signs of wear. All specific defects should be noted in the Comments section associated with each item.

Refurbished — A used item that has been renewed or updated and verified to be in proper working condition. Not necessarily completed by the original manufacturer.

New
2008 Paperback New Book. Lightest of shelf/storage wear. SHIPS W/IN 24 HOURS! Processed by DHL with USPS delivery for an average of 3-5 Day Standard Shipping & 2-3 Day Expedited ... Shipping! ! FREE INSURANCE! Fast & Personal Support! Careful Packaging. No Hassle, Full Refund Return Policy! Read more Show Less

Ships from: Alton, IL

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$51.50
Seller since 2015

Feedback rating:

(367)

Condition: New
Brand New Item.

Ships from: Chatham, NJ

Usually ships in 1-2 business days

  • Canadian
  • International
  • Standard, 48 States
  • Standard (AK, HI)
  • Express, 48 States
  • Express (AK, HI)
$65.00
Seller since 2015

Feedback rating:

(241)

Condition: New
Brand new.

Ships from: acton, MA

Usually ships in 1-2 business days

  • Standard, 48 States
  • Standard (AK, HI)
Page 1 of 1
Showing All
Close
Sort by
Sending request ...

Overview

Scripted GUI Testing with Ruby is a practical, quick-moving tutorial based on real life, and real-world GUI applications.

Right out of the gate you'll start working with code to drive a desktop GUI. You'll discover the kinds of gotchas and edge cases that don't exist in simple, toy programs. As you add more tests, you'll learn how to organize your test code and write lucid examples. The result is a series of "smoke tests" team will run on Continuous Integration servers.

Next, we'll explore a variety of different testing tips and tricks. You'll employ a series of increasingly random and punishing test monkeys to try to crash programs. Table-driven techniques will show you how to check dozens of different input combinations. See how to use longer acceptance tests (in the form of stories) to represent the way a typical customer would use your program.

The book uses examples from Windows, OS X, and cross-platform Java desktop programs as well as Web applications. You'll develop test scripts in Ruby; you don't need to be a Ruby expert, but basic comfort with the language will be helpful.

Read More Show Less

Product Details

  • ISBN-13: 9781934356180
  • Publisher: Pragmatic Programmers, LLC, The
  • Publication date: 8/28/2008
  • Series: Pragmatic Programmers Series
  • Edition number: 1
  • Pages: 192
  • Product dimensions: 7.40 (w) x 8.90 (h) x 0.70 (d)

Meet the Author

Ian Dees is the author of Scripted GUI Testing With Ruby. By day, he slings C++, Ruby, LabVIEW, and other languages for a test equipment manufacturer in Portland, Oregon.

Read More Show Less

Table of Contents


Introduction     1
Testing for Fun and Profit     1
Behavior-Driven Development and RSpec     4
About This Book     6
Acknowledgments     8
One Big Example     9
An Early Success     11
First Steps     11
Door #1: Windows     15
Door #2: Swing with JRuby     22
Review     27
Refactoring with RSpec     29
RSpec: The Language of Lucid Tests     31
Building a Library     36
The Story So Far     41
Next Iteration: Simplify!     43
Abstracting the Common Code     44
Cleaning Windows     45
Polishing JRuby     56
Satisfaction     58
The Home Stretch     61
Save Me!     61
The Password Is...     67
Document Wrangling     72
Cut to the Paste     76
Are We There Yet?     82
Aspects of Testing     83
Branching Out     85
Testing the App     85
Testing the Tests     85
Putting the Pieces Together     86
Moving On     87
Keep 'Em Guessing: Introducing Randomness     89
Keys, Menu, or Mouse?     89
Adding Lorem Ipsum to the Mix     94
A Test Monkey Could Do This Job     97
Breaking Camp     100
Turn the Tables: Matrix Testing     101
What to Test     101
ZenTest and the Art of Matrix Maintenance     103
Fit to Be Tested     108
Testing the Tubes: Web Applications     115
In-Browser Testing     116
Selenium     116
Selenium and RSpec     123
Interacting with Ajax     128
Watir     132
Wrapping Up     135
Testing in Plain English: Story Runner     137
From Examples to Stories     137
Designing with Stories     142
Extending Our Design     149
Where to Go from Here     154
One More Thing: Testing on the Mac     157
Taking the Reins     157
From AppleScript to Ruby     159
RSpec and AppleScript     164
Other Windows Techniques     167
Windows Script Host     167
Win32::GuiTest     168
Winobj     169
A Few Win32 Definitions     170
Resources     173
Websites     173
Books     173
Bibliography     174
Index     175
Read More Show Less

Customer Reviews

Average Rating 5
( 1 )
Rating Distribution

5 Star

(1)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing 1 Customer Reviews
  • Anonymous

    Posted March 25, 2010

    No text was provided for this review.

Sort by: Showing 1 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)