Real Time Interview Questions on Automation Testing

Cognizent (CTS) Interview  Questions on Selenium:- [Date on 11th Aug 2018]

1. WAP a program to reverse the below string and add the digits of this.
        String s=”123”;
2. WAP a program to map below string and individual print it.
        Sting s1=”Welcome to CTS” ;
3. Write the structure of the POM.xml file.
4. Write the command of maven to run the project.
5. Write the RestAssured code of your project.
6. What is TestNG Listener.  [Answer]
7. How to use Extent Report.
8. About Maven Setting.xml file.
9. Maven Life Cycle (Phases).
10. How to read the text file in java.
11. Data provider in TestNG. 
12. How to check java version using the command prompt.
13. Describe your Selenium framework.
14. What is Collection Framework.  [Answer]
15. Write the code of HashMap declaration. 
16. Different waits command in Selenium. [Answer]
17. Different exception in Selenium project. 
18. What is StaleElementReference Exception.
19. What is Interface and where you are using Interface in your projects.
20. What is difference between StaleElementReferenceException and NoSuchElementException. [Answer]





Capgemini Interview Questions:- [Date on 01st Nov 2018]

Selenium:

     1. Describe your framework.
     2. Actions class in Selenium
     3. Print all links of Google page.
     4. How to read excel data in your framework. Write the code for this.

Java:

     Write a program to reverse a String. [Answer]
     Write a program to reverse a String and reverse character of each word.
     Write a program of Fibonacci Series. [Answer]
     Write a program of Palindrome Number. [Answer]
     Write a program of the Prime number. [Answer]
     Write a program of Count each character of the string. [Answer]

Manual Testing:

      1. Explain Defect Life Cycle.
      2. What is V-Model.










No comments:

Post a Comment