Upload Button Icon Add office photos

Filter interviews by

Kohinoor IT Consultancy Selenium Automation Interview Questions and Answers

Be the first one to contribute and help others!

Interview questions from similar companies

I applied via Referral and was interviewed before Jun 2020. There was 1 interview round.

Interview Questionnaire 

1 Question

  • Q1. Types of xpaths, project structure, cucumber dry run option, testing basic annotations, difference between interface and abstract class, what are the concepts of oops
  • Ans. 

    Answering questions related to Selenium Automation

    • Types of xpaths: Absolute and Relative

    • Project structure: Follows a modular approach

    • Cucumber dry run option: Used to check feature file syntax

    • Testing basic annotations: @Test, @BeforeTest, @AfterTest

    • Difference between interface and abstract class: Interface has only method declarations, abstract class has both method declarations and implementations

    • Concepts of OOPS: Inhe...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Interview comparatively easy other companies , although hr process is the worst. The hr process might take upto an year in some cases and even after that the profile maybe on hold after clearing all rounds. A complete poor coordination within the hr team is visible and the Hr are least interested and often not available to answer the candidates queries.

Skills evaluated in this interview

Interview Questionnaire 

1 Question

  • Q1. Interview was not happened as scheduled. No one joined in the meeting

Interview Preparation Tips

Interview preparation tips for other job seekers - I got an invite for an interview and it was scheduled by today on 11:30 Am to 12:00 pm but I didn't see anyone joined in the meeting . I waited till 1 o clock no one joined in the meeting

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

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 Naukri.com and was interviewed in Apr 2021. There were 3 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. What is mother of all classes?
  • Ans. 

    There is no such thing as 'mother of all classes' in Selenium Automation.

    • There is no concept of 'mother of all classes' in Selenium Automation.

    • It is possible that the interviewer is asking a trick question or trying to test the candidate's knowledge.

    • The candidate should politely ask for clarification or context before attempting to answer.

    • If the interviewer insists on an answer, the candidate can explain that there is ...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare thoroughly if you are giving interview for Selenium tester.

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

I applied via Campus Placement

Interview Questionnaire 

3 Questions

  • Q1. What is your final year project?what technology did i used for it?Basic oops concepts.
  • Ans. 

    My final year project was on developing a web-based inventory management system using Java and MySQL.

    • Developed using Java and MySQL

    • Web-based inventory management system

    • Implemented basic OOPs concepts

    • Used MVC architecture for better code organization

    • Included features like user authentication, product management, and order tracking

  • Answered by AI
  • Q2. What did you do in lockdown?
  • Q3. Tell me something about yourself.

Interview Preparation Tips

Interview preparation tips for other job seekers - Be calm and be real.

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

Round 1 - Group Discussion 

They give some topics related to present situation like in my GD in 2020 co. HR give topics related to that situation in our country like difference between offline education and online education system. and covid-19 pandemic related topics.

Round 2 - One-on-one 

(4 Questions)

  • Q1. Tell me About your self ?
  • Q2. What do you know about this job position ?
  • Q3. What is your favourite colour ? Can i know the speciality of your favourite colour ?
  • Q4. Who inspired you to go to job daily and work hard ?

Interview Preparation Tips

Interview preparation tips for other job seekers - Your 1st impression is your resume nothing else then after you have some knowledge about your job position which you apply for and most important if you want only private job your english language will be excellent spoken as well as written.

I applied via Naukri.com and was interviewed in Sep 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 tips
Round 2 - Technical 

(1 Question)

  • Q1. All types of test steeps
  • Ans. 

    Types of test steps in software testing

    • Unit testing - testing individual units or components of the software

    • Integration testing - testing how different units or components work together

    • System testing - testing the entire system as a whole

    • Acceptance testing - testing if the software meets the requirements and is ready for release

    • Regression testing - testing to ensure that changes or updates to the software did not intro...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Hope for the best.All can achieve same

Interview Questionnaire 

1 Question

  • Q1. Questions related to COBOL,JCL,VSAM,DB2,CICS,Vision plus

Tell us how to improve this page.

Interview Questions from Similar Companies

TCS Interview Questions
3.7
 • 10.7k Interviews
Accenture Interview Questions
3.8
 • 8.3k Interviews
Infosys Interview Questions
3.6
 • 7.7k Interviews
Wipro Interview Questions
3.7
 • 5.7k Interviews
Cognizant Interview Questions
3.7
 • 5.7k Interviews
Amazon Interview Questions
4.0
 • 5.1k Interviews
Capgemini Interview Questions
3.7
 • 4.9k Interviews
HCLTech Interview Questions
3.5
 • 3.9k Interviews
Tech Mahindra Interview Questions
3.5
 • 3.9k Interviews
Genpact Interview Questions
3.8
 • 3.2k Interviews
View all
Compare Kohinoor IT Consultancy with

TCS

3.7
Compare

Accenture

3.8
Compare

Wipro

3.7
Compare

Cognizant

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