Upload Button Icon Add office photos

Polaris Consulting

Compare button icon Compare button icon Compare

Filter interviews by

Clear (1)

Polaris Consulting Selenium Automation Interview Questions, Process, and Tips

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

Interview questions from similar companies

I applied via Naukri.com

Interview Questionnaire 

5 Questions

  • Q1. Priority in TestNg
  • Ans. 

    Priority in TestNG determines the order in which test methods are executed.

    • Priority can be set using the 'priority' attribute in @Test annotation

    • Default priority is 0, higher priority is executed first

    • Priority can be negative as well

    • If two methods have the same priority, they are executed in alphabetical order

  • Answered by AI
  • Q2. Difference between simple Java program and maven project
  • Ans. 

    A simple Java program is a standalone program while a Maven project is a build automation tool.

    • A simple Java program is compiled and executed using the command line or an IDE.

    • A Maven project uses a pom.xml file to manage dependencies and build the project.

    • A simple Java program may require manual management of dependencies.

    • A Maven project can easily manage dependencies and build the project with a single command.

    • A simpl...

  • Answered by AI
  • Q3. Why do tags used in cucumber
  • Ans. 

    Tags are used in Cucumber to organize and filter scenarios and features.

    • Tags allow for easy organization of scenarios and features based on their purpose or functionality.

    • Tags can be used to filter which scenarios or features are run during a test.

    • Tags can be added to scenarios or features using the '@' symbol followed by the tag name.

    • Tags can also be used to pass parameters to step definitions.

    • Examples: @smoke, @regre

  • Answered by AI
  • Q4. Difference between TestNg and junit
  • Ans. 

    TestNG is more advanced and flexible than JUnit, with features like parallel testing and data-driven testing.

    • TestNG supports parallel testing while JUnit does not.

    • TestNG allows for data-driven testing while JUnit does not.

    • TestNG has more advanced annotations and reporting features than JUnit.

    • TestNG can be used with both Java and non-Java languages while JUnit is only for Java.

    • JUnit is simpler and easier to learn than T

  • Answered by AI
  • Q5.  How to disable test.
  • Ans. 

    To disable a test, we can comment out the test code or use testNG annotations.

    • Comment out the test code

    • Use testNG annotations like @Test(enabled=false)

    • Use testNG XML file to disable the test

    • Use groups to disable a set of tests

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - The interview was good. Though it was for selenium automation, less questions asked from that. In JD, basic sql and linux was given. No questions asked. More Java concepts and TestNg questions asked

Skills evaluated in this interview

Interview Questionnaire 

5 Questions

  • Q1.  In a page there are two login button available, So will it have same ID?
  • Ans. 

    No, the two login buttons should not have the same ID.

    • IDs should be unique for each element on a page

    • Having two elements with the same ID can cause issues with locating and interacting with the elements

  • Answered by AI
  • Q2. How to write the step execution report/result in the report?
  • Ans. 

    Use TestNG or JUnit framework to generate step execution report/result.

    • Use TestNG or JUnit annotations to mark the start and end of each test step.

    • Use TestNG or JUnit listeners to capture the test results and generate the report.

    • Use reporting libraries like ExtentReports or ReportNG to generate detailed reports with screenshots and logs.

  • Answered by AI
  • Q3. How to switch to the second window using page Title?
  • Ans. 

    To switch to the second window using page title, we can use getWindowHandles() and switchTo() methods.

    • Use getWindowHandles() method to get all the window handles

    • Iterate through the window handles and switch to the desired window using switchTo() method

    • Use getTitle() method to get the title of each window and compare it with the desired title

  • Answered by AI
  • Q4. How will you retrieve all the values from the drop down?
  • Ans. 

    To retrieve all values from a drop down, we can use the getOptions() method and store the values in an array of strings.

    • Locate the drop down element using any of the locators

    • Create a Select class object by passing the drop down element as a parameter

    • Use the getOptions() method to retrieve all the options from the drop down

    • Store the options in an array of strings

  • Answered by AI
  • Q5. What are the collections used in framework?
  • Ans. 

    Collections like ArrayList, HashMap, HashSet are commonly used in Selenium framework.

    • ArrayList is used to store a list of elements

    • HashMap is used to store key-value pairs

    • HashSet is used to store unique elements

    • Collections class is used for sorting and searching

  • Answered by AI

Skills evaluated in this interview

Round 1 - Technical 

(1 Question)

  • Q1. Write a program to remove duplicate character in a string if there are multiple users in an application, and if the buttons in the applications are specific to particular user, you need to perform operatio...
  • Ans. 

    Questions related to Selenium Automation and software testing

    • To remove duplicate characters in a string, use a loop and a hashset

    • To perform operations on specific buttons for a user, use conditional statements

    • To switch to a particular tab, use the window handle

    • 500 error code in Postman validation indicates a bad request

    • Primary key is a unique identifier for a record in a database

    • Roles and responsibilities in a project

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - prepare for basic java, selenium and error codes, db queries

Skills evaluated in this interview

I applied via Company Website and was interviewed before Dec 2020. There were 4 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. Questions on Java,SQL,some trending technologies(IOT,Big data),pattern questions, programming questions with different approaches.

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare basics of DSA, have knowledge about the databases, some common dml ,ddl statements, programming knowledge of a particular language like C,Java, python,etc...have good command on oops concepts... little bit of frameworks knowledge will also help

I applied via Newspaper Ad and was interviewed before Jun 2021. There were 3 interview rounds.

Round 1 - Aptitude Test 
Round 2 - Technical 

(1 Question)

  • Q1. Basic questions of java.
Round 3 - HR 

(1 Question)

  • Q1. Intro and other hr related questions.

Interview Preparation Tips

Interview preparation tips for other job seekers - Cover the basic questions regarding the programming language.

I applied via Naukri.com and was interviewed before Apr 2021. There were 2 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all Resume tips
Round 2 - Aptitude Test 

Interview Preparation Tips

Interview preparation tips for other job seekers - Nothing as such. Overall experience was good

I applied via Referral and was interviewed before Apr 2021. There were 2 interview rounds.

Round 1 - Aptitude Test 

Puzzles, Psychometric Test

Round 2 - One-on-one 

(1 Question)

  • Q1. Some water in 3 Jars question, you had to measure out 5L correctly

Interview Preparation Tips

Interview preparation tips for other job seekers - Make the interview interactive, I got this input from another Senior. Before i went into the interview room the volunteers were telling all those who goes into Room No 1 is screwed. I was praying i don't get room no 1. But fortunately for me I got room no 1 because when the interviewer gave me the puzzle and handed over pen and paper he went back to relax his posture and when i explained i will fill the 5L Jar first, he immediately came forward to listen to me, at that moment i knew i got the job because i felt the previous candidates never made their interview interactive and that's why he went back to relax his posture.

I applied via Walk-in and was interviewed before Jul 2021. There was 1 interview round.

Round 1 - Technical 

(1 Question)

  • Q1. .net questions - routing in asp.net MVC ?

Interview Preparation Tips

Interview preparation tips for other job seekers - Nothing . Prepare well for interview on .Net technology stack

I applied via Company Website and was interviewed before Jun 2021. There were 2 interview rounds.

Round 1 - Aptitude Test 

First round was coding as well as aptitude done together went well I guess focusing on codes helps a lot.

Round 2 - Technical 

(1 Question)

  • Q1. 2nd round included tr and mr round went quite enegritic

Interview Preparation Tips

Interview preparation tips for other job seekers - Resume skills matters a lot don't fill resume the technologies you don't even aware of
Contribute & help others!
anonymous
You can choose to be anonymous

Polaris Consulting Interview FAQs

What are the top questions asked in Polaris Consulting Selenium Automation interview?

Some of the top questions asked at the Polaris Consulting Selenium Automation interview -

  1. What are constructo...read more
  2. Super interface in web dri...read more
  3. Reporting tools in web dri...read more

Recently Viewed

JOBS

ICICI Prudential Life Insurance

No Jobs

INTERVIEWS

Polaris Consulting

No Interviews

JOBS

ICICI Prudential Life Insurance

No Jobs

JOBS

ICICI Prudential Life Insurance

No Jobs

INTERVIEWS

Polaris Consulting

No Interviews

INTERVIEWS

Polaris Consulting

No Interviews

INTERVIEWS

Accenture

No Interviews

SALARIES

Futures First info Services

INTERVIEWS

Aditya Birla Group

No Interviews

INTERVIEWS

Hindalco Industries

No Interviews

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
251 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Senior Consultant
245 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Associate Consultant
196 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Lead Consultant
195 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Softwaretest Engineer
177 salaries
unlock blur

₹0 L/yr - ₹0 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