Make your own eBooks

Use our Remix App to mix & match content. In minutes make your own course packs, training bundles, custom travel guides, you name it. Even add your own title & cover.


Slices & Articles Get by the slice or add to your own ebook

Medium 9780596527549

10.14 Driving Your Web Applications Automatically with Watir

James Avery O'Reilly Media PDF


Selenium in a Nutshell

Selenium allows for automating browser and functional testing from web applications’ user interfaces. Its broad browser support allows for the testing of multiple browsers and platforms from the viewpoint of the users of your application. In addition to the general automation support, Selenium also provides a capability for publishing test results and for integrating with a continuous integration environment.

—Ben Carey

10.14 Driving Your Web Applications Automatically with Watir

Say you’re creating a web-based application. You want to know whether it works from the users’ point of view before you deploy it, so you put it through its paces manually. You click links, you fill in fields on forms, you press buttons. Then you make a change to the application, and you realize you have to do all that verification again.

Manually testing the same things over and over again can be mind-numbingly repetitive. It’s also error-prone: the more pressed you are for time, the more likely you are to skip tests. But if you don’t test, you take the risk that your changes may have introduced serious bugs. The alternative most organizations adopt is to automate at least some of their tests.

See All Chapters
Medium 9781449319717

6. MX Virtual Chassis

Douglas Richard, Jr. Hanks O'Reilly Media ePub

As the number of devices in your network grow, the operational burden increases. A common term in the networking industry is stacking, which is a concept where multiple devices can be joined together and managed as a single device. A common problem with stacking is the lack of intelligence in the implementation, which leads to high availability problems. All too often, vendors implement a stacking solution that simply designates master and slave devices to provide bare minimum functionality. In simple stacking implementations, the failure of a networking device requires a lengthy mastership election process and no synchronization of kernel state such as routing protocol adjacencies, routing tables, and MAC address tables.

Virtual chassis really shows off Junipers engineering prowess. When looking at a standalone chassis, there are many things that are a given: dual routing engines, nonstop routing, nonstop bridging, and graceful routing engine switchover. Virtual chassis was designed from the ground up to include these critical features and provide a true, single virtual chassis.

See All Chapters
Medium 9781565923980

14. Probability

Jarkko Hietaniemi O'Reilly Media ePub

The theory of probabilities is at bottom nothing butcommonsensereducedtocalculus.

Probability theory is used to predict events. The roll of a die, tomorrows weather, the chance that the defendant visited the crime scene: all have to do with the likelihoods of particular occurrences.

For our exploration of probability, well begin with a discussion of random numbers, a topic that perplexes many novice Perl programmers who wonder why their random numbers dont seem very random at all. We use random numbers to simulate and simplify real world situations. You could compute whether a flipped coin will land heads or tails by determining the amount of force applied to the coin, the angular rotation component of that force, the velocity induced by the motion of the arm at the time of release, the location at the time of release, and the elasticity of the floor. Or you can argue that a coin is as likely to come up heads as tails and call each an event with a probability of 0.5.

After we formally introduce events and how to manipulate their probabilities with Perl, well use them for combinatorics: the calculation of permutations and combinations.

See All Chapters
Medium 9781781608289

Alexandre-François Desportes (1661-1743)

Victoria Charles Parkstone International ePub
Medium 9781845938178

19: Rodent Control: Back to the Future (the Sequel)

Buckle, A.P. CABI PDF


Rodent Control: Back to the Future (the Sequel)

A.P. Buckle1 and R.H. Smith2

School of Biological Sciences, University of Reading, Reading, UK;


School of Applied Sciences, University of Huddersfield, Huddersfield, UK


Introduction: What Has Happened in the Last 20 Years?

In the first edition of this book, we used the name of a (then) popular film as the title of a concluding chapter in which we sought to summarize what had been learned about rodent control from extensive research that had been conducted and described in the book, and also to make predictions about the future direction of rodent pest management.

First and foremost, we foresaw a future in which no effective new active substances would be brought to the market to overcome the drawbacks of those already there. This was in part due to the technical complexity of such an enterprise and in part to the increasing costs imposed by growing regulatory requirements, which were considered disproportionate to the likely financial value of such a project when the product was brought to market. Our foresight in this case was depressingly accurate. No substantial changes have occurred in the 20 years since the book was published in terms of the number of effective rodenticides available to practitioners. The global market for rodenticides was then dominated by the second-­ generation anticoagulants and is even more so today.

See All Chapters

See All Slices