Cognizant- Interview Questions

manager, person, people

Cognizant Interview Question

Collection of Cognizant Interview Questions. The section contains a real-time interview experience shared by the interviewees.

  1. About yourself

  2. Tell Cucumber options.

  3. Explain Hooks in cucumber.

  4. What are Cucumber reports?

  5. Why Background keyword used?

  6. About Git –command you use to write a commit message.

  7. How to resolve conflicts while commiting code?

  8. How to get a particular branch code from Git?

  9. Pull, push, fetch, and other commands

  10. How to fetch data from an excel sheet?

  11. BitBucket overview.

  12. Program to retrieve Excel data

  13. How to write XPath, CSS?

  14. Which jar you are using for Excel?

  15. How to connect to the database?

  16. Properties file – how to retrieve data from property file code syntaxes.

  17. Java collections.

  18. Set, List – difference (how you used in selenium?)

  19. Abstract and encapsulation difference.

  20. Interface and Abstract class difference and what keywords used for both in order to inherit?

  21. If we don’t want to change the variable value then what should we use – final keyword

  22. A class with a parameterized constructor with 2 arguments(username, password). From the main class, how should you call this constructor?

  23. Program: Web table with 3 columns and 4 rows. Need 2nd column rows to be sorted and get the 4th-row value.

  24. Explain your responsibility in your project?

  25. Steps to connect to DB and retrieve data from DB – Code steps

  26. How to retrieve data for the child from the parent tag?

  27. What are the exceptions faced while API testing?

Cognizant Interview Questions 2021

  1. Tell me about yourself
  2. Project details
  3. Current role
  4. What is API?
  5. Request method In Postman
  6. How you cover end to end API Testing
  7. Use of API
  8. Why Selenium?
  9. Banking domain
  10. Retail, corporate, investment banking
  11. Agile (Kansan)
  12. SIT and Regression Testing
  13. Integration Test,  smoke Testing, sanity testing in your project
  14. Defect Lifecycle, SDLC, STLC
  15. Tell me about yourself.
  16. Framework?
  17. Can we declare many interfaces object class inside the interface class
  18. Types of assertions.
  19. What is the difference between assert and verify?
  20. How to pass text in the Gmail field.
  21. TestNG annotations.
  22. J unit annotations.
  23. Interface in java
  24. Abstraction in java
  25. What are the methods in TestNG
  26. Exceptions in automation.
  27. SQL where clause, aggregation, group.
  28. Integration testing.
  29. Unit testing.
  30. How will you double click on an element?
  31. Difference between override and overloading.
  32. What is a super keyword in java?
  33. What is git and its use?
  34. Difference between break and continue statement.
  35. 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

  1. Abstraction and where it is used in your project ?
  2. Difference between Abstract class & interface?
  3. What is a static keyword in Java?
  4. What method Overloading & Overriding?
  5. Wait & Implicit and explicit wait? How to use thread.sleep(time 10000)?
  6. How you handle the drop-down list?
  7. Have you used the action class and where it is used?
  8. What Maven Architecture and explain pom.xml?
  9. TestNG what are the annotations use?
  10. BDD framework?
  11. Explain the cucumber framework?
  12. What are locators in selenium?
  13. Git Hub Commands? version controlling
  14. Absolute and Relative Xpath?
  15. What are the exceptions that occurred while using selenium webdriver?
  16. What is the difference between throws and thrown?
  17. How you handle exceptions?
  18. How many times you can write catch block?
  19. 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.

CEO: Brian Humphries (1 Apr 2019–)
Founded: 26 January 1994
Revenue: 1,680 crores USD (2019)

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 JavaSeleniumDatabaseAPI, and Manual testing.