Add office photos
Engaged Employer

Capgemini

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

Colliers India Interview Questions and Answers

Updated 5 Feb 2024
Popular Designations

Q1. Difference between abstract and interface

Ans.

Abstract classes are partially implemented classes while interfaces are fully abstract classes.

  • Abstract classes can have both implemented and abstract methods while interfaces can only have abstract methods.

  • A class can only inherit from one abstract class but can implement multiple interfaces.

  • Abstract classes can have constructors while interfaces cannot.

  • Abstract classes can have instance variables while interfaces cannot.

  • An abstract class can be used to define a base class f...read more

Add your answer

Q2. Difference between overloading and overriding

Ans.

Overloading is having multiple methods with the same name but different parameters. Overriding is having a method in child class with the same name and signature as in parent class.

  • Overloading is compile-time polymorphism while overriding is runtime polymorphism

  • Overloading is used to provide different ways of calling the same method with different parameters

  • Overriding is used to provide a specific implementation of a method in a child class

  • Overloading can be done in the same ...read more

Add your answer

Q3. TakeScreenshot in selenium- code

Ans.

TakeScreenshot method in Selenium captures a screenshot of the current web page.

  • Create an object of the TakesScreenshot interface

  • Use the getScreenshotAs() method to capture the screenshot

  • Save the screenshot to a file or display it in the console

Add your answer

Q4. 1 tell me all locators

Ans.

There are several locators used in Selenium such as ID, Name, Class Name, Tag Name, Link Text, and Partial Link Text.

  • ID - unique identifier for an element

  • Name - name attribute of an element

  • Class Name - class attribute of an element

  • Tag Name - HTML tag name of an element

  • Link Text - exact text of a link element

  • Partial Link Text - partial text of a link element

Add your answer
Discover Colliers India interview dos and don'ts from real experiences

Q5. Different design techniques

Ans.

Different design techniques for QA automation

  • Data-driven testing

  • Keyword-driven testing

  • Behavior-driven development

  • Model-based testing

  • Exploratory testing

Add your answer

Q6. Various Selenium components

Ans.

Selenium components for automation testing

  • Selenium WebDriver - main component for browser automation

  • Selenium IDE - record and playback tool for creating test cases

  • Selenium Grid - distribute tests across multiple machines

  • Selenium RC - deprecated component for browser automation

  • Selenium Server - used to run Selenium tests on remote machines

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories
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