Add office photos
Engaged Employer

Capgemini

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

Winners Institute of Communicative English Interview Questions and Answers

Updated 14 Aug 2024
Popular Designations

Q1. Explain what is Background keyword in BDD

Ans.

Background keyword in BDD is used to define common steps that are executed before each scenario in a feature file.

  • Background keyword is used to reduce duplication of common steps in scenarios.

  • It is placed at the beginning of a feature file before scenarios.

  • All steps defined under Background keyword are executed before each scenario in the feature file.

  • It helps in maintaining consistency and readability of feature files.

  • Example: If all scenarios in a feature file require loggi...read more

Add your answer

Q2. Explain The Framework work use in Project

Ans.

The framework used in the project is a combination of data-driven and keyword-driven frameworks.

  • The framework allows for easy maintenance and scalability of test cases.

  • It separates test data from test scripts, making it easier to update test data without changing the scripts.

  • Reusable functions and libraries are used to reduce redundancy in test scripts.

  • Test cases are written in a modular fashion, allowing for easy debugging and troubleshooting.

  • Automation tools like Selenium a...read more

Add your answer

Q3. Write java program to Reverse the String

Ans.

Java program to reverse a string

  • Create a char array from the input string

  • Use two pointers to swap characters from start and end of the array

  • Convert the char array back to a string and return

Add your answer

Q4. What is Desired Capabilities

Ans.

Desired Capabilities are a set of key-value pairs used to configure the WebDriver browser during test automation.

  • Used to set properties for WebDriver browser

  • Can be used to configure browser settings like browser name, version, platform, etc.

  • Helps in customizing the behavior of the browser during automation tests

Add your answer
Discover Winners Institute of Communicative English interview dos and don'ts from real experiences

Q5. What is Hooks in BDD

Ans.

Hooks in BDD are special methods that allow for setup and teardown actions before and after scenarios in test automation.

  • Hooks are used to perform actions before and after scenarios in BDD tests.

  • They can be used for setup (Before) and teardown (After) actions.

  • Hooks help in reducing code duplication and improving test maintenance.

  • Examples include setting up test data before a scenario and cleaning up resources after a scenario.

Add your answer

Q6. DIFferent Exceptions in Selenium

Ans.

Different exceptions in Selenium include NoSuchElementException, ElementNotVisibleException, StaleElementReferenceException, TimeoutException, and WebDriverException.

  • NoSuchElementException: Thrown when an element could not be found in the DOM.

  • ElementNotVisibleException: Thrown when an element is present in the DOM but not visible.

  • StaleElementReferenceException: Thrown when the element is no longer attached to the DOM.

  • TimeoutException: Thrown when a command does not complete i...read more

Add your answer

Q7. Write logic for prime number

Ans.

A prime number is a number greater than 1 that has no positive divisors other than 1 and itself.

  • Start by checking if the number is less than 2, if so it is not a prime number

  • Loop through numbers from 2 to the square root of the number and check if the number is divisible by any of them

  • If the number is not divisible by any number in the loop, then it is a prime number

Add your answer

Q8. map sorting based on values

Ans.

Sorting a map based on values

  • Use a TreeMap to automatically sort a map based on values

  • Implement a custom Comparator to sort the map based on values

  • Convert the map to a list of entries, then sort the list based on values

Add your answer

Q9. reverse of string

Ans.

Reverse a string by iterating through each character and appending to a new string.

  • Iterate through each character of the input string

  • Append each character to a new string in reverse order

  • Return the reversed string

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Winners Institute of Communicative English

based on 8 interviews in the last 1 year
1 Interview rounds
Technical Round
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Automation Tester Interview Questions from Similar Companies

3.9
 • 11 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
Get AmbitionBox app

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