Monday, 9 April 2018

Clairvoyant - Manual and Automation - 3 to 6 years

Clair Voyant 1 round questions-
1. STLC explain with flow daigram

2. DLC explain with flow diagram

3. Smoke and Sanity with example

4. Regression and retesting with example

5. Priority & severity with example

6. What is test plan why it is created. Have u created test plan?

7. Suppose a defect logged for build , it is fixed for build 2. How and what will you test.

8. What will you do if a bug is intermittent and not reproducible?

9. Explain agile and how will I incorporate it with STLC

10. What types of testing you will do for a web based application

11. Have you used any non functional testing tool

12. Will you get a bug reviewed by Product manager or BA when in open stage before assigning it to developer?

13. SQL query for fetching employee with 2nd highest Salary in employee table

14. SQL query for fetching all customer names from Customers table who have ordered for Product Name "laptop". Orders table has product name n customer id(FK)
15. What are constraints in SQL

16. SQL query for finding orders with customer id having null value

17. What is better to use- nested query or JOINS. How will you decide?

18. Explain PK and FK with example

19. What are aggregate functions in SQL ? Explain with examples

20. How many locators used in Selenium Webdriver?
21. Given a web page with username & password fields, forgot password link and

Exfo - Selenium Automation - 2 to 6 Years

Selenium Automation

1) Why we used TeStNG framework/purpose
2) How to enter values in field without sendkeys

3) What is abstract class

4) What is interface

5) How write scripts for 10 username and is in TestNG

6) How to read and write excel in selenium
7) If we are not priorities test cases then at what sequence it will execute

8) What is latest selenium Version

9) Difference between keyword driven and data driven framework

10) What is hybrid framework

11) What is action class and for what purpose it will used.

Monday, 2 April 2018

LnT - Selenium Automation - 3 plus

Selenium/Java questions at L&T 1st nov 2017

1. What is the difference between list and set?
2. How will you switch to other window?
3. What is the return type of driver.findelement/driver.getwindowhandles()?
4. What is the difference between Private and Protected? 
5. How will you achieve dynamic polymorphism?
6. What is inheritance and encapsulation? 
7. Can you override static methods?
8. Can main method be overloaded?
9. What is Singleton?
10. What is collections in Java?
11. What is nested class?
12. How will you call a protected method in a nested class?
13. In a web page, how will you ensure that page has been loaded completely?
14. What is the difference between build and perform method in Actions Class?
15. What are different annotations in TestNG?
16. What is the difference between before method and before test?
17. How will you display the character count in a string "Steve Jobs" by ignoring space on between? 
18. What is a constructor and when will you use this and super in a constructor?
19. If you want to call a constructor from parent class, what will you do?
20. How will you run your tests using Data Driven Framework?
21. What are static variables and methods?
22. How will you handle Alerts in selenium?
23. How will you handle a file upload window using Selenium?
24. Can I define one class into another class?
25. What are different types of modifiers present in Java?
26. How will you make a build using Jenkins?
27. How will you install ReportNG in your project?
28. How will you control data using XML?
29. How will you display a value of a particular cell in a web table?
30. How will you handle dynamic elements using XPath?
31. What is POM?

Sunday, 25 February 2018

CTS - Automation Testing - 4 plus experience

Cognizant Selenium Automation Testing Interview Questions: 
 

--------- *1st Round* ---------

1) About yourself

2) Write down your project framework structure

3) What is POM.xml

4) What are the annotations in TestNG and it's sequence

5) When your @BeforeSuite will execute?

6) How to do grouping in Testng?

7) Difference between ImpliciteWait and Explicite wait.

8) Suppose one element is there, which will appear after 20 sec. We have given explicitewait of 10 sec to that element and implicitwait of 20 sec in that class, then what will happen? will it show an exception or what?

9) How to prioritize the testng classes using testng.xml? How many ways to do it?

10) Write down any test script that you are currently working in your company.

11) Difference between Abstract class and Interface

12) What are the Access specifiers in Java

13) Difference between Default and Protected

14) Write down the hierarchy of collection

15) Difference between Map and Set. Additional questions related to Map and Set

16) What are the Testing levels and in which role you are currently?

17) Do you know BDD?

--------- *2st Round* ---------

1) Given one String like "My name is ABC" and asked to reverse "ABC is name My"

2) Given 3-4 scenarios like password should accept 6-10 character, only one Alphabet, asked to write down the Regular Expression

3) How to find the broken links on the web page, asked to write it on paper

4) What is encapsulation?

5) What is Abstraction? 

6) Where did you use Abstract class in your project and why didn't you go for Interface?

7) Difference between Abstract class and Interface

8) Difference between Access specifier and Access modifier

9) Can we write only concrete methods in Abstract class? 

10) If we can write only concrete methods, why to declare it as abstract?

11) Can we have Constructor in Abstract class?