Cognizant Interview Question
Collection of Cognizant Interview Questions. The section contains a real-time interview experience shared by the interviewees.
About yourself
Tell Cucumber options.
Explain Hooks in cucumber.
What are Cucumber reports?
Why Background keyword used?
About Git –command you use to write a commit message.
How to resolve conflicts while commiting code?
How to get a particular branch code from Git?
Pull, push, fetch, and other commands
How to fetch data from an excel sheet?
BitBucket overview.
Program to retrieve Excel data
How to write XPath, CSS?
Which jar you are using for Excel?
How to connect to the database?
Properties file – how to retrieve data from property file code syntaxes.
Java collections.
Set, List – difference (how you used in selenium?)
Abstract and encapsulation difference.
Interface and Abstract class difference and what keywords used for both in order to inherit?
If we don’t want to change the variable value then what should we use – final keyword
A class with a parameterized constructor with 2 arguments(username, password). From the main class, how should you call this constructor?
Program: Web table with 3 columns and 4 rows. Need 2nd column rows to be sorted and get the 4th-row value.
Explain your responsibility in your project?
Steps to connect to DB and retrieve data from DB – Code steps
How to retrieve data for the child from the parent tag?
What are the exceptions faced while API testing?
Cognizant Interview Questions 2021
- Tell me about yourself
- Project details
- Current role
- What is API?
- Request method In Postman
- How you cover end to end API Testing
- Use of API
- Why Selenium?
- Banking domain
- Retail, corporate, investment banking
- Agile (Kansan)
- SIT and Regression Testing
- Integration Test, smoke Testing, sanity testing in your project
- Defect Lifecycle, SDLC, STLC
- Tell me about yourself.
- Framework?
- Can we declare many interfaces object class inside the interface class
- Types of assertions.
- What is the difference between assert and verify?
- How to pass text in the Gmail field.
- TestNG annotations.
- J unit annotations.
- Interface in java
- Abstraction in java
- What are the methods in TestNG
- Exceptions in automation.
- SQL where clause, aggregation, group.
- Integration testing.
- Unit testing.
- How will you double click on an element?
- Difference between override and overloading.
- What is a super keyword in java?
- What is git and its use?
- Difference between break and continue statement.
- What will you do if after the release of software the particular thing working fine but one day after release it is not working what action will you take on this?
Cognizant Interview Questions – Selenium + Java
- Abstraction and where it is used in your project ?
- Difference between Abstract class & interface?
- What is a static keyword in Java?
- What method Overloading & Overriding?
- Wait & Implicit and explicit wait? How to use thread.sleep(time 10000)?
- How you handle the drop-down list?
- Have you used the action class and where it is used?
- What Maven Architecture and explain pom.xml?
- TestNG what are the annotations use?
- BDD framework?
- Explain the cucumber framework?
- What are locators in selenium?
- Git Hub Commands? version controlling
- Absolute and Relative Xpath?
- What are the exceptions that occurred while using selenium webdriver?
- What is the difference between throws and thrown?
- How you handle exceptions?
- How many times you can write catch block?
- When finally block get executed?
About Cognizant
Cognizant is an American multinational technology company that provides business consulting, information technology and outsourcing services. It is headquartered in Teaneck, New Jersey, United States. Cognizant is part of the NASDAQ-100 and trades under CTSH.
Searches related to Cognizant Interview Questions
cognizant interview questions for freshers
cognizant interview questions for freshers 2020
cognizant interview questions pdf
cognizant interview questions geeksforgeeks
cognizant technical interview questions
cognizant interview questions quora
cognizant interview questions for freshers 2019
cognizant interview questions for software developer
Check more questions on Java, Selenium, Database, API, and Manual testing.