TCS Selenium Interview Questions With Java: The essential part of preparing for an interview is practice. Knowing what job interview questions you might be asked is necessary – that way, you can craft your answers well in advance and feel confident in your responses when the pressure is on.
Wouldn’t it be great to know what might ask interview questions for the Test Engineer and QA for Manual & Automation Positions? Unfortunately, we can’t read minds, but we’ll give you the next best thing: a list of previously asked TCS Selenium Interview Questions and answers.
Post On: | TCS Interview Questions |
Post Type: | Interview Questions |
Published On: | www.softwaretestingo.com |
Applicable For: | Freshers & Experience |
Get Updates: | Software Testingo Telegram Group |
We have tried to share some of the Testing Interview Questions. But we recommend spending some quality time to get comfortable with what might be asked when you go for the TCS interview.
Still, we need your love and support to make this platform more helpful to our fellow testers. So please share your recent interview questions and experience with us. You Can share those details by connecting with us at softwaretestingo.com@gmail.com.
This post will share all the TCS Selenium automation testing interview questions. We hope these questions will give you a brief idea of the questions previously faced in various locations.
TCS Selenium Interview Questions
Company Name: TCS
Position: Sr. Automation Tester
Company Location: Bangalore
Experience: 7 Yrs
Shared By: Rahul Dubey
No Of Rounds: 1
Updated on: 30.10.2021
It was a Telephonic Interview. The experience was good, but somehow, the interviewer thought I might be cheating as I was a little slow to answer; I completed the interview positively.
Questions
- Current Project and what is your role in it
TestNG
- Annotations
- How to execute parallel test
- Can we execute the parallel test for different test data in Data Provider?
- Difference between Data Provider and Parameters
- How can you run Smoke or Regression test cases in TestNG?
Selenium
- Different Exceptions
- What is StaleElementReferenceException
- How to handle StaleElementReferenceException
- Difference between findElement() and findElements
- Exceptions thrown by findElement() and findElements()
- Different Locators in Selenium
- How will you locate an element if there is no unique locator (not even Xpath)?
- In PageFactory, how do you locate an element?
- Waits
- Polling using webDriverWaits
Cucumber
- Same gherkin code in 2 feature files. Is it possible?
- Is gherkin case sensitive?
- How to pass parameters in Cucumber
- How to pass
Java
- Abstract Class and Interface
- Maps
Tips: This is the screening round, so prepare for the basics.
TCS Automation Testing Interview Questions
Here is the list of TCS automation testing interview questions, which asked for 3-year experience interview questions.
Interview Date: 18 Sept 2022
- Tell me about yourself.
- What is the difference between regression and sanity
- What is the defect cycle
- What is the traceability matrix
- How many tests case you can do right in one day
- How can you define regression testing and when it’s used
- What is the identifier
- Difference between relative XPath and absolute XPath
- Which framework are you using?
- How to screenshot and write code for it
- What are the agile meeting
- Difference between agile and waterfall
Source: Telegram Group
Tata Consultancy Services (TCS) Interview Questions
Interview Date: 05th July 2022
For these Tata Consultancy Services (TCS) interview questions, We Thank Snehal Gaikwad for coming forward and sharing these Testing interview questions with us. We hope this also motivates others to share their interview experience and questions.
Still, we need your Love ❤️ & Support 🤝 to build a better platform for our fellow Testing Community to make such an incredible platform where a QA can get the real-time testing interview questions in a single place.
- Introduce Yourself.
- Which framework did you use?
- Explain Framework.
- What is Encapsulation means?
- If Dev does not accept bugs, then what will you do?
- Explain cross-browser testing.
- When do you do test automation?
- What is TestNG?
- Inner Join? Syntax
- Dir to Dir more syntax?
- Which exceptions did you see in these three years of experience?
- What is the difference between Final, Finally & Finalize?
- What is the difference between Post and Put in API?
- How can you handle dynamic webelement?
- JIRA uses?
- What is the difference between implicit and explicit? Which do you frequently use?
- What are the feedbacks you get when your sprint retrospective meeting?
- I am done with you. Do you have any questions?
Source: Telegram Group
TCS Virtual Round Interview Questions
For these Tata Consultancy Services (TCS) interview questions, We Thank Snehal Gaikwad for coming forward and sharing these Testing interview questions with us. We hope this also motivates others to share their interview experience and questions.
Still, we need your Love ❤️ & Support 🤝 to build a better platform for our fellow Testing Community to make such an incredible platform where a QA can get the real-time testing interview questions in a single place.
Interview Date: 14/04/2022
Position: Automation Test Engineer
- What are sanity, smoke, and regression testing, and what is the difference between them?
- What is a path in python?
- Explain agile methodologies and story point allocation.
- What is the scope of python?
- Explain different data types in python.
- How can we automate all test cases, and when can we?
- What is the difference between test planning and test strategy?
- What are bug tracking tools and logs storage?
- Explain your Project and overall experience
- Explain the Automation Testing Life cycle
- Explain Regression Testing
- Explain Defect leakage and defect release
- What is Fault means in the testing
- What are the annotations in TestNG
- What is TestNG, and explain its advantage and use in Automation
- How to handle switch frames in selenium
- How to handle windows popups, the command for it
- How to refresh a page in selenium and its command
- What are Annotations in Jenkins
- What is POM
- What is the use of maven
- How do we use cucumber in selenium
- Which Framework have you used for your project?
- Explain Page Factory.
- Explain Abstract & Interface.
- What is the difference between implicit, explicit, and Fluent wait?
- What is the code for screenshots using selenium?
TCS Company Chennai Interview Questions
Company Location: Chennai, India
Attended on: 13.11.2021
- Tell me about yourself
- Explain Framework
- What is Inheritance?
- What is API Testing, and explain in detail?
- What is Jasmine Framework?
- What is Python?
- Explain your framework
- Explain how you have implemented oops concepts in your framework
- What is a latent defect
- How to find out broken links on a web page
- Name of 8 locators
- Which locator is most used and why
- Difference between implicit and explicit wait
- Method to scroll down to the bottom of a web page
- If an element is not visible on the screen, how to click on it
- Explain different response codes of API
- How to handle a window pop up
- How to drag and drop files on a web page
- How to retrieve an image from an nth window
- Name methods of Action class
- Difference between POm and page factory
- How to select the value from the drop-down
- Explain the list and hashmap
TCS Company Bangalore Interview Questions
Company Location: Bangalore, India
Attended on: 29.09.2021
Technical Round -1
- What are the primary key and unique keys?
- How many joins are there any differences?
- What is the difference between a Join and a Union?
- Select the top 3 max salary employees by depts.
- What is the difference between where and having and using it?
- Different types of Date functions?
- What are the grouping functions?
- Which function is used to get the current date?
- What is a subquery?
- What is indexing?
Technical Round -2
- What is a class?
- What is the difference between heap and stack?
- What is the difference between an instance variable and a local variable?
- What is Constructor? Types of Constructors?
- What is the difference between Break and Continue?
- What command is used in java to exit the system from the current execution?
- Addition features in Java 8?
- What is the difference between for and for each loop in java and its use it?
- Can we have multiple public class within a class?
- What is inheritance? Types of inheritance? Do multiple inheritances allow in java? If not, why?
- What is polymorphism? How can we achieve it?
- What is the difference between method overloading and method overriding?
- Can we achieve method overloading when two methods only differ in return type?
- Method overloading and overriding examples in the Selenium project?
- What is encapsulation?
- What are IS-A and HAS-A relations in java? With examples?
- What is the final and super keyword? What difference between them?
- Explain runtime polymorphism and compile-time with examples.
- Can the final/Static method be overloaded?
- Can final/Static methods be overridden?
- Can we overload the Main method?
- Can we execute a class without a Main method?
- What is a Package?
- What is an Abstract Class? Write an example code.
- What is an Interface? What is the difference between the Abstract class?
- Can we use private and protected access modified inside an Interface?
- Can multiple inheritances support an Interface?
- Examples of Abstract and Interface used in the selenium project?
- What is an Exception, and what is its base class of it?
- What is Final, Finally, Finalize?
- What is done in the finally block?
- What is garbage collection java? How is it done?
- What is the difference between Throws and Throw?
- Gives some examples of java and Selenium.
- What is Java Reflection, Singleton?
- What is threading? How does multithreading achieve? How to initiate a thread in java? What do you mean by thread-safe?
- What is the difference between collection and collections?
- The collection is what type?
- What is the difference between Array and ArrayList?
- What is the difference between Set and HashSet?
- What is the difference between HashMap and hashtable?
- What is the difference between ArrayList and LinkList?
- How do you use Map collection for your project?
- Can we have a duplicate key value in HasMap?
- How to fetch values from a hashmap?
Next is the HR discussion.
TCS Chennai Interview Questions
Company Name: TCS
Company Location: Chennai, India
Attended on: 30.07.2021
Thanks To Gokulsarathy P For sharing these interview Questions with us.
- Tell me about yourself.
- What is the difference between SDLC & STLC?
- How to get a count of all the links on a webpage and click on them?
- How to validate a URL from the parent window? Clicked on it should navigate to the child window. Also, how do you validate the extensions after ‘/,’ e.g., .www.google.com/users/login?
- How do you handle Rejected defects with the dev team?
- What are all the limitations of Selenium?
- How did you capture screenshots in Selenium?
- What are listeners?
- Explain HashMap.
- Types of waits in selenium
- How to run multiple times the same test case using TestNG?
- What are checked and unchecked exceptions
- What are the different types of string methods?
- What are collections? What collections have you used?
- Interface and abstract class
- Overload and overriding
- Few Java programs for Logic
1. How to reverse a string, eg. “ I am from Mumbai” output needs to be “Mumbai from am I.”
2. 1,2,3,1,2 how to print no. Appearing twice - Cucumber: what are hooks in cucumber?
- How to write cucumber feature
- Explain your framework
- How you pass data
- Agile ceremonies-related questions
- Selenium web driver link text-related questions.
TCS Selenium Interview Questions [ Bangalore, India ]
Company Name: TCS
Company Location: Bangalore, India
Updated on: 13.05.2021
- Tell me about yourself.
- Can we overload the main method? If yes, how?
- How to get a count of all the links on a webpage and click on them?
- How do you find that if it is linked using XPath?
- How do you handle windows?
- How to handle tables using XPath?
- How to handle dynamic elements on a webpage? Ex: Employee list getting extended and want to retrieve last employee data.
- What changes need to be made to .java class on parallel execution of test cases using TestNG?
- Defect life cycle.
- Diff between SDLC and STLC.
- Components in defect report.
- How do you handle QA conflict?
- When to start Automation?
- How do you choose test cases for Automation?
- How do you take screenshots in selenium for failed test cases? Name the class and method.
- Explain to me the logic of finding the prime number.
- Describe how to handle the below items using selenium
-iframe
-windows
-table
-Alerts - What is a javascript executor?
- What are static variables?
- What is the difference between overloading and overriding
- How can you do parallel test execution using selenium?
- What are actions
- Types of waits in selenium
- How to take a screenshot of failed test scripts in TestNG
TCS Selenium Interview Questions
Company Name: TCS
Company Location: Chennai, India
Updated on: 15.03.2021
- Tell me about yourself.
- Using Selenium, can we automate JavaScript?
- WebDrvier driver=new Firefoxdriver() Explain this?
- Oops concept basics
- How to select a drop-down box without using “select”?
- Architecture of framework
- Maven questions
- How do you give an MVN path to Jenkins
- Is TestNG a framework or test package ( I said it’s a framework for using unit testing and used to generate reports ) again, she asked why use testNG.
- Given a scenario about booking 10tkts in Air India, write a code for it.
- What is meant by class and objects? Give one example for it and explain the Components of the framework briefly.
- Which frame are you using ( my self I told KDF), but she asks about POM
- Why do we use Git?
- Why should we use Jenkins?
- Are you asking about .war files for Tomcat?
- How to run scenario explain briefly where you write code where you generate reports step by step tell me in this paper
- Int a=22555; write a program to count number digits in a given number. Don’t convert to a string.
- In the web table, every cell has “*,” but one cell has Letter “A” Now, write XPath for “*,” which is beside the letter “A” cell.
- Prepare a Test case/Scenario for covering the Calculator?
- How do you test a web page-Application?
- Write the steps for how you would automate if a new page is added to your website
- How do you add objects to a repository?
- What is a basic error you would get when an XML is not correct?
- Tell me some examples of security testing
- Write the scenarios in testing a coffee vending machine
- Difference between QA and testing
- What kind of QA process do you follow?
- What are the inputs required to raise a defect?
- Checklist for testing a website
- Who is going to assign the severity and priority?
TCS Selenium Interview Questions
- Tell me about yourself?
- Write the syntax of implicitly wait and Explicitlywait
- How to do parallel testing and cross-browser testing
- Write the code for taking screenshots
- How to read data from an excel sheet
- Explain your Framework
- What is Autoit
- How to handle Authentication popups
- What is webdriver
- Explain Jenkins
- What are the dependencies you added to your framework?
- Explain about collections
- SQL commands
- What is the difference between inheritance and abstraction?
- Where did you use abstraction in your current project? Give me one example.
- Explain cucumber and cucumber options
- What is the java tree?
- Which framework you worked
- How many percentages of automation are covered in your project
- What are annotations
- How do you test API? experience in post method
- What is an agile process?
- What is scrum
- Which area do you need to improve on selenium?
- How will you find out broken links on the webpage?
We Hope these TCS Selenium Interview Questions Will Help you with your upcoming interview. You can comment below if you want to share any feedback regarding the TCS Selenium Interview Questions.
About TCS Company
Tata Consultancy Services Limited is an Indian multinational information technology service, consulting and business solutions company headquartered in Mumbai, Maharashtra. It is a subsidiary of the Tata Group and operates in 46 countries.
We function as a full stakeholder in business, offering a consulting-led approach with an integrated portfolio of technology-led solutions that encompass the entire Enterprise value chain. Our Customer-centric Engagement Model defines how we do engage with you, offering specialized services and solutions that meet the distinct needs of your business.
We build bespoke teams around your domain and technology requirements drawn from our talent pool of over 387,200 global professionals including 34.7% women from 130 nationalities. Our domain expertise has been built upon decades of experience working across industries and this knowledge underpins our suite of solutions.
Our organization structure is domain led and empowered to help provide Customers with a single-window to industry-specific solutions. Agile industry units have embedded capabilities to enable rapid responses that provide a competitive edge to our Customers. This is coupled with a unique Global Network Delivery Model™ (GNDM™), spanning 40 global locations, that is today recognized as the benchmark of excellence in technology deployment.
We have made significant investments in Digital platforms and products spanning Technology Products, Horizontal Platforms, and Products, Vertical Platforms, and Products.
Our clients across the world have achieved significant business results using our world-class solutions and have recognized us for their efforts: We have been ranked number one for customer satisfaction in Europe’s largest survey of service provider performance. Conducted across 13 countries in Europe by Whitelane Research. This is the third consecutive year that we have topped the customer satisfaction ranking for the IT services industry, with TCS also being rated number one across all nine individual key performance indicators (KPIs).
Could you please share all question and answer for selenium testing?
For All Selenium Automation Testing questions you can follow this link
Regarding the scenario which needs to book 10 tickets in Airline, is that require java code or selenium code at the time interview
It Maybe Java Selenium Code
great thank you ,it is very much detailed and helpful for quick revision
interview for automation test engineer: on 14/04/2022
questions:
sanity, smoke and regression testing and difference between them
path in python
agile methodologies and story point allocation
scope in python
data types in python
how can we automate among all testcases and when can we
test planning and test strategy
bug tracking tools and logs storage
Thanks, Sarada Ponnada, For sharing these interview questions, and also we have updated the same in the post.
Thanks brother 😊 for this importance questions