IT Analyst Grade C2

10+ IT Analyst Grade C2 Interview Questions and Answers

Updated 3 Jul 2025

Asked in TCS

3d ago

Q. Explain the testing framework you used in your project.

Ans.

We used the Selenium testing framework for our project.

  • Selenium is an open-source testing framework used for web applications.

  • It supports multiple programming languages like Java, Python, etc.

  • We used Selenium WebDriver to automate our tests.

  • It allows us to write test scripts for different browsers like Chrome, Firefox, etc.

  • We also used TestNG framework for test management and reporting.

Asked in TCS

4d ago

Q. How do you inspect static and dynamic drop-downs in Selenium?

Ans.

To inspect static and dynamic drop-down in Selenium, we can use the Select class and wait for the element to be visible.

  • Use the Select class to interact with drop-downs

  • For static drop-downs, locate the element and use the Select class to select the desired option

  • For dynamic drop-downs, wait for the element to be visible before interacting with it

  • Use the 'SelectBy' methods to select options by value, index, or visible text

Asked in BA Continuum

4d ago

Q. What is overloading and overriding in Java?

Ans.

Overloading is using the same method name with different parameters. Overriding is replacing a method in a subclass.

  • Overloading is a compile-time polymorphism

  • Overloading is used to provide different implementations of the same method

  • Overriding is a runtime polymorphism

  • Overriding is used to provide a different implementation of a method in a subclass

  • Overriding requires inheritance

  • Example of overloading: public void print(int num), public void print(String str)

  • Example of overri...read more

Asked in TCS

2d ago

Q. How do you set priorities and grouping in TestNG?

Ans.

TestNG allows setting priorities and grouping of test cases for efficient test execution.

  • Use the 'priority' attribute to set the execution order of test methods.

  • Use the 'groups' attribute to group test methods based on common characteristics.

  • Use the 'dependsOnGroups' attribute to specify the order of group execution.

  • Use the 'dependsOnMethods' attribute to specify the order of method execution.

  • Use the 'enabled' attribute to disable certain test methods from execution.

  • Example: ...read more

Are these interview questions helpful?

Asked in TCS

1d ago

Q. Describe the business flow , eccomerce domain knowledge.

Ans.

Business flow in ecommerce involves various stages from product listing to order fulfillment.

  • Ecommerce business flow includes product listing, shopping cart, checkout, payment processing, and order fulfillment.

  • Product listing involves creating product pages with descriptions, images, and pricing.

  • Shopping cart allows customers to add products to their cart and proceed to checkout.

  • Checkout involves collecting customer information and shipping details.

  • Payment processing involves...read more

Asked in TCS

1d ago

Q. Write code to capture a screenshot in Selenium.

Ans.

Code to capture screenshot in Selenium

  • Create an object of the TakesScreenshot interface

  • Use the getScreenshotAs() method to capture the screenshot

  • Save the screenshot to a file using the File class

  • Example: TakesScreenshot ts = (TakesScreenshot)driver; File screenshotFile = ts.getScreenshotAs(OutputType.FILE);

  • Example: FileUtils.copyFile(screenshotFile, new File("C:\\screenshot.png"));

Asked in TCS

5d ago

Q. Explain real-time experience scenarios with examples.

Ans.

Realtime experience scenarios involve immediate response to events or data.

  • A stock trading platform that updates prices in real-time

  • A traffic monitoring system that adjusts traffic signals based on current traffic flow

  • A weather app that provides up-to-the-minute weather information

  • A sports app that provides live scores and updates

  • A security system that alerts authorities immediately upon detecting a breach

Asked in TCS

4d ago

Q. How do you add JavaScript in Drupal?

Ans.

To add js in Drupal, create a custom module or add it to the theme's .info file.

  • Create a custom module and add the js file in the module's .info file

  • Add the js file to the theme's .info file

  • Use the drupal_add_js() function in a custom module or theme template file

  • Use the Libraries API module to manage js libraries

  • Ensure that the js file is added after the jQuery library

Share interview questions and help millions of jobseekers 🌟

man-with-laptop

Asked in Genpact

3d ago

Q. What is a Purchase Order?

Ans.

A purchase order is a document issued by a buyer to a seller, indicating types, quantities, and agreed prices for products or services.

  • A purchase order is a legally binding document

  • It specifies the details of the products or services being purchased

  • It includes quantities, prices, delivery dates, and terms of payment

  • It serves as a record of the transaction between the buyer and seller

Asked in IBM

1d ago

Q. What is a Purchase Requisition?

Ans.

A purchase requisition is a document used to request goods or services for purchase.

  • It is a formal request made by a department or individual within a company to the purchasing department.

  • It includes details such as quantity, description, and estimated cost of the items or services needed.

  • Once approved, the purchase requisition serves as authorization for the purchasing department to proceed with the purchase.

  • It helps in controlling and tracking purchases within an organizati...read more

Asked in TCS

1d ago

Q. What is inheritance in Java?

Ans.

Inheritance is a mechanism in Java where one class acquires the properties and behaviors of another class.

  • It allows code reusability and saves time

  • The class that is inherited is called the superclass or parent class

  • The class that inherits from the superclass is called the subclass or child class

  • The subclass can access all the public and protected methods and fields of the superclass

  • Example: class Dog extends Animal {}

  • Example: class Labrador extends Dog {}

Asked in Accenture

5d ago

Q. What is event bubbling?

Ans.

Event bubbling is the propagation of an event from the innermost element to the outermost element in the DOM tree.

  • Events triggered on a child element will also trigger on its parent elements

  • Can be controlled using event.stopPropagation()

  • Helps in reducing code redundancy

  • Example: Clicking on a button inside a div will also trigger the click event on the div

5d ago

Q. Explain the Page Object Model.

Ans.

Page Object Model is a design pattern used in test automation to create an object repository for web UI elements.

  • It helps in reducing code duplication and improves code maintainability.

  • Each web page is represented as a separate class and all the elements on that page are defined as variables in that class.

  • The methods in the class perform actions on those elements.

  • It makes test scripts more readable and easier to maintain.

  • Example: Selenium WebDriver uses Page Object Model for ...read more

Asked in Qualitest

4d ago

Q. What annotations are used in TestNG?

Ans.

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

  • Annotations can be used to mark a method as a test method using @Test

  • Annotations can be used to set the priority of a test method using @Test(priority = 1)

  • Annotations can be used to group test methods using @Test(groups = {"smoke", "regression"})

  • Annotations can be used to run a method before or after a test using @BeforeTest or @AfterTest

  • Annotations can be used to run a method ...read more

Interview Experiences of Popular Companies

TCS Logo
3.6
 • 11.1k Interviews
View all
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Calculate your in-hand salary

Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary

IT Analyst Grade C2 Interview Questions
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+

Reviews

10L+

Interviews

4 Cr+

Salaries

1.5 Cr+

Users

Contribute to help millions

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

Follow Us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter
Profile Image
Hello, Guest
AmbitionBox Employee Choice Awards 2025
Winners announced!
awards-icon
Contribute to help millions!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos
Add office benefits
Add office benefits