Discover millions of ebooks, audiobooks, and so much more with a free trial

Only $11.99/month after trial. Cancel anytime.

Selenium Testing Tools Interview Questions You'll Most Likely Be Asked: Second Edition
Selenium Testing Tools Interview Questions You'll Most Likely Be Asked: Second Edition
Selenium Testing Tools Interview Questions You'll Most Likely Be Asked: Second Edition
Ebook150 pages2 hours

Selenium Testing Tools Interview Questions You'll Most Likely Be Asked: Second Edition

Rating: 0 out of 5 stars

()

Read preview

About this ebook

  • 225 Selenium Testing Tools Interview Questions
  • 78 HR Interview Questions 
  • Real life scenario-based questions
  • Strategies to respond to interview questions
  • 2 Aptitude Tests

LanguageEnglish
Release dateAug 6, 2019
ISBN9781949395112
Selenium Testing Tools Interview Questions You'll Most Likely Be Asked: Second Edition

Read more from Vibrant Publishers

Related to Selenium Testing Tools Interview Questions You'll Most Likely Be Asked

Titles in the series (33)

View More

Related ebooks

Software Development & Engineering For You

View More

Related articles

Reviews for Selenium Testing Tools Interview Questions You'll Most Likely Be Asked

Rating: 0 out of 5 stars
0 ratings

0 ratings0 reviews

What did you think?

Tap to rate

Review must be at least 10 words

    Book preview

    Selenium Testing Tools Interview Questions You'll Most Likely Be Asked - Vibrant Publishers

    Selenium Testing Tools Interview Questions You'll Most Likely Be Asked:

    Second Edition

    Job Interview Questions Series

    www.vibrantpublishers.com

    *****

    Selenium Testing Tools Interview Questions You'll Most Likely Be Asked: Second Edition

    Copyright 2021, By Vibrant Publishers, USA. All rights reserved. No part of this publication may be reproduced or distributed in any form or by any means, or stored in a database or retrieval system, without the prior permission of the publisher.

    This publication is designed to provide accurate and authoritative information in regard to the subject matter covered. The author has made every effort in the preparation of this book to ensure the accuracy of the information. However, information in this book is sold without warranty either expressed or implied. The Author or the Publisher will not be liable for any damages caused or alleged to be caused either directly or indirectly by this book.

    Vibrant Publishers books are available at special quantity discount for sales promotions, or for use in corporate training programs. For more information please write to bulkorders@vibrantpublishers.com

    Please email feedback / corrections (technical, grammatical or spelling) to spellerrors@vibrantpublishers.com

    To access the complete catalogue of Vibrant Publishers, visit www.vibrantpublishers.com

    *****

    Table of Contents

    1. Generic Selenium

    2. Selenium IDE

    3. Selenium RC (Selenium 1.0)

    4. Selenium Grid

    5. Web Driver (Selenium 2.0)

    6. Selenium Tool Implementation

    7. Miscellaneous

    HR Interview Questions

    INDEX

    *****

    Dear Reader,

    Thank you for purchasing Selenium Testing Tools Interview Questions You'll Most Likely Be Asked: Second Edition. We are committed to publishing books that are content-rich, concise and approachable enabling more readers to read and make the fullest use of them. We hope this book provides the most enriching learning experience as you prepare for your interview.

    Should you have any questions or suggestions, feel free to email us at reachus@vibrantpublishers.com

    Thanks again for your purchase. Good luck with your interview!

    – Vibrant Publishers Team

    *****

    Selenium Testing Tools Interview Questions

    Review these typical interview questions and think about how you would answer them. Read the answers listed; you will find best possible answers along with strategies and suggestions.

    *****

    Generic Selenium

    1: Explain Selenium exception test.

    Answer:

    The Exception test is expected to throw all exceptions that the webpage is supposed to throw. A class that’s written to throw an exception can handle the expected exception using the test annotation clause. Remember that the exception has to be a .class.

    2: Explain the various frameworks supported by Selenium.

    Answer:

    Selenium supports three types of frameworks – Data Driven, Keyword Driven and Hybrid. The Data Driven framework uses an external file such as excel, xml, csv, database etc. to build test cases. The Keyword driven framework uses an external file to store the keywords such as commands or operations. In a Hybrid framework, the external file may have a combination of both keywords and data.

    3: Explain the testing types that are supported by Selenium.

    Answer:

    You can do Functional, Regression and Load Testing using Selenium. Functional testing checks the functionality of the software application. Regression testing checks the functional and non-functional aspects of the software after the software undergoes a change to make sure that it still conforms to the client requirements. Load testing is done to check how much load the software can handle at its peak.

    4: Explain the restrictions of Selenium.

    Answer:

    Selenium has the following restrictions:

    a) You can only test applications that are web-based

    b) You can’t test Mobile applications

    c) Selenium does not support testing of Barcode readers and Captcha

    d) You need third party tools such as JUnit or TestNG to generate reports.

    e) Being free, you won’t get any vendor support

    f) You need to be familiar with some programming language.

    5: Explain Selenese Language.

    Answer:

    The Selenese language is used for writing Selenium IDE test scripts. It is used like a programming language for writing test scripts that run on Selenium.

    6: Differentiate between driver quit and driver close.

    Answer:

    The driver close command closes the current browser window running the command. The driver quit command is used to close all browser windows opened by the program including the current one.

    7: Differentiate verify and assert commands.

    Answer:

    Both Verify and Assert commands are used to check the result of a given condition, whether true/false. While the Verify command does not halt or pause the program irrespective of the status, the Assert command will continue execution only if the condition returns true. A verification failure doesn’t stop the program execution in case of a Verify command. But while using the Assert Command, if the condition is false, the rest of the conditions are not skipped.

    8: What is the difference between find Element() and find Elements()?

    Answer:

    While both the functions are used to fetch the web elements in a page, there’s a subtle difference. The find Element() function is used to find the first element on the webpage at the given locator. Find Elements() will return all elements pointed by the locator.

    9: Explain Windows based popups and how they are handled in Selenium.

    Answer:

    Using Selenium automation tool, you can only test web applications. It won’t handle Windows popups.

    10: What are some practical risks with Selenium?

    Answer:

    Here are some of the issues with Selenium:

    a) Selenium is good only for web-based solutions

    b) No support extended for Bitmap comparison

    c) Third party tools have to be depended upon for all types of reporting requirements

    d) Unlike the competing commercial tools, there’s no vendor support

    e) The absence of object source makes it a challenge to maintain the objects

    11: Explain the benefits of Selenium.

    Answer:

    a) It supports Python, C#, Java, PHP, Perl

    b) It supports Linux, Mac OS and Windows

    c) It has authoritative procedures to locate the DOM, CSS and XPath elements

    d) Highly regarded Google-supported developer community

    12: Explain the four parameter you have to pass in Selenium.

    Answer:

    The four parameters that you have to pass when using Selenium are:

    a) Host

    b) Port Number

    c) Browser

    d) URL

    13: Explain the Selenium testing tool.

    Answer:

    Selenium is an open-source tool primarily used for testing web applications on different browsers. It is used to automate the tests carried out on the web browser. Selenium is a pool of different tools that can run on Windows, Mac and Linux. It supports multiple programming languages and most of the popular browsers’ latest version. Selenium tests can be developed using Visual Studio, Eclipse or other IDEs. It has no formal support since it is an open source tool. But there’s an open source community for Selenium that offers complete support. It can work in sync with tools like JUnit and TestNG to manage test cases and to generate reports. It can also perform continuous testing with tools like Jenkins, Maven, & Docker.

    14: How does Selenium differ from the rest of the browser automation tools?

    Answer:

    a) Selenium, being an open source tool comes with zero license cost whereas most of the other tools such as UFT, Test Complete etc are paid ones. Hence, Selenium is appealing due to the license or subscription fee incurred on commercial automation tools.

    b) Selenium tools provide support for customization, assuring flexibility in terms of tool integration. For example, tools such as TestNG and JUnit for managing test cases and generating reports.

    c) A custom-built framework offers ample control over the features that are built into Selenium. It allows the addition of new features to be built into the framework.

    d) It is extensible to the extent that the source code can be modified for integrations. In the case of UFT and Test Complete, integration can be done only with the support team’s help.

    15: Explain the various tools available with Selenium.

    Answer:

    Selenium comes with a suite of tools, each catering to different testing needs.

    Selenium IDE: The IDE or Integrated Development Environment is a plugin for Firefox browser which is mainly used to create and run test cases that are generated in the IDE by recording [use the Record button] the interactions/navigation of the expected user work flow with the browser. Upon recording of the test cases, they can be re-played multiple times. Further these test records can be exported to diverse programming languages such as Ruby, Java, Python, etc. This Plug-in is exclusively accessible for Firefox.

    Selenium Grid: With the Grid, numerous test cases can be run simultaneously on different machines. The Hub-Node arrangement enables parallel execution. The Hub takes charge of the tests being executed on different browsers with diverse operating systems. The various node test

    Enjoying the preview?
    Page 1 of 1