Add office photos
Employer?
Claim Account for FREE

Accenture

3.8
based on 55.6k Reviews
Video summary
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by

20+ ICICI Bank Interview Questions and Answers

Updated 26 Nov 2024
Popular Designations

Q1. 1.types of wait, 2. Locators in selenium 3.grid vs webdriver 4.css selector vs xpath 5.types of list 6. What is use of action class 7.java script executor 8.interfaces 9.oops concepts 10.windows/alert nagivatio...

read more
Ans.

Interview questions for Automation Test Engineer

  • Types of wait - implicit, explicit, fluent

  • Locators in Selenium - ID, Name, Class Name, Tag Name, Link Text, Partial Link Text, CSS Selector, XPath

  • Grid vs WebDriver - Grid allows parallel execution on multiple machines, WebDriver executes tests on a single machine

  • CSS Selector vs XPath - CSS Selector is faster, XPath is more powerful

  • Types of list - ArrayList, LinkedList, Vector

  • Use of Action Class - performing advanced user interac...read more

Add your answer

Q2. Explain the automation framework that you have worked on

Ans.

I have worked on a hybrid automation framework that combines data-driven and keyword-driven approaches.

  • The framework uses Excel sheets to store test data and keywords

  • It uses Selenium WebDriver for web automation and Appium for mobile automation

  • It has a modular structure with reusable functions and libraries

  • It generates detailed HTML reports with screenshots and logs

  • It supports parallel execution using TestNG

  • Example: I used this framework to automate regression tests for a web...read more

Add your answer

Q3. Write syntax to take the screenshot in selenium python

Ans.

Syntax to take a screenshot in Selenium Python.

  • Import the necessary modules - 'webdriver' and 'datetime'

  • Create an instance of the webdriver

  • Use the 'get_screenshot_as_file' method to take the screenshot

  • Save the screenshot with a unique name and location

  • Example: driver.get_screenshot_as_file('C:/Screenshots/screenshot.png')

View 1 answer

Q4. Writ syntax to switch on alert box

Ans.

Syntax to switch on alert box

  • Use driver.switch_to.alert() method to switch to alert box

  • Use accept() method to click on OK button in alert box

  • Use dismiss() method to click on Cancel button in alert box

Add your answer
Discover ICICI Bank interview dos and don'ts from real experiences

Q5. How to handle popup in source page?

Ans.

To handle popups in source page, use switchTo().alert() method in Selenium WebDriver.

  • Use switchTo().alert() method to switch focus to the popup

  • Use getText() method to get the text from the popup

  • Use accept() method to click on the OK button in the popup

  • Use dismiss() method to click on the Cancel button in the popup

Add your answer

Q6. How to automate captcha in selenium ?

Ans.

Automating captcha in Selenium can be challenging but can be achieved using third-party services or by bypassing the captcha.

  • Use third-party captcha solving services like 2Captcha or AntiCaptcha

  • Implement a custom solution to bypass the captcha by directly interacting with the captcha element

  • Use headless browsers like PhantomJS to automate captcha handling

Add your answer
Are these interview questions helpful?

Q7. difference between hard and soft assert

Ans.

Hard assert stops the test execution on failure while soft assert continues the test execution.

  • Hard assert is used when failure of a step should stop the test execution

  • Soft assert is used when failure of a step should not stop the test execution

  • Hard assert throws an exception when it fails

  • Soft assert logs the failure and continues the test execution

  • Example of hard assert: assert.assertEquals(expected, actual)

  • Example of soft assert: softAssert.assertEquals(expected, actual)

Add your answer

Q8. Explain sprint ceremonies

Ans.

Sprint ceremonies are meetings held during a sprint to plan, review, and improve the development process.

  • Sprint Planning: Meeting to plan the work for the upcoming sprint

  • Daily Stand-up: Daily meeting to discuss progress and plan for the day

  • Sprint Review: Meeting to review the work completed during the sprint

  • Sprint Retrospective: Meeting to reflect on the sprint and identify areas for improvement

Add your answer
Share interview questions and help millions of jobseekers 🌟

Q9. Tool used to automate web objects in worksoft

Ans.

Worksoft Certify is the tool used to automate web objects in Worksoft.

  • Worksoft Certify is a popular automation tool for testing web applications

  • It allows testers to automate the testing of web objects such as buttons, links, and input fields

  • Worksoft Certify uses a visual scripting interface to create and execute test scripts

View 1 answer

Q10. Reverse a string , explain automation framework

Ans.

Reverse a string using automation framework

  • Use a programming language like Java or Python to write a function that reverses a given string

  • Utilize automation testing tools like Selenium or Appium to automate the process of inputting a string and verifying the reversed output

  • Create test cases to ensure the string reversal functionality works correctly in different scenarios

Add your answer

Q11. Difference between findelement and findelement

Ans.

findelement is a method used in Selenium to locate a single web element on a webpage, while findelements is used to locate multiple web elements.

  • findelement returns the first matching element found on the webpage

  • findelements returns a list of all matching elements found on the webpage

  • findelement is used when only one element needs to be located, while findelements is used when multiple elements need to be located

Add your answer

Q12. Write a program to reverse a number

Ans.

Program to reverse a number

  • Convert the number to a string to easily manipulate each digit

  • Iterate through the string in reverse order and append each digit to a new string

  • Convert the reversed string back to an integer and return

Add your answer

Q13. Waits in selenium

Ans.

Waits in Selenium are used to synchronize tests with the application's state.

  • Types of waits in Selenium: Implicit, Explicit, Fluent

  • Implicit wait: Set at the beginning of the test and applies to all elements

  • Explicit wait: Waits for a specific condition to be met before proceeding

  • Fluent wait: Waits for a condition with a defined maximum time limit

Add your answer

Q14. Explain different components of selenium

Ans.

Selenium is a suite of tools used for automating web browsers.

  • Selenium IDE: Record and playback tool for creating automated tests

  • Selenium WebDriver: Automation tool for writing test scripts in various programming languages

  • Selenium Grid: Distributes test execution on multiple machines for parallel testing

  • Selenium RC (Remote Control): Deprecated tool for running tests in multiple browsers

Add your answer

Q15. difference between close and wait

Ans.

Close is used to close a window or application, while wait is used to pause the execution for a specified amount of time.

  • Close is used to close a window or application after the test is completed

  • Wait is used to pause the execution for a specified amount of time, such as waiting for an element to load before proceeding

  • Example: driver.close() will close the current window, while Thread.sleep(5000) will pause the execution for 5 seconds

Add your answer

Q16. What is xpath in selenium

Ans.

XPath in Selenium is a locator strategy used to navigate through the HTML structure of a web page to identify elements.

  • XPath stands for XML Path Language.

  • It is used to locate elements on a web page by their XML path.

  • XPath expressions can be used to select nodes or elements in an XML document.

  • It can be used to identify elements based on their attributes, text content, position, etc.

  • XPath can be absolute or relative, with the latter being more flexible and recommended.

  • Example: ...read more

Add your answer

Q17. what is selenium

Ans.

Selenium is a popular open-source automation testing tool used for web application testing.

  • Selenium supports multiple programming languages like Java, Python, C#, etc.

  • It allows testers to write test scripts in a variety of IDEs like Eclipse, IntelliJ, etc.

  • Selenium can automate interactions with web browsers like Chrome, Firefox, etc.

  • It can perform various testing tasks such as form filling, button clicking, data extraction, etc.

Add your answer

Q18. different types of wait

Ans.

Different types of wait include implicit, explicit, and fluent waits in automation testing.

  • Implicit wait: Waits for a certain amount of time before throwing a NoSuchElementException if the element is not found.

  • Explicit wait: Waits for a certain condition to be met before proceeding further in the code.

  • Fluent wait: Waits for a condition to be met with a defined polling frequency and timeout.

  • Example: Using implicit wait to wait for a page to load completely before interacting w...read more

Add your answer

Q19. How to log a bug

Ans.

To log a bug, follow these steps

  • First, identify the bug by reproducing it consistently

  • Next, gather all necessary information such as screenshots, logs, and steps to reproduce

  • Then, log into the bug tracking system and create a new bug report

  • Provide a clear and detailed description of the bug, including the expected and actual behavior

  • Assign the bug to the appropriate team member for further investigation and resolution

Add your answer

Q20. Explain framework

Ans.

A framework is a set of guidelines, libraries, and tools that help in developing and executing automated tests efficiently.

  • Provides structure and organization for test automation code

  • Promotes reusability of code and components

  • Offers built-in functions and utilities for common testing tasks

  • Supports integration with test management tools

  • Examples: Selenium WebDriver, TestNG, Cucumber

Add your answer

More about working at Accenture

Top Rated Mega Company - 2024
Top Rated Company for Women - 2024
Top Rated IT/ITES Company - 2024
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at ICICI Bank

based on 16 interviews
2 Interview rounds
Technical Round - 1
Technical Round - 2
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.6
 • 56 Interview Questions
3.7
 • 54 Interview Questions
3.8
 • 33 Interview Questions
3.8
 • 31 Interview Questions
4.1
 • 12 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