TCS Recently Asked Interview Questions and Answers-1
TCS Recently Asked Interview Questions and Answers-1
TCS Recently Asked Interview Questions and Answers for QA Automation Testing Role for
3+ years of Experience:
Round 1:
Regression Testing: Ensures new changes do not affect the existing functionalities.
Sanity Testing: A quick check to verify specific functionalities after a bug fix or minor
changes.
It's the process a defect goes through, from identification to closure, involving statuses like
New, Assigned, Open, Fixed, Retested, Verified, and Closed.
It depends on the complexity, but typically I can write around 5-10 detailed test cases for
complex functionalities or 15-20 for straightforward scenarios.
Absolute XPath: Specifies the complete path from the root node (e.g., /html/body/div).
Relative XPath: Begins from any element in the DOM (e.g., //div[@id='example']).
I use a hybrid framework combining data-driven and keyword-driven approaches. It’s built
with TestNG and Maven, with clear folder structures for test cases, utilities, and reports.
Sprint Planning
Daily Standup
Sprint Review
Sprint Retrospective
Test reports
Supports parameterization
pom.xml is a Maven configuration file where dependencies, plugins, and build configurations
are defined.
a = a + b;
b = a - b;
a = a - b;
A constructor initializes an object. super is used to call the parent class constructor.
17.Difference between private and protected?
Yes, you can overload the main method, but only the standard main (String[] args) gets
called.
Round 2:
1.Can you explain your project with your role and responsibility?
Using tools like Postman and JMeter, I validate endpoints, HTTP methods, status codes, and
data integrity. For automation, I use RestAssured with Java.
Unauthorized access
driver.navigate().refresh();
It’s a design pattern in Selenium that uses @FindBy annotations for locating elements.
15.Types of joins?
SELECT department, employee, salary FROM (SELECT department, employee, salary, OVER
(PARTITION BY department ORDER BY salary DESC) AS rank FROM employees) AS ranked
WHERE rank <= 3;
Yes, CI/CD automates build, testing, and deployment processes, ensuring quick delivery.
Round 3:
To grow professionally, explore new challenges, and work in an environment that aligns with
my career goals.
Learning opportunities
5.Salary expectation?
Based on industry standards and the role, I expect [insert amount here], negotiable based
on other benefits.