• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin
  • Number of slices to send:
    Optional 'thank-you' note:

Image from Amazon
Title: Test Automation using Selenium WebDriver with Java: Step by Step Guide
Author(s): Navneesh Garg
Publisher: Self Published
Category: Testing


Summary

Amazon wrote:Test Automation using Selenium WebDriver, is the latest book released on Selenium 2.0 using Java as a programming language. This Selenium book has been designed with the objectives of simplicity and ease of understanding.




Book Preview (when available)



From the publisher
  • Table of Contents (not available)



  • Where to get it?
  • Amazon.com



  • Related Websites
  • Selenium
  • COMMENTS:
     
    author & internet detective
    Posts: 41905
    909
    • 2
    • Number of slices to send:
      Optional 'thank-you' note:
    I give this book 2 out of 10 horseshoes.

    As I read the reviews on Amazon for “Test Automation using Selenium WebDriver with Java: A Step by Step Guide”, I'm wondering if the reviewers read the same book as I did. I can't recommend this book to anyone.

    The target audience for this book appears to be testers who don't yet know Java. Chapter 8 covers the basics of Java including what is a class and basic syntax like creating variables and if statements. Now Selenium WebDriver is a programming API implemented in a few languages. This book uses Java as the chosen language, which is fine. I have difficultly with the idea that you can write 90 pages (that's almost 25% of the book) without your readers yet having any knowledge of the language that is being used in the book. Some of it is good – covering why you'd want to test and concepts. But that's a really long introduction. Oh and I hope you like screenshots. I counted 75 screenshots in those first 90 pages. While I do like screenshots for installing software and showing tools, this feels like an excessive number.

    Ok. Chapter 9 is titled “Creating First Selenium WebDriver Script.” Great. We are finally going to learn how to write code in WebDriver. Nope. This chapter is about how to export a script from Selenium IDE and how to use Eclipse. There's a tiny bit of explanation of what the exported script is doing, but that's more in Chapter 10. Ok. Chapter 10. Now we are FINALLY going to learn how to write code in WebDriver right? I suppose we do. We get 1.5 pages of unannotated code followed by five lines of explanation. The rest of the chapter is basically three pages of tables with APIs. The table does say what the method does, but this is a very fast moving way of introducing Selenium. And the book has held our hand and assumed no knowledge thus far.

    I do like the justification for automation. I like the multiple choice questions for review. And the idea of a case study to have the the examples using the same topic throughout. I like that tools that Selenium integrates with are explored although I think it came at the expensive of becoming proficient in WebDriver. I like that property files and parameterized tests from Excel are covered. I like that recipes in chapter 27 at the end although I wish there was more focus on them.

    Even thought there are things that I like, I can't recommend this book. The formatting of code is really bad. Tab indent lines are inconsistent but look like 10-15 spaces. Which causes lots of wrapping and makes it hard to read. On page 229, there are even spaces in keywords and variable names. In a number of cases imports have the wrong case and won't compile. JUnit is frequently spelled as Junit. @Before is written as @before. These are small things, but there are a ton of them which is distracting. And for a book that targets people new to Java, they aren't so obvious to figure out when typing in an example and wondering why the code doesn't compile. There's also a lot of English grammar errors.

    There are also bad practices being touted as good practices. At the end, he recommends variable be named with the type like blnFound and strFirstName. Hungarian notation is controversial enough, but this isn't even standard for Java. There's an un-removed reference to VBScript before that table which appears to be where it comes from. Within the book, he uses a mix of Hungarian notation (iNumber and sName) and normal Java notation (number and name).

    He also recommends HA_BE_login as a method name. Except he calls it a function name because he is presumably a VB guy who doesn't realize Java developers don't call them functions. And this is intentional. He thinks he is being clever by creating this abbreviation convention. Don't name your method that! There's not a character shortage. There's no reason this can't be HotelAppBusinessFunctionLogin. Which actually follows Java naming conventions and is easier to read.

    These last two bother me a lot because they are bad practices in Java. Teaching someone new to Java bad practices in Java is not setting them up for success.

    While all of the things I've mentioned would have had me take off stars, combined they just leave me with the advice to pick another book.
    reply
      Bookmark Topic Watch Topic
    • New Topic
    vceplus-200-125    | boson-200-125    | training-cissp    | actualtests-cissp    | techexams-cissp    | gratisexams-300-075    | pearsonitcertification-210-260    | examsboost-210-260    | examsforall-210-260    | dumps4free-210-260    | reddit-210-260    | cisexams-352-001    | itexamfox-352-001    | passguaranteed-352-001    | passeasily-352-001    | freeccnastudyguide-200-120    | gocertify-200-120    | passcerty-200-120    | certifyguide-70-980    | dumpscollection-70-980    | examcollection-70-534    | cbtnuggets-210-065    | examfiles-400-051    | passitdump-400-051    | pearsonitcertification-70-462    | anderseide-70-347    | thomas-70-533    | research-1V0-605    | topix-102-400    | certdepot-EX200    | pearsonit-640-916    | itproguru-70-533    | reddit-100-105    | channel9-70-346    | anderseide-70-346    | theiia-IIA-CIA-PART3    | certificationHP-hp0-s41    | pearsonitcertification-640-916    | anderMicrosoft-70-534    | cathMicrosoft-70-462    | examcollection-cca-500    | techexams-gcih    | mslearn-70-346    | measureup-70-486    | pass4sure-hp0-s41    | iiba-640-916    | itsecurity-sscp    | cbtnuggets-300-320    | blogged-70-486    | pass4sure-IIA-CIA-PART1    | cbtnuggets-100-101    | developerhandbook-70-486    | lpicisco-101    | mylearn-1V0-605    | tomsitpro-cism    | gnosis-101    | channel9Mic-70-534    | ipass-IIA-CIA-PART1    | forcerts-70-417    | tests-sy0-401    | ipasstheciaexam-IIA-CIA-PART3    | mostcisco-300-135    | buildazure-70-533    | cloudera-cca-500    | pdf4cert-2v0-621    | f5cisco-101    | gocertify-1z0-062    | quora-640-916    | micrcosoft-70-480    | brain2pass-70-417    | examcompass-sy0-401    | global-EX200    | iassc-ICGB    | vceplus-300-115    | quizlet-810-403    | cbtnuggets-70-697    | educationOracle-1Z0-434    | channel9-70-534    | officialcerts-400-051    | examsboost-IIA-CIA-PART1    | networktut-300-135    | teststarter-300-206    | pluralsight-70-486    | coding-70-486    | freeccna-100-101    | digitaltut-300-101    | iiba-CBAP    | virtuallymikebrown-640-916    | isaca-cism    | whizlabs-pmp    | techexams-70-980    | ciscopress-300-115    | techtarget-cism    | pearsonitcertification-300-070    | testking-2v0-621    | isacaNew-cism    | simplilearn-pmi-rmp    | simplilearn-pmp    | educationOracle-1z0-809    | education-1z0-809    | teachertube-1Z0-434    | villanovau-CBAP    | quora-300-206    | certifyguide-300-208    | cbtnuggets-100-105    | flydumps-70-417    | gratisexams-1V0-605    | ituonline-1z0-062    | techexams-cas-002    | simplilearn-70-534    | pluralsight-70-697    | theiia-IIA-CIA-PART1    | itexamtips-400-051    | pearsonitcertification-EX200    | pluralsight-70-480    | learn-hp0-s42    | giac-gpen    | mindhub-102-400    | coursesmsu-CBAP    | examsforall-2v0-621    | developerhandbook-70-487    | root-EX200    | coderanch-1z0-809    | getfreedumps-1z0-062    | comptia-cas-002    | quora-1z0-809    | boson-300-135    | killtest-2v0-621    | learncia-IIA-CIA-PART3    | computer-gcih    | universitycloudera-cca-500    | itexamrun-70-410    | certificationHPv2-hp0-s41    | certskills-100-105    | skipitnow-70-417    | gocertify-sy0-401    | prep4sure-70-417    | simplilearn-cisa    |
    http://www.pmsas.pr.gov.br/wp-content/    | http://www.pmsas.pr.gov.br/wp-content/    |