i
TCS
Filter interviews by
Clear (1)
I applied via LinkedIn and was interviewed in Nov 2022. There were 3 interview rounds.
I applied via Naukri.com and was interviewed in Dec 2022. There were 2 interview rounds.
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
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 ...
I applied via Company Website and was interviewed in Aug 2022. There were 3 interview rounds.
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 {}
E
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 prin...
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"));
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.
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 mainta...
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 @Before...
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 t
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' attribut...
What people are saying about TCS
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 in...
TCS interview questions for designations
I appeared for an interview in Aug 2022.
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
Get interview-ready with Top TCS Interview Questions
I applied via Naukri.com
I applied via Naukri.com and was interviewed before Nov 2022. There were 2 interview rounds.
I applied via Naukri.com and was interviewed in Mar 2022. There was 1 interview round.
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
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
posted on 26 Jul 2022
I applied via Naukri.com and was interviewed in Jan 2022. There were 3 interview rounds.
based on 14 interviews
3 Interview rounds
based on 270 reviews
Rating in categories
System Engineer
1.1L
salaries
| ₹1 L/yr - ₹9 L/yr |
IT Analyst
66.2k
salaries
| ₹5.1 L/yr - ₹16 L/yr |
AST Consultant
51.5k
salaries
| ₹8 L/yr - ₹25 L/yr |
Assistant System Engineer
29.8k
salaries
| ₹2.2 L/yr - ₹5.8 L/yr |
Associate Consultant
29.6k
salaries
| ₹9 L/yr - ₹32 L/yr |
Amazon
Wipro
Infosys
Accenture