uft&qtp interview unplugged 2nd edition preview

Download UFT&QTP Interview Unplugged 2nd Edition Preview

Post on 30-Oct-2015

1.695 views

Category:

Documents

0 download

Embed Size (px)

DESCRIPTION

UFT/QTP Interview Unplugged is a must have book for every UFT/QTP user. The book uses a very unique style of teaching the various concepts of the tool and its primary scripting language VBScript. It complements the QuickTest Professional Unplugged 2nd Ed, which was focused on pragmatic use of QTP's features. This edition focuses on giving you a crystal clear view of the various aspects of UFT. For e.g.:- How declaring or not declaring variable can change output of a script?- How object identification properties are chosen by UFT?- What constitutes a Test Automation Framework?- How is Shared Object Repository different from Local Object Repository?- How is ExecuteGlobal different from LoadFunctionLibrary?- And many more... Brush-up your concepts before any interview or certification. You can use this 2nd Edition as a reference book. The book has close to 500 interactive Q&A ranging from basic, intermediate, and advanced level.

TRANSCRIPT

  • UFT/QTP Interview Unplugged

    And I thought I knew UFT! - 2nd Edition

    By Tarun Lalwani

  • UFT/QTP Interview UnpluggedPublisher: KnowledgeInboxTechnical Editor & Reviewer: Anshoo AroraEditor (2nd Edition): Manika GargEditor (1st Edition): Chhanda BurmaanIllustrations by Jophy Joy

    ISBN: 978-0-9836759-4-5 2013 KnowledgeInbox. All rights reserved.Printing History:April 2013: 2nd EditionSeptember 2011: First Edition (ISBN: 978-0-9836759-0-7)Copyright 2011 Hewlett-Packard Caribe B.V. Reproduced with PermissionNo part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to KnowledgeInbox. Contact online at KnowledgeInbox.com/contact-us.

    Source codes discussed in this book can be copied, modified, or distributed without permission from author/pub-lisher by including the below reference comment header.

    'Source code taken from "UFT Interview Unplugged - And I thought I knew UFT!" By Tarun Lalwani

    'The link for downloads is KnowledgeInbox.com/demos/UFTInterviewUnplugged_SourceCodes.zip

    'Website: KnowledgeInbox.com/books/

    This document also contains registered trademarks, trademarks, and service marks that are owned by their respec-tive companies or organizations. Publisher and the author disclaim any responsibility for specifying which marks are owned by which companies or organizations.

    LIMIT OF LIABILITY/DISCLAIMER OF WARRANTY: THE PUBLISHER AND THE AUTHOR MAKE NO REPRESEN-TATIONS OR WARRANTIES WITH RESPECT TO THE ACCURACY OR COMPLETENESS OF THE CONTENTS OF THIS WORK AND SPECIFICALLY DISCLAIM ALL WARRANTIES, INCLUDING WITHOUT LIMITATION WAR-RANTIES OF FITNESS FOR A PARTICULAR PURPOSE. NO WARRANTY MAY BE CREATED OR EXTENDED BY SALES OR PROMOTIONAL MATERIALS. THE ADVICE AND STRATEGIES CONTAINED HEREIN MAY NOT BE SUITABLE FOR EVERY SITUATION. THIS WORK IS SOLD WITH THE UNDERSTANDING THAT THE PUB-LISHER IS NOT ENGAGED IN RENDERING LEGAL, ACCOUNTING, OR OTHER PROFESSIONAL SERVICES. IF PROFESSIONAL ASSISTANCE IS REQUIRED, THE SERVICES OF A COMPETENT PROFESSIONAL PERSON SHOULD BE SOUGHT. NEITHER THE PUBLISHER NOR THE AUTHOR SHALL BE LIABLE FOR DAMAGES ARISING HEREFROM. THE FACT THAT AN ORGANIZATION OR WEBSITE IS REFERRED TO IN THIS WORK AS A CITATION AND/OR A POTENTIAL SOURCE OF FURTHER INFORMATION DOES NOT MEAN THAT THE AUTHOR OR THE PUBLISHER ENDORSES THE INFORMATION THE ORGANIZATION OR WEBSITE MAY PRO-VIDE OR RECOMMENDATIONS IT MAY MAKE. FURTHER, READERS SHOULD BE AWARE THAT INTERNET WEBSITES LISTED IN THIS WORK MAY HAVE CHANGED OR DISAPPEARED BETWEEN WHEN THIS WORK WAS WRITTEN AND WHEN IT IS READ.

  • Dedication

    Eyes are a gift of God to us, to be able to see how beautiful this world is. But there are a few souls out there who are not blessed with this gift. I would like to dedicate this book to those who are visually impaired or blind, and have to work harder for every day-to-day challenge. I promise to donate ` 10/- for every copy sold to institutes helping visually impaired people.

  • vLalwani

    About the AuthorAbout Tarun Lalwani

    Tarun is the founder of Tarun Automation Research & Labs (TARLABS); a company focused on Test Automation Products and Services. He is the author of the three most widely-read books on QTP, QuickTest Professional Unplugged, And I Thought I knew QTP! and QTP Descriptive Programming Unplugged. He has expertise in Test Automation using various technologies such as VBScript, VB6, VB.Net, C#.NET, Excel, and Outlook Macros. He is also the owner and lead author for KnowledgeInbox;

    a blog and publication house focused on Test Automation.

    Tarun was awarded with the Best Feedback Award by HP for QTP 11 Beta testing and his book QuickTest Professional Unplugged was named as the Best Automation Book in the 2nd ATI Automation Honors awards. A regular contributor on AdvancedQTP and SQA forums, Taruns work has been showcased on several websites, including www.relevantcodes.com and www.advancedqtp.com.

    In Dec 2011, HP invited Tarun to its R&D center in Israel for a 4 day conference. The conference was aimed at taking his feedback on various aspects of QTP & BPT. This was the first time ever HP had invited any user from outside of Israel for feedback. The invitation highlights HPs interest in getting the user community involved in enhancing their tools.

    Tarun can be contacted at www.linkedin.com/in/tarunlalwani or www.knowledgeinbox.com/contact-us.

  • ForewordELFRIEDE DUSTIN

    In recent times, many IT companies have realized that software testing needs to be an integral part of their R&D efforts. Companies on the leading edge of software development, such as Google or Facebook, recognize the need for automated testing approaches. For example, Facebook1 is safely updated with hundreds of changes including bug fixes, new features, and product improvements. Given hundreds of engineers, thousands of changes every week and hundreds of millions of users worldwide, Facebook relies on their automated testing program that includes unit and water (GUI) testing as part of their release efforts. Another example, Google2 uses a product team that produces internal and open source productivity tools that are consumed by all walks of engineers across the company. They build and maintain code analyzers, IDEs, test case management systems, automated testing tools, build systems, source control systems, code review schedulers, bug databases... The idea is to make the tools that make engineers more productive. Tools are a very large part of the strategic goal of prevention over detection.

    The message is clear: quality software cant be released without an effective automated testing program. Numerous automated testing tools are available to support these efforts and one of the most popular 3rd party automated testing tools is HPs QuickTest Professional3 : HP continues to be the dominant player in the market, with a presence in virtually every large enterprise... Its position requires all other players to position around HPs tools, and is strong enough that several competitors also have integration with HP products. Virtually all SIs, outsourcing providers, and testing consultancies support the HP product line, making it easy for organizations to find experienced testers. SAP now resells HP testing tools as part of its overall quality solution. HP has grown its breadth in the quality space through acquisition, adding strong offerings for security analysis. New product releases in 2010, and planned for 2011, show that HP has retrenched in technical innovation to extend the breadth of its quality solutions (adding test data management and manual testing) and participate in a wider portion of the ALM market The company has a broad set of tools for software quality, including: Functional Testing (including UFT), among many other tools.

    A dominant tool such as UFT needs to be accompanied by a How to.. book. Tarun Lalwani has taken an encouraging lead in providing valuable UFT information to help educate new and experienced UFT users, with his first book QuickTest Professional Unplugged and now followed it up with UFT Interview Unplugged! With this book, Tarun has come up with a must-read guide that can help a user implement successful

  • UFT testing programs and efforts. Even though the book is about a dry topic like UFT automation, it is well written and entertaining and in the format of an interview. It gives a thorough dissection of many possible UFT problems via various UFT questions and answers. This book articulates solutions to most UFT issues a user will run into and provides timely and necessary material for any UFT user beginner or advanced.

    Elfriede DustinAutomated Software Testing Evangelistwww.idtus.com

    Elfriede Dustin, an IT veteran with over 20 years of experience behind her, has authored and co-authored various books on Software Testing like Quality Web Systems, The Art of Software Security Testing, Automated Software Testing, Effective Software Testing and Implementing Automated Software Testing. She currently works for ITD.

    1 https://www.facebook.com/Engineering#!/video/video.php?v=10100259101684977&oid=9445547199&comments

    2 http://googletesting.blogspot.com/2011/01/how-google-tests-software.html

    3 http://www.gartner.com/technology/media-products/newsletters/itko/issue1/gartner.html

  • ForewordAJ ALHAIT

    And I thought this was going to be just another technical book!

    Taruns new book UFT Interview Unplugged is a unique revolution in technical book authoring! This was unlike any technical book Ive ever read. The approach is so interesting, it makes you want to read on like you are reading a sci-fi novel. Its quite interesting and a fun read, but do not expect to use it as a technical reference manual. This is one book that you can actually learn something from by reading it start-to-finish.

    Tarun has, in a way, revolutionized technical book authoring by writing this book I expect others to get inspired and use a similar structure and style in the future. Kudos to Tarun for writing this out of the park hit.

    AJ Alhait

    Founder

    SQAForums.com

    QAtraining.net

    Amjad Alihat (AJ), founder and owner of SQAForums.com and QAtraining.net, has over 18 years of experience in software testing, and has been working as a consultant for over 10 years. Started in 1999, SQAForums.com is a hub for various QA professionals and has around 190,000 members. As a knowledge-sharing platform it has helped many pr

View more