Upload Button Icon Add office photos
Engaged Employer

i

This company page is being actively managed by TCS Team. If you also belong to the team, you can get access from here

TCS Verified Tick

Compare button icon Compare button icon Compare

Filter interviews by

TCS Senior Software Tester Interview Questions and Answers

Updated 6 Jan 2022

14 Interview questions

A Senior Software Tester was asked
Q. If a text box is disabled, how would you pass a value into it?
Ans. 

Value cannot be passed in a disabled text box.

  • Check if there is any other way to pass the value, such as through a different input field.

  • If not, enable the text box temporarily, pass the value, and then disable it again.

  • Alternatively, check if there is any JavaScript code that can be used to pass the value.

🔥 Asked by recruiter 8 times
A Senior Software Tester was asked
Q. What is the difference between an abstract class and an interface?
Ans. 

Abstract classes are classes that cannot be instantiated and can have both abstract and non-abstract methods. Interfaces are contracts that define a set of methods that a class must implement.

  • Abstract classes can have constructors while interfaces cannot

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

  • Abstract classes can have instance variables while interfaces cannot

  • Interface...

Senior Software Tester Interview Questions Asked at Other Companies

asked in Mirraw
Q1. If a client wants to change or add something to a registration pa ... read more
asked in NTT Data
Q2. Which position in waterfall methodology is equivalent to a scrum ... read more
asked in Qentelli
Q3. How would you rate your skills in manual and automation testing?
asked in TCS
Q4. If a text box is disabled, how would you pass a value into it?
asked in Mirraw
Q5. What do you know about the types of keys?
🔥 Asked by recruiter 2 times
A Senior Software Tester was asked
Q. What is 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 separates the test code from the page-specific code.

  • It improves code maintainability and reduces code duplication.

  • It allows for easy modification of UI elements without affecting the test code.

  • It enhances test script readability and reduces the effort required to create new test scripts.

  • It is widely ...

A Senior Software Tester was asked
Q. What is the difference between XPath and CSS selectors?
Ans. 

XPath and CSS selectors are both used to locate elements on a web page, but they have different syntax and capabilities.

  • XPath uses a path expression to navigate through the HTML structure, while CSS selectors use a pattern matching approach.

  • XPath can select elements based on their attributes, text content, and position in the document, while CSS selectors are limited to attributes and tag names.

  • XPath has a wider r...

What people are saying about TCS

View All
a senior associate
2w
Tata's lost its touch? TCS ain't what it used to be :-(
Tata is not the same after Sir Ratan Tata! TCS used to really look after its employees, even when they were on the bench. Now, things have changed and it's disappointing.
FeedCard Image
Got a question about TCS?
Ask anonymously on communities.
A Senior Software Tester was asked
Q. What is the V-model?
Ans. 

V-model is a software development model that emphasizes testing at every stage of the development process.

  • It is a sequential development process

  • Each stage has a corresponding testing stage

  • Testing is done at every stage to ensure quality

  • It is a highly structured and disciplined approach

  • It is often used in safety-critical industries such as aerospace and defense

A Senior Software Tester was asked
Q. How do you pass test data in TestNG?
Ans. 

Test data can be passed in testNG using DataProvider annotation.

  • Create a method that returns a two-dimensional array of test data

  • Annotate the test method with @DataProvider and specify the name of the data provider method

  • Pass the test data as parameters to the test method

A Senior Software Tester was asked
Q. How do you select values in dropdowns?
Ans. 

To select values in Dropdowns, click on the dropdown menu and choose the desired option from the list.

  • Click on the dropdown menu to open the list of options

  • Scroll or use arrow keys to navigate through the options

  • Click on the desired option to select it

  • Some dropdowns may have a search bar to filter options

Are these interview questions helpful?
A Senior Software Tester was asked
Q. How do you take a screenshot in Selenium?
Ans. 

Screenshots can be taken in Selenium using the TakesScreenshot interface.

  • Create an object of the TakesScreenshot interface

  • Call the getScreenshotAs() method on the driver object

  • Save the screenshot to a desired location using the File class

A Senior Software Tester was asked
Q. How do you handle IFrames/Window handles?
Ans. 

IFrames/Window handles can be handled using switchTo() method in Selenium

  • Use driver.switchTo().frame() method to switch to an IFrame

  • Use driver.switchTo().defaultContent() method to switch back to the main page

  • Use driver.getWindowHandles() method to get all window handles

  • Use driver.switchTo().window() method to switch to a new window

🔥 Asked by recruiter 2 times
A Senior Software Tester was asked
Q. What is the difference between Assert and Verify?
Ans. 

Assert checks if a condition is true and stops the test if it's false. Verify checks if a condition is true and continues the test if it's false.

  • Assert is used to validate the expected result of a test case.

  • Verify is used to validate the actual result of a test case.

  • Assert stops the test execution if the condition is false.

  • Verify continues the test execution if the condition is false.

  • Assert is used for critical te...

TCS Senior Software Tester Interview Experiences

1 interview found

I applied via Naukri.com and was interviewed in Dec 2021. There were 3 interview rounds.

Interview Questionnaire 

17 Questions

  • Q1. Implicit and Explicit wait with syntax/ Waits in selenium
  • Ans. 

    Implicit and Explicit waits are used in Selenium to wait for elements to load before performing actions.

    • Implicit wait waits for a specified amount of time before throwing an exception if the element is not found.

    • Explicit wait waits for a specific condition to be met before proceeding with the next step.

    • Syntax for implicit wait: driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);

    • Syntax for explicit wait: We...

  • Answered by AI
  • Q2. How to take screenshot in selenium
  • Ans. 

    Screenshots can be taken in Selenium using the TakesScreenshot interface.

    • Create an object of the TakesScreenshot interface

    • Call the getScreenshotAs() method on the driver object

    • Save the screenshot to a desired location using the File class

  • Answered by AI
  • Q3. OOPS concept
  • Q4. Overloading and Overriding
  • Q5. How to select values in Dropdowns
  • Ans. 

    To select values in Dropdowns, click on the dropdown menu and choose the desired option from the list.

    • Click on the dropdown menu to open the list of options

    • Scroll or use arrow keys to navigate through the options

    • Click on the desired option to select it

    • Some dropdowns may have a search bar to filter options

  • Answered by AI
  • Q6. Difference between x-path and css selector
  • Ans. 

    XPath and CSS selectors are both used to locate elements on a web page, but they have different syntax and capabilities.

    • XPath uses a path expression to navigate through the HTML structure, while CSS selectors use a pattern matching approach.

    • XPath can select elements based on their attributes, text content, and position in the document, while CSS selectors are limited to attributes and tag names.

    • XPath has a wider range ...

  • Answered by AI
  • Q7. Locators in selenium
  • Ans. 

    Locators in Selenium are used to identify web elements on a web page.

    • Locators can be based on ID, class name, name, tag name, link text, partial link text, CSS selector, or XPath.

    • Using the right locator strategy is important for reliable test automation.

    • Examples of locators: driver.findElement(By.id("elementId")), driver.findElement(By.className("className")), driver.findElement(By.xpath("//tagName[@attribute='value']"...

  • Answered by AI
  • Q8. Difference between Abstract and Interface
  • Ans. 

    Abstract classes are classes that cannot be instantiated and can have both abstract and non-abstract methods. Interfaces are contracts that define a set of methods that a class must implement.

    • Abstract classes can have constructors while interfaces cannot

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

    • Abstract classes can have instance variables while interfaces cannot

    • Interfaces can...

  • Answered by AI
  • Q9. What is 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 separates the test code from the page-specific code.

    • It improves code maintainability and reduces code duplication.

    • It allows for easy modification of UI elements without affecting the test code.

    • It enhances test script readability and reduces the effort required to create new test scripts.

    • It is widely used ...

  • Answered by AI
  • Q10. Annotations in TestNG
  • Ans. 

    Annotations in TestNG are used to provide additional information to the test methods and control the test execution flow.

    • Annotations are used to mark a method as a test method, configuration method, or to specify the order of execution.

    • TestNG provides several built-in annotations such as @Test, @BeforeSuite, @AfterSuite, @BeforeTest, @AfterTest, etc.

    • Annotations can also be used to group tests, enable/disable tests, and...

  • Answered by AI
  • Q11. How you pass Test data in testNG
  • Ans. 

    Test data can be passed in testNG using DataProvider annotation.

    • Create a method that returns a two-dimensional array of test data

    • Annotate the test method with @DataProvider and specify the name of the data provider method

    • Pass the test data as parameters to the test method

  • Answered by AI
  • Q12. Testing life cycle
  • Q13. What is V-model
  • Ans. 

    V-model is a software development model that emphasizes testing at every stage of the development process.

    • It is a sequential development process

    • Each stage has a corresponding testing stage

    • Testing is done at every stage to ensure quality

    • It is a highly structured and disciplined approach

    • It is often used in safety-critical industries such as aerospace and defense

  • Answered by AI
  • Q14. Difference between Assert and Verify
  • Ans. 

    Assert checks if a condition is true and stops the test if it's false. Verify checks if a condition is true and continues the test if it's false.

    • Assert is used to validate the expected result of a test case.

    • Verify is used to validate the actual result of a test case.

    • Assert stops the test execution if the condition is false.

    • Verify continues the test execution if the condition is false.

    • Assert is used for critical test ca...

  • Answered by AI
  • Q15. Which all exceptions you get while running scripts
  • Ans. 

    Exceptions while running scripts

    • Syntax errors

    • Runtime errors

    • Logical errors

    • Timeout errors

    • Memory errors

  • Answered by AI
  • Q16. How to handle IFrames/Window handles
  • Ans. 

    IFrames/Window handles can be handled using switchTo() method in Selenium

    • Use driver.switchTo().frame() method to switch to an IFrame

    • Use driver.switchTo().defaultContent() method to switch back to the main page

    • Use driver.getWindowHandles() method to get all window handles

    • Use driver.switchTo().window() method to switch to a new window

  • Answered by AI
  • Q17. If text box is disabled how will you pass value in that text box
  • Ans. 

    Value cannot be passed in a disabled text box.

    • Check if there is any other way to pass the value, such as through a different input field.

    • If not, enable the text box temporarily, pass the value, and then disable it again.

    • Alternatively, check if there is any JavaScript code that can be used to pass the value.

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Just be prepared and Be cool...
Patience and Perseverance is key to success!!!

Skills evaluated in this interview

Interview questions from similar companies

I applied via LinkedIn and was interviewed before Jul 2020. There were 4 interview rounds.

Interview Questionnaire 

4 Questions

  • Q1. Which technologies your interested to work
  • Q2. Question related to Java coding
  • Q3. Question from C language
  • Q4. Question from AI & ML

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare on all the latest technologies, brush your regular skills

Senior Software Tester Interview Questions Asked at Other Companies

asked in Mirraw
Q1. If a client wants to change or add something to a registration pa ... read more
asked in NTT Data
Q2. Which position in waterfall methodology is equivalent to a scrum ... read more
asked in Qentelli
Q3. How would you rate your skills in manual and automation testing?
asked in TCS
Q4. If a text box is disabled, how would you pass a value into it?
asked in Mirraw
Q5. What do you know about the types of keys?

I applied via Company Website and was interviewed before Oct 2020. There were 3 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. Tell me about your experience

Interview Preparation Tips

Interview preparation tips for other job seekers - Be confident adn clear when you answer

I applied via Amcat and was interviewed before Jul 2021. There were 2 interview rounds.

Round 1 - Aptitude Test 

Refer R S Agarwal book for apptitude

Round 2 - One-on-one 

(1 Question)

  • Q1. Write a c program on fractional numbers
  • Ans. 

    A C program to perform arithmetic operations on fractional numbers.

    • Use float or double data type to store fractional numbers.

    • Use scanf() to take input from the user.

    • Perform arithmetic operations like addition, subtraction, multiplication, and division.

    • Use printf() to display the result.

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Be prepared refer R S Agarwal book for apptitude test

Skills evaluated in this interview

What people are saying about TCS

View All
a senior associate
2w
Tata's lost its touch? TCS ain't what it used to be :-(
Tata is not the same after Sir Ratan Tata! TCS used to really look after its employees, even when they were on the bench. Now, things have changed and it's disappointing.
FeedCard Image
Got a question about TCS?
Ask anonymously on communities.

I applied via Company Website and was interviewed before Feb 2020. There was 1 interview round.

Interview Questionnaire 

2 Questions

  • Q1. They asked about dbms questions in the form of table formate
  • Q2. They asked code for some python program

Interview Preparation Tips

Interview preparation tips for other job seekers - Firstly they conducted computer based technical exam and then after qualifying that then we will go for face face interview and then lastly HR round will be held.

I applied via LinkedIn and was interviewed before Jan 2021. There was 1 interview round.

Interview Questionnaire 

1 Question

  • Q1. 1. tell me about yourself

Interview Preparation Tips

Interview preparation tips for other job seekers - It was nice, but since Im not great at coding I didn't do well

I applied via Recruitment Consulltant and was interviewed before Feb 2021. There were 3 interview rounds.

Round 1 - Aptitude Test 

1.It covers all aptitude topics, and English sentences
2.Essay writing
3.Coding

Round 2 - Technical 

(2 Questions)

  • Q1. In TR , languages which u mentioned in resume they will ask Basic programing Questions on Btech project They will say one idea , we need to tell the logic how can we develop (it may varies)
  • Q2. Testing questions Polymorphism, abstraction,constructors, SQL basics
Round 3 - HR 

(5 Questions)

  • Q1. What is your family background?
  • Q2. Why should we hire you?
  • Q3. Tell me about yourself.
  • Q4. What are your strengths and weaknesses?
  • Q5. Knowledge about updated technologies

Interview Preparation Tips

Interview preparation tips for other job seekers - Resume is important for your TR. Mention only languages u know well.
Are these interview questions helpful?

I applied via Naukri.com and was interviewed before Mar 2021. There were 3 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - HR 

(6 Questions)

  • Q1. What is your family background?
  • Ans. 

    I come from a supportive family that values education and hard work, which has greatly influenced my career path in technology.

    • Parents: My parents are both educators, instilling a love for learning and curiosity in me from a young age.

    • Siblings: I have a younger sister who is pursuing a degree in computer science, and we often collaborate on tech projects together.

    • Family Values: Our family emphasizes the importance of p...

  • Answered by AI
  • Q2. Why should we hire you?
  • Ans. 

    I bring a unique blend of technical skills, problem-solving abilities, and a passion for innovation that aligns with your team's goals.

    • Strong technical skills: Proficient in languages like Python and Java, demonstrated by developing a web application that improved user engagement by 30%.

    • Problem-solving mindset: Successfully resolved a critical bug in a production system under tight deadlines, ensuring minimal downtime.

    • ...

  • Answered by AI
  • Q3. Where do you see yourself in 5 years?
  • Q4. What are your salary expectations?
  • Ans. 

    I expect a competitive salary based on my skills, experience, and industry standards, ideally in the range of $X to $Y.

    • Research industry standards: For example, Glassdoor or Payscale can provide insights into average salaries for similar roles.

    • Consider your experience: If you have 5 years of experience, you might expect a higher salary than someone just starting.

    • Factor in location: Salaries can vary significantly based...

  • Answered by AI
  • Q5. What are your strengths and weaknesses?
  • Ans. 

    I excel in problem-solving and teamwork, but I sometimes struggle with time management under tight deadlines.

    • Strength: Strong problem-solving skills - I enjoy tackling complex coding challenges, like optimizing algorithms for better performance.

    • Strength: Effective teamwork - I thrive in collaborative environments, having successfully led a project with cross-functional teams.

    • Weakness: Time management - I occasionally u...

  • Answered by AI
  • Q6. Tell me about yourself.
Round 3 - Technical 

(1 Question)

  • Q1. Do you have technical certifications? How many programming languages do you known? How many development tools have you used?
  • Ans. 

    Yes, I have technical certifications and I am proficient in multiple programming languages and development tools.

    • I have certifications in Java and Python

    • I am proficient in Java, Python, C++, and JavaScript

    • I have used development tools such as Eclipse, Visual Studio Code, and PyCharm

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Work on your soft skills
Move frequently
value your reputation
Get experience at a any company

I applied via Company Website and was interviewed before Jan 2021. There were 2 interview rounds.

Round 1 - Technical 

(1 Question)

  • Q1. Oops based , C# Fundamental , Sql , Jquery , Mvc architecture
Round 2 - Technical 

(1 Question)

  • Q1. ADVANCED QUESTION ON sql ,

Interview Preparation Tips

Interview preparation tips for other job seekers - Be proficient in english nd clear in concepts

I applied via Job Portal and was interviewed before Dec 2019. There was 1 interview round.

Interview Questionnaire 

1 Question

  • Q1. First they ask basic questions like HTML SQL Java.

Interview Preparation Tips

Interview preparation tips for other job seekers - First we learn basics programming knowledge and we confident to attend interview and speak bold.

TCS Interview FAQs

What are the top questions asked in TCS Senior Software Tester interview?

Some of the top questions asked at the TCS Senior Software Tester interview -

  1. If text box is disabled how will you pass value in that text ...read more
  2. Which all exceptions you get while running scri...read more
  3. Implicit and Explicit wait with syntax/ Waits in selen...read more

Tell us how to improve this page.

TCS Senior Software Tester Salary
based on 163 salaries
₹2.7 L/yr - ₹13 L/yr
18% less than the average Senior Software Tester Salary in India
View more details

TCS Senior Software Tester Reviews and Ratings

based on 17 reviews

3.5/5

Rating in categories

3.2

Skill development

3.5

Work-life balance

2.6

Salary

3.9

Job security

3.4

Company culture

2.7

Promotions

2.9

Work satisfaction

Explore 17 Reviews and Ratings
System Engineer
1.1L salaries
unlock blur

₹1 L/yr - ₹9 L/yr

IT Analyst
65.6k salaries
unlock blur

₹7.7 L/yr - ₹12.6 L/yr

AST Consultant
53.4k salaries
unlock blur

₹12 L/yr - ₹20.5 L/yr

Assistant System Engineer
33.2k salaries
unlock blur

₹2.6 L/yr - ₹6.4 L/yr

Associate Consultant
32.8k salaries
unlock blur

₹16.2 L/yr - ₹28 L/yr

Explore more salaries
Compare TCS with

Amazon

4.0
Compare

Wipro

3.7
Compare

Infosys

3.6
Compare

Accenture

3.8
Compare
write
Share an Interview