Upload Button Icon Add office photos
Engaged Employer

i

This company page is being actively managed by Ness Digital Engineering Team. If you also belong to the team, you can get access from here

Ness Digital Engineering Verified Tick

Compare button icon Compare button icon Compare

Filter interviews by

Clear (1)

Ness Digital Engineering Selenium Automation Interview Questions, Process, and Tips

Updated 12 Oct 2020

Ness Digital Engineering Selenium Automation Interview Experiences

1 interview found

Interview Questionnaire 

7 Questions

  • Q1. How to handle Multiple popups in selenium?
  • Ans. 

    To handle multiple popups in Selenium, we can use getWindowHandles() and switchTo() methods.

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

    • Switch to the desired window using switchTo() method

    • Perform actions on the popup window

    • Switch back to the main window using switchTo() method

  • Answered by AI
  • Q2. How to send credentials via URL?
  • Ans. 

    Credentials can be sent via URL by appending them to the URL as query parameters.

    • Append the username and password as query parameters to the URL

    • Encode the username and password using Base64 encoding

    • Example: http://example.com/login?username=admin&password=encoded_password

  • Answered by AI
  • Q3. Difference between Explicit wait and Fluent Wait?
  • Ans. 

    Explicit wait waits for a specific condition while Fluent wait waits for a condition with polling interval.

    • Explicit wait waits for a specific condition to occur before proceeding further

    • Fluent wait waits for a condition with a polling interval and ignores exceptions

    • Explicit wait is used when we know the condition and the maximum time to wait for it

    • Fluent wait is used when we don't know the maximum time to wait for a co...

  • Answered by AI
  • Q4. How to Scroll page to desired ocation?
  • Ans. 

    To scroll page to desired location, use JavaScriptExecutor and scrollTo() method.

    • Create an instance of JavaScriptExecutor

    • Use executeScript() method to execute scrollTo() method

    • Pass the desired location as arguments to scrollTo() method

    • Example: ((JavascriptExecutor) driver).executeScript("window.scrollTo(0, document.body.scrollHeight)");

  • Answered by AI
  • Q5. How to get all the options in a DropDown?
  • Ans. 

    To get all options in a dropdown, use the getOptions() method and store the values in an array of strings.

    • Locate the dropdown element using any of the locators

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

    • Use the getOptions() method to get all the options in the dropdown

    • Store the options in an array of strings

  • Answered by AI
  • Q6. How to initialize chrome driver?
  • Ans. 

    To initialize Chrome driver, create an instance of ChromeDriver class.

    • Create an instance of ChromeDriver class

    • Set the path of ChromeDriver executable file

    • Use the instance to interact with the browser

  • Answered by AI
  • Q7. How to execute feature file in parallel in BDD Cucumber Framework
  • Ans. 

    To execute feature files in parallel in BDD Cucumber Framework, we can use tools like Maven Surefire plugin or Cucumber-JVM-Parallel-Plugin.

    • Use Maven Surefire plugin to run tests in parallel by adding and tags in pom.xml file

    • Use Cucumber-JVM-Parallel-Plugin to run tests in parallel by adding @CucumberOptions(plugin = {"json:target/cucumber-report/cucumber.json", "com.github.temyers:cucumber-jvm-parallel-plugin:5.0.0"...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Go through all basics

Skills evaluated in this interview

Interview questions from similar companies

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 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 Walk-in and was interviewed before Dec 2020. There were 3 interview rounds.

Interview Questionnaire 

3 Questions

  • Q1. Basic Programming questions.
  • Q2. Fibonacci program
  • Q3. OOPS concepts.

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare basic OOPS concepts and basic programs.

I applied via Naukri.com and was interviewed in Aug 2020. There were 3 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. Oops Concepts and Data Structure Questions.

Interview Preparation Tips

Interview preparation tips for other job seekers - Oops And Data Structure, Collection.

I applied via Campus Placement and was interviewed before Feb 2020. There were 6 interview rounds.

Interview Questionnaire 

4 Questions

  • Q1. Was interviewed as fresher?
  • Q2. Written test conducted? with verbal ability test ? GD
  • Q3. How would u deal with a problematic situation when you are working in a team?
  • Q4. What are your plans about higher studies?

Interview Preparation Tips

Interview preparation tips for other job seekers - it was basic with apptiude test and attitiude test.

Interview Questionnaire 

2 Questions

  • Q1. They asked me on java and I have joined as a fresher they not much questions as I got selected as fresher on oops concepts and collections
  • Q2. Please be confident while facing interview and they will check your communication skills

I applied via Company Website and was interviewed before Feb 2020. There was 1 interview round.

Interview Questionnaire 

2 Questions

  • Q1. They asked about dbms questions in the form of table formate
  • Q2. They asked code for some python program

Interview Preparation Tips

Interview preparation tips for other job seekers - Firstly they conducted computer based technical exam and then after qualifying that then we will go for face face interview and then lastly HR round will be held.

I applied via Campus Placement and was interviewed in Oct 2020. There were 4 interview rounds.

Interview Questionnaire 

5 Questions

  • Q1. Wap of bubble sort
  • Ans. 

    Bubble sort is a simple sorting algorithm that repeatedly steps through the list, compares adjacent elements and swaps them if they are in the wrong order.

    • Start from the first element and compare it with the next element

    • If the next element is smaller, swap them

    • Repeat this process for all elements in the array

    • Continue this process until no more swaps are needed

  • Answered by AI
  • Q2. Wap of prime number
  • Ans. 

    A program to print all prime numbers

    • Take input from user for range of numbers

    • Loop through the range and check if each number is prime

    • Print the prime numbers

  • Answered by AI
  • Q3. What is hashmap?
  • Ans. 

    Hashmap is a data structure that stores key-value pairs and allows constant time access to values based on their keys.

    • Hashmap uses a hash function to map keys to indices in an array.

    • Collisions can occur when multiple keys map to the same index, which can be resolved using techniques like chaining or open addressing.

    • Examples of hashmap implementations include Java's HashMap class and Python's dict type.

  • Answered by AI
  • Q4. What is inheritance
  • Ans. 

    Inheritance is a mechanism in object-oriented programming where a new class is created by inheriting properties of an existing class.

    • Inheritance allows code reuse and promotes code organization.

    • The existing class is called the parent or superclass, and the new class is called the child or subclass.

    • The child class inherits all the properties and methods of the parent class and can also add new properties and methods.

    • For...

  • Answered by AI
  • Q5. Call by value and call by reference

Interview Preparation Tips

Interview preparation tips for other job seekers - Be yourself

Skills evaluated in this interview

Contribute & help others!
anonymous
You can choose to be anonymous

Ness Digital Engineering Interview FAQs

What are the top questions asked in Ness Digital Engineering Selenium Automation interview?

Some of the top questions asked at the Ness Digital Engineering Selenium Automation interview -

  1. How to execute feature file in parallel in BDD Cucumber Framew...read more
  2. How to handle Multiple popups in seleni...read more
  3. How to get all the options in a DropDo...read more

Recently Viewed

LIST OF COMPANIES

Health Prime Services (India)

Locations

INTERVIEWS

Ness Digital Engineering

No Interviews

INTERVIEWS

Ness Digital Engineering

No Interviews

INTERVIEWS

Health Prime Services (India)

No Interviews

INTERVIEWS

Ness Digital Engineering

No Interviews

INTERVIEWS

Ness Digital Engineering

No Interviews

INTERVIEWS

Ness Digital Engineering

No Interviews

INTERVIEWS

Ness Digital Engineering

No Interviews

INTERVIEWS

Ness Digital Engineering

No Interviews

INTERVIEWS

Health Prime Services (India)

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
 • 791 Interviews
CitiusTech Interview Questions
3.4
 • 270 Interviews
View all

Fast track your campus placements

View all
Senior Software Engineer
768 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Software Engineer
508 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Member Technical Staff
229 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Software Developer
220 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Senior QA Engineer
202 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Explore more salaries
Compare Ness Digital Engineering with

TCS

3.7
Compare

Wipro

3.7
Compare

Infosys

3.6
Compare

HCLTech

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