Upload Button Icon Add office photos

Polaris Consulting

Compare button icon Compare button icon Compare

Filter interviews by

Polaris Consulting Selenium Automation Interview Questions and Answers

Updated 14 Jan 2021

Polaris Consulting Selenium Automation Interview Experiences

1 interview found

I applied via Job Portal

Interview Questionnaire 

7 Questions

  • Q1. What are constructors?
  • Ans. 

    Constructors are special methods that are used to initialize objects in a class.

    • Constructors have the same name as the class.

    • They are called automatically when an object is created.

    • They can be used to set default values for object properties.

    • Constructors can be overloaded to accept different parameters.

    • Example: public class Car { public Car() { // constructor code here } }

  • Answered by AI
  • Q2. Super interface in web driver
  • Ans. 

    A super interface in Selenium WebDriver is an interface that extends multiple interfaces.

    • A super interface allows a class to inherit methods and variables from multiple interfaces.

    • It provides a way to achieve multiple inheritance in Java.

    • For example, the WebDriver interface is a super interface that extends multiple interfaces like SearchContext and TakesScreenshot.

  • Answered by AI
  • Q3. Types of locators
  • Ans. 

    Locators are used in Selenium Automation to identify elements on a web page.

    • ID Locator: Uses the 'id' attribute of an element

    • Name Locator: Uses the 'name' attribute of an element

    • Class Name Locator: Uses the 'class' attribute of an element

    • Tag Name Locator: Uses the HTML tag name of an element

    • Link Text Locator: Uses the text of a link element

    • Partial Link Text Locator: Uses a partial text of a link element

    • CSS Selector Loc...

  • Answered by AI
  • Q4. OOPS concepts
  • Q5. Action class
  • Q6. Reporting tools in web driver
  • Ans. 

    There are several reporting tools available for Selenium WebDriver.

    • TestNG

    • JUnit

    • ExtentReports

    • Allure Reports

    • Custom reporting using log4j or Apache log4j

  • Answered by AI
  • Q7. Types of waits
  • Ans. 

    Waits are used to synchronize the test execution with the application's response.

    • Implicit Wait

    • Explicit Wait

    • Fluent Wait

    • Thread.sleep()

    • WebDriverWait

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Level 1 interview is most on technical aspects. Not asked much on current project related topics.

Skills evaluated in this interview

Tell us how to improve this page.

Interview Questions from Similar Companies

TCS Interview Questions
3.7
 • 10.4k Interviews
Infosys Interview Questions
3.6
 • 7.5k Interviews
Wipro Interview Questions
3.7
 • 5.6k Interviews
Tech Mahindra Interview Questions
3.5
 • 3.8k Interviews
HCLTech Interview Questions
3.5
 • 3.8k Interviews
LTIMindtree Interview Questions
3.8
 • 2.9k Interviews
Mphasis Interview Questions
3.4
 • 788 Interviews
Cyient Interview Questions
3.6
 • 283 Interviews
NeoSOFT Interview Questions
3.9
 • 261 Interviews
View all
Consultant
112 salaries
unlock blur

₹3.6 L/yr - ₹12.3 L/yr

Associate Consultant
90 salaries
unlock blur

₹2.8 L/yr - ₹8.5 L/yr

Senior Consultant
63 salaries
unlock blur

₹7.8 L/yr - ₹18 L/yr

Lead Consultant
51 salaries
unlock blur

₹9 L/yr - ₹19.7 L/yr

Software Engineer
40 salaries
unlock blur

₹2.4 L/yr - ₹9 L/yr

Explore more salaries
Compare Polaris Consulting with

TCS

3.7
Compare

Infosys

3.6
Compare

Wipro

3.7
Compare

HCLTech

3.5
Compare
Did you find this page helpful?
Yes No
write
Share an Interview