Add office photos
Engaged Employer

Bajaj Finserv

4.0
based on 9k Reviews
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by

BOKEH ads Interview Questions and Answers

Updated 18 Jun 2024
Popular Designations

Q1. What is selenium wait. Explain how will you handle AJAX calls

Ans.

Selenium wait is used to pause the execution of the test script for a specified amount of time. Handling AJAX calls involves using explicit waits to ensure the page is fully loaded before interacting with elements.

  • Use WebDriverWait in Selenium to wait for a specific condition to be met before proceeding with the test

  • Use ExpectedConditions to wait for elements to be present, visible, clickable, etc.

  • Handle AJAX calls by waiting for the presence of a specific element that indica...read more

Add your answer

Q2. Write a program to reverse string in java?

Ans.

Program to reverse a string in Java using StringBuilder

  • Create a StringBuilder object with the input string

  • Use the reverse() method of StringBuilder to reverse the string

  • Convert the reversed StringBuilder object back to a string using toString()

Add your answer

Q3. Explain your automation framework?

Ans.

My automation framework is a data-driven framework using Selenium WebDriver and TestNG for test execution and reporting.

  • Data-driven approach for test case design

  • Integration with Selenium WebDriver for browser automation

  • Utilization of TestNG for test execution and reporting

  • Modular design for easy maintenance and scalability

Add your answer

Q4. How to handle pop ups.

Ans.

Pop ups can be handled in automation testing by using various methods such as handling alerts, using window handles, or using specific commands in the automation tool.

  • Use alert interface to handle JavaScript alerts

  • Use switchTo().window() method to handle multiple windows

  • Use specific commands in automation tool like acceptAlert() or dismissAlert()

Add your answer
Discover BOKEH ads interview dos and don'ts from real experiences

Q5. What is polymorphisum

Ans.

Polymorphism is the ability of a single function or method to operate on different types of data.

  • Polymorphism allows objects of different classes to be treated as objects of a common superclass.

  • There are two types of polymorphism: compile-time (method overloading) and runtime (method overriding).

  • Example of compile-time polymorphism: function overloading where multiple functions have the same name but different parameters.

  • Example of runtime polymorphism: method overriding wher...read more

Add your answer

Q6. Annotations in TestNG framework.

Ans.

Annotations in TestNG framework are used to provide additional information about test methods and classes.

  • Annotations are used to define the behavior of test methods, such as @Test, @BeforeMethod, @AfterMethod, etc.

  • Annotations help in organizing and prioritizing test methods, setting up preconditions, and cleaning up after tests.

  • Annotations can be used to group test methods together using @Test(groups = "smoke") for example.

  • Annotations can also be used for parameterization, d...read more

Add your answer

Q7. What is constructor

Ans.

A constructor is a special type of method that is automatically called when an object is created.

  • Constructors have the same name as the class they belong to

  • Constructors do not have a return type

  • Constructors can be used to initialize object properties

Add your answer

Q8. Methods in string class

Ans.

Methods in string class include substring, indexOf, length, toUpperCase, toLowerCase, trim, etc.

  • substring() - returns a new string that is a substring of the original string

  • indexOf() - returns the index within the string of the first occurrence of the specified value

  • length - returns the length of the string

  • toUpperCase() - converts the string to uppercase

  • toLowerCase() - converts the string to lowercase

  • trim() - removes whitespace from both ends of the string

Add your answer

Q9. Types of locators

Ans.

Locators are used in automation testing to identify web elements on a page. Common types include ID, class name, name, xpath, and CSS selector.

  • ID: Unique identifier for an element

  • Class name: Name of the class attribute of an element

  • Name: Name attribute of an element

  • XPath: Path of the element in the HTML document

  • CSS selector: Selector based on CSS attributes

Add your answer

More about working at Bajaj Finserv

Top Rated Mega Company - 2024
Top Rated Financial Services Company - 2024
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at BOKEH ads

based on 2 interviews
Interview experience
4.0
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Automation Test Engineer Interview Questions from Similar Companies

3.7
 • 58 Interview Questions
3.8
 • 31 Interview Questions
3.9
 • 20 Interview Questions
3.4
 • 18 Interview Questions
3.5
 • 16 Interview Questions
3.3
 • 10 Interview Questions
View all
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter