FREE eBook

0. Selenium 1.0 Testing Tools Beginner's Guide
Selenium 1.0 Testing Tools: Beginner's Guide


Discription
Test your web applications with multiple browsers using the Selenium Framework to ensure the quality of web applications
Save your valuable time by using Selenium to record, tweak and replay your test scripts
Get rid of any bugs deteriorating the quality of your web applications
Take your web applications one step closer to perfection using Selenium tests
Packed with detailed working examples that illustrate the techniques and tools for debugging
In Detail
Selenium is a suite of tools to automate web application testing across many platforms. A strong understanding of using Selenium will get you developing tests to ensure the quality of your applications.
This book helps you understand and use Selenium to create tests and make sure that what your user expects to do can be done. It will guide you to successfully implement Selenium tests to ensure the quality of your applications.
The Selenium Testing Tools Beginner's guide shows developers and testers how to create automated tests using a browser. You'll be able to create tests using Selenium IDE, Selenium Remote Control and Selenium 2 as well. A chapter is completely dedicated to Selenium 2. We will then see how our tests use element locators such as css, xpath, DOM to find elements on the page.
Once all the tests have been created we will have a look at how we can speed up the execution of our tests using Selenium Grid.
A beginner's guide to writing Selenium tests using different aspects of the Framework to give you confidence in your web application
What you will learn from this book
Use Selenium IDE to record, edit, and debug tests
Create tests to access JavaScript
Set Up the all important Selenium Remote Control successfully
Develop automated tests using the Selenium Remote Control
Get to grips with Selenium Remote Control Best practises
Set up the Selenium Grid to extend your Selenium RC
Create tests for Selenium Grid that can be distributed across multiple servers, saving you time by running tests in parallel
Create tests for Selenium 2
Create locators for elements on the web page
A wide range of miscellaneous tips, tricks and tasks to help get your web applications one step closer to perfection
Approach
Written with a fast-paced but friendly and engaging approach, this Packt Beginner's Guide is designed to be placed alongside the computer as your guide and mentor. Step-by-step tutorials are bolstered by explanations of the reasoning behind what you are doing. You will quickly pick up the necessary skills, tips, and tricks for creating successful tests for your web applications with practical examples that help you to learn by experiment and play.
Who this book is written for
If you are a Software quality assurance professional, software project manager, or software developer interested in developing automated testing in web based applications, then this book is definitely for you.
About the Author
David Burns is a Lead Test Engineer and has been doing test automation for many years. David is a Selenium Core Committer and has been using the product for over 3 1/2 years so knows all the nuances and issues that go with Selenium. David has also spoken at a number of conferences and has shown how you can use Selenium to record client side stats that was presented at Google Test Automation Conference.
Table of Contents
Preface
Chapter 1: Getting Started with Selenium IDE
Chapter 2: Locators
Chapter 3: Pattern Matching
Chapter 4: Using JavaScript
Chapter 5: User Extensions and Add-ons
Chapter 6: First Steps with Selenium RC
Chapter 7: Creating Selenium Remote Control Tests
Chapter 8: Advanced Selenium Techniques
Chapter 9: Getting Started with Selenium Grid
Chapter 10: Running Selenium Tests in Parallel
Chapter 11: Getting Started with Selenium 2
Pop Quiz Answers
Index






1. QuickTest Professional Unplugged
Quicktest Professional Unplugged


Quick Test Professional Unplugged, the first book written by author Tarun Lalwani and the first ever book on QTP as well, has already turned out a bestseller since its publication in 2009. Tarun Lalwani has won the Best Automation Book award in 2nd ATI Automation honors for the same


This book is good for those starting out a career in Testing Automation or even for those with few years of QTP experience. It is the culmination of 3 years of research and effort in this field.


The book gives a pragmatic view of using QTP in various situations. And is recommended for those aspiring to be experts or advanced users of QTP


QTP Unplugged 2nd Edition comes with all the updates till QTP 11 in a new chapter and few minor fixes in the code. The new chapter covers many features that got added over the previous version of QTP. The chapter also discusses the Object Repository feature in details which had seen a major change from QTP 8.X to QTP 9.


2. And I Thought I Knew QTP
And I thought I knew QTP


How many times have you wished that there was somebody who could clear some niggling doubts about to grasp concepts and smart workarounds? Or show you some of the lesser known features of QTP?


Written by the author of the best selling QTP book – “QuickTest Professional Unplugged”, this book does just that in a gripping story that will make you turn every page in anticipation. “And I Thought I knew QTP! – QTP


Concepts Unplugged” is ‘different’ in the way it seeks to explain the various concepts through an interesting and innovative story telling style (which is rarely used for technical books). Instead of following a textbook format, this book is more like a technical novel. Whether it is to brush up your QTP concepts or simply to satiate your curiosity about how a seasoned IT veteran fared in a no holds barred ‘intellectual duel’ on QTP – whatever your reason to pick up this book, it is sure to leave you astounded with its pace of narration, expertise, and breadth of topics covered.


3. Firebug 1.5 Editing, Debugging, and Monitoring
Firebug 1.5: Editing, Debugging, and Monitoring Web Pages
Arm yourself to destroy UI and JavaScript bugs Expand your toolkit by learning to use Firebug to help you monitor, debug, develop and edit web pages on the flyCreate your own Firebug extensions and learn about popular third-party extensionsCovers JavaScript, AJAX, and CSS developmentCovers all of Firebug's featuresClear explanations with easy-to-follow examples of HTML and JavaScript In DetailWith the advent of RIA (Rich Internet Applications), most web pages are driven by a combination of JavaScript, AJAX, CSS, and so on. Web developers and designers find it hard to debug and fix the issues that crop up on the client side. Firebug is a wonderful toolkit to have in your arsenal for handling all such issues. This book covers all of Firebug's features and will help you utilize its capabilities with maximum efficiency. AJAX development and debugging is not one of the easiest tasks; this book explains step-by-step, how to develop and debug AJAX components in your web page in a very easy way, thereby increasing your productivity. Topics like performance tuning of the web page are covered in detail. This book discusses how to become more efficient in various aspects of web development by using Firebug. It is a very easy-to-understand, step-by-step guide that explains all the features of Firebug with concise and simple examples. With this book in hand, you will be able to deal with the painful areas of web development like JavaScript and AJAX debugging using Firebug. The book takes you from the basics of Web Development like editing HTML and CSS on the fly to advanced features like AJAX, JSON, Monitoring, and Performance Tuning of web pages. It assumes that you have some very basic knowledge of HTML and JavaScript. For those of you with a sound knowledge of these technologies, this book can help you increase your productivity by using Firebug effectively, taking full advantage of its rich and powerful features and the console API. Towards the end, the book explains how to create your own powerful extensions for the Firebug community. This practical guide will equip you with the skills to edit, debug, and monitor web pages using Firebug What you will learn from this book Explore Firebug's tabs and their functionsUnderstand how to use Firebug to inspect, edit, search, and play with the HTML source of the documentGet to grips with useful tools and utilities provided by Firebug for CSS developmentLearn the command-line API and console API of Firebug and debugging JavaScriptModify the values of properties and constants of any DOM object using FirebugDiscover various ways to analyze the performance of your web application on the browserLearn how to track XmlHttpRequest and Response as well as debugging AJAX callsTips and tricks to experiment with the features that Firebug providesExplore Firebug extensions like YSlow, FireCookie, and Page Speed that are useful for development and Performance tuningDevelop a Firebug extension and learn how to set up a development environment, file, and directory structure for it ApproachA step-by-step description of each key feature is provided with the help of simple, easy-to-understand examples. There are plenty of useful screenshots in each chapter. Every chapter contains information as well as tips and tricks to draw your attention towards some useful information or reference. Each aspect of web development like CSS or JavaScript is handled independently so that you can refer to those modules in which you are interested. Who this book is written forThis book is written for frontend web developers building software and pages using HTML, CSS, JavaScript, and AJAX, who want to learn Firebug for the reasons outlined above. The book assumes that readers have a very basic knowledge of HTML, JavaScript, and CSS. The examples in the book can be understood by someone who has just been introduced to web development.


4. Apache JMeter 
Apache Jmeter


Learn to load-test your website, test its functional behaviour, and measure its performance by implementing the features of JMeter.


In Detail
A bad response time on a website can drive away visitors and prospective customers. To measure what a website can handle, there should be a way to simulate and analyze different load scenarios-this is where a load-testing tool like JMeter comes in. JMeter is a powerful desktop performance tool from the Apache Jakarta project, written in Java, for load-testing web pages, web applications, and other static and dynamic resources including databases, files, Servlets, Perl scripts, Java Objects, FTP Servers, and more.


JMeter works by acting as the "client side" of an application, and measures response time. As such, it's one half of the testing arsenal; the other half consists of a tool to watch metrics on the server side, such as thread counts, CPU loads, resource usage, and memory usage. Although it can't behave like a browser to measure rich client-side logic such as JavaScripts or Applets, JMeter certainly measures the performance of the target server from the client's point of view. JMeter is able to capture test results that help you make informed decisions and benchmark your application.


This book introduces you to JMeter (version 2.3) and test automation, providing a step-by-step guide to testing with JMeter. You will learn how to measure the performance of a website using JMeter.


While it discusses test automation generally, the bulk of this book gives specific, vivid, and easy-to-understand walkthroughs of JMeter's testing tools showing what they can do, and when and how to use them.


What you will learn from this book Why automating tests is so useful, and how it will help you to improve performance of your web sites and applications




Installing, setting up the environment, and running JMeter




Planning automated tests to provide a thorough insight into application performance, bottle necks, and load bearing capabilities




Building a test plan to test your websites




Test web, database, FTP servers and more - so you can get a detailed insight into which parts of your application are holding up performance




Build more complex test elements using regular expressions and functions




Capture, process, and analyse test results
Approach
This book is focussed on learning and understanding JMeter. It starts with a basic introduction and installation, followed by using JMeter to test web applications. It proceeds to show how to use JMeter to perform load testing and also to test the functional behavior of the target web application. The discussion continues to include testing servers other than web application servers, and demonstrates the use of some of JMeter's built-in functions. This book aims to give readers an introductory view of JMeter, and gives a brief and realistic overview to those researching for an ideal testing tool to use in testing projects.


The book is written in a straightforward, clear way, with plenty of step-by-step instructions and illustrative screenshots.


Who this book is written for
The ideal readers or users of this book are experienced or novice testers who have been testing manually and now would like to automate their tests. Those testers who are already automating their testing using other tools or testing software may also want to use this book as they look for alternatives. This book would also be a good point for test Managers/Leaders to start doing research on the test automation tool that may best suit their testing needs and of course, their budget


JMeter's target audience is the testing community, which is generally not the hangout of developers or technical people. Almost anything one would like to do in HTTP testing will be supported by JMeter without requiring any programming.


The user need not have much technical knowledge to work with JMeter. It has a simple-to-use and intuitive drag-and-drop style GUI that helps any non-technical user to get started.


About the Author
Since graduating in 1998, from California State University in Computer Science, Emily H. Halili has taken numerous roles in the IT/Software industry-namely as Software Engineer, Network Engineer, Lecturer, and Trainer. Currently a QA Engineer in CEO Consultancy-Malaysia with great passion for testing, she has two years of experience in software testing and managing QA activities. She is an experienced manual tester and has practical knowledge of various open-source automation tools and framework, including JMeter, Selenium, JProfiler, Badboy, Sahi, Watij and many more.


5. Head First Java, 2nd Edition
Head First Java, 2nd Edition

Learning a complex new language is no easy task especially when it s an object-oriented computer programming language like Java. You might think the problem is your brain. It seems to have a mind of its own, a mind that doesn't always want to take in the dry, technical stuff you're forced to study. 


The fact is your brain craves novelty. It's constantly searching, scanning, waiting for something unusual to happen. After all, that's the way it was built to help you stay alive. It takes all the routine, ordinary, dull stuff and filters it to the background so it won't interfere with your brain's real work--recording things that matter. How does your brain know what matters? It's like the creators of the Head First approach say, suppose you're out for a hike and a tiger jumps in front of you, what happens in your brain? Neurons fire. Emotions crank up. Chemicals surge. 


That's how your brain knows. 
And that's how your brain will learn Java. Head First Java combines puzzles, strong visuals, mysteries, and soul-searching interviews with famous Java objects to engage you in many different ways. It's fast, it's fun, and its effective. And, despite its playful appearance, Head First Java is serious stuff: a complete introduction to object-oriented programming and Java. You'll learn everything from the fundamentals to advanced topics, including threads, network sockets, and distributed programming with RMI. And the new. second edition focuses on Java 5.0, the latest version of the Java language and development platform. Because Java 5.0 is a major update to the platform, with deep, code-level changes, even more careful study and implementation is required. So learning the Head First way is more important than ever. 


If you've read a Head First book, you know what to expect--a visually rich format designed for the way your brain works. If you haven't, you're in for a treat. You'll see why people say it's unlike any other Java book you've ever read. 


By exploiting how your brain works, Head First Java compresses the time it takes to learn and retain--complex information. Its unique approach not only shows you what you need to know about Java syntax, it teaches you to think like a Java programmer. If you want to be bored, buy some other book. But if you want to understand Java, this book's for you. 


About the Authors 
Kathy Sierra has been interested in learning theory since her days as a game developer (Virgin, MGM, Amblin'). More recently, she's been a master trainer for Sun Microsystems, teaching Sun's java instructors how to teach the latest technologies to customers, and a lead developer of several Sun certification exams. Along with her partner Bert Bates, Kathy created the Head First series. She's also the original founder of the Software Development/Jolt Productivity Award-winning javaranch.com, the largest (and friendliest) all-volunteer Java community. 


Bert Bates is a 20-year software developer, a Java instructor, and a co-developer of Sun's upcoming EJB exam (Sun Certified Business Component Developer). His background features a long stint in artificial intelligence, with clients like the Weather Channel, A&E Network, Rockwell, and Timken.


6. Managing The Testing Process: Practical Tools And Techniques For Managing Hardware And Software Testing 
Managing the Testing Process: Practical Tools and Techniques for Managing Hardware and Software Testing
In this update of his bestselling book, Rex Black walks you through how to develop essential tools and apply them to your test project. He helps you master the basic tools, apply the techniques to manage your resources, and give each area just the right amount of attention so that you can successfully survive managing a test project!
Mark Fewster
Software Test Automation
Description: You can't just buy an automated testing tool and expect to improve your organization's testing process without some real effort, at least that is what the authors of Software Test Automation argue. Written for any test manager or engineer, this practical-minded guide shows the right way to automate testing to bring down costs and improve overall software quality. Most importantly, this book debunks the myth that testing tools alone will automate the testing process successfully. It does a good job of showing the limitations of today's testing tools. Instead of providing quick fixes, the authors show that with proper planning, you can design and reuse test scripts in addition to automating many aspects of the testing process (such as comparing actual and expected results). With chapters on designing test scripts, creating a testing architecture that will allow you to reuse test cases, and even documentation on choosing the right testing tool for your needs, this book is filled with plenty of nuts-and-bolts advice. Later the authors explain software metrics for tracking defects and how to phase in automated testing for the real-world organization (with a good eye for your shop's return on investment). The book closes with over a dozen case studies from the field, in which testing professionals from large companies (including Microsoft) relate their successes (and failures) with real-world test automation. Accessibly written and filled with real-world expertise, Software Test Automation provides a worthy resource for any test engineer on the effective implementation of automated software testing