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 digital marketer
3d
Do you think they're gonna work on employees' work-life balance, OR for just publicity?
Infosys, Infosys, TCS, Genpact Revise Workplace Policies Infosys is sending a warning mail, if an employee overshoots the daily limit while working remotely, the system triggers a notification Genpact introduced a new policy to log in before 11 am But will these companies really change, or is it just a show to mask their issues?
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

Interview Questionnaire 

2 Questions

  • Q1. Self introduction
  • Q2. What is java
  • Ans. 

    Java is a high-level programming language known for its platform independence and object-oriented approach.

    • Java is widely used for developing desktop, web, and mobile applications.

    • It is known for its robustness, security, and scalability.

    • Java programs are compiled into bytecode that can run on any Java Virtual Machine (JVM).

    • It supports multithreading, exception handling, and automatic memory management.

    • Popular framewor...

  • Answered by AI

Skills evaluated in this interview

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 Campus Placement and was interviewed before Aug 2020. There were 4 interview rounds.

Interview Questionnaire 

4 Questions

  • Q1. What is collections
  • Ans. 

    Collections are data structures that store and manipulate groups of objects.

    • Collections provide a way to organize and manage large amounts of data

    • They can be used to perform operations on groups of objects, such as sorting or searching

    • Examples of collections include arrays, lists, sets, and maps

  • Answered by AI
  • Q2. What are the new features in java 8
  • Ans. 

    Java 8 introduces lambda expressions, functional interfaces, streams, and default methods.

    • Lambda expressions allow functional programming in Java

    • Functional interfaces enable the use of lambda expressions

    • Streams provide a concise way to perform operations on collections

    • Default methods allow interfaces to have implementation

    • Date and Time API improvements

    • Nashorn JavaScript engine

  • Answered by AI
  • Q3. What is the use of spring boot
  • Ans. 

    Spring Boot is a framework for building standalone, production-grade Spring-based applications.

    • Spring Boot simplifies the process of creating and deploying Spring-based applications.

    • It provides a pre-configured environment with a set of opinionated defaults.

    • It includes embedded servers like Tomcat, Jetty, and Undertow.

    • It supports a wide range of data sources and data access technologies.

    • It enables easy integration with...

  • Answered by AI
  • Q4. What is JPA
  • Ans. 

    JPA stands for Java Persistence API, a specification for object-relational mapping in Java applications.

    • JPA is used to map Java objects to relational database tables.

    • It provides a set of annotations to define the mapping between Java classes and database tables.

    • JPA also supports querying data using the Java Persistence Query Language (JPQL).

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - It will be easy interview

Skills evaluated in this interview

I applied via Referral and was interviewed before Jun 2020. There were 3 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. Technical questions.

Interview Preparation Tips

Interview preparation tips for other job seekers - Good job security but do not expect projects with latest technologies or development side.

If you are lucky you will get project with new technologies and you can learn.

What people are saying about TCS

View All
a digital marketer
3d
Do you think they're gonna work on employees' work-life balance, OR for just publicity?
Infosys, Infosys, TCS, Genpact Revise Workplace Policies Infosys is sending a warning mail, if an employee overshoots the daily limit while working remotely, the system triggers a notification Genpact introduced a new policy to log in before 11 am But will these companies really change, or is it just a show to mask their issues?
FeedCard Image
Got a question about TCS?
Ask anonymously on communities.

I applied via Company Website and was interviewed before Dec 2020. There were 4 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. 1. Data structure questions

Interview Preparation Tips

Interview preparation tips for other job seekers - Good experience all total

I applied via Company Website and was interviewed before Oct 2021. There were 5 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 - Aptitude Test 

Basic Aptitude with some difficult questions

Round 3 - Coding Test 

3 set of coding question were asked 1 easy ,1 medium ,1 hard

Round 4 - One-on-one 

(1 Question)

  • Q1. This was personal technical interview asking all related to my cv and the one they are looking for
Round 5 - HR 

(1 Question)

  • Q1. Basic personality questions

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare everything basic and from the CV and you will be good to go.Research about the company a bit that will add cherry on top.

Interview Questionnaire 

1 Question

  • Q1. Why Infosys

Interview Preparation Tips

Interview preparation tips for other job seekers - be honest and dont fake they will know if you are
Are these interview questions helpful?

I applied via Company Website and was interviewed before Mar 2021. There were 3 interview rounds.

Round 1 - Aptitude Test 

The Questions in the aptitude test were Average but you need to be pretty quick to solve them sp yes speed matters in aptitude test

Round 2 - Coding Test 

After aptitude there was a coding test which was not necessary to clear for ASE profile but if you clear it then you will be considered for SE profile. its better to give your all out in the coding test to gain a better career level at accenture

Round 3 - Technical 

(4 Questions)

  • Q1. After clearing above 2 rounds there was technical and HR round both combined(In my case) so they basically ask the questions related to what you've written in your resume, make sure to not write anything w...
  • Q2. Question 1. Tell me about your project and what all challenges did you faced
  • Q3. Describe yourself in minimum possible words
  • Q4. Technical questions related to technologies you've written in your resume.

Interview Preparation Tips

Interview preparation tips for other job seekers - My final Advice for the job seekers would be keep grinding don't get nervous and stay confident on your answers even if you know very little.

Interview Questionnaire 

2 Questions

  • Q1. Mostly on data structure
  • Q2. What is tree
  • Ans. 

    A tree is a data structure consisting of nodes connected by edges that represent a hierarchical structure.

    • Nodes represent elements of the tree

    • Edges represent the relationships between nodes

    • The topmost node is called the root

    • Each node can have zero or more child nodes

    • Examples include binary trees, AVL trees, and B-trees

  • Answered by AI

Skills evaluated in this interview

I applied via Recruitment Consultant and was interviewed in Jan 2021. There were 3 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. Basic javascript and nodejs questions

Interview Preparation Tips

Interview preparation tips for other job seekers - Keep your basics clear

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
₹4.6 L/yr - ₹10.8 L/yr
17% 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

₹3.9 L/yr - ₹8.3 L/yr

IT Analyst
65.5k salaries
unlock blur

₹7.7 L/yr - ₹12.7 L/yr

AST Consultant
53.6k salaries
unlock blur

₹12 L/yr - ₹20.6 L/yr

Assistant System Engineer
33.2k salaries
unlock blur

₹2.5 L/yr - ₹6.4 L/yr

Associate Consultant
33k 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.7
Compare
write
Share an Interview