Capgemini (mumbai) telephonic interview questions for 2yrs experience. - All About Testing Capgemini (mumbai) telephonic interview questions for 2yrs experience.

Monday 9 October 2017

Capgemini (mumbai) telephonic interview questions for 2yrs experience.

1. What are the different locators you have used in web driver?

2. Can you give an example of absolute and relative Xpaths?
3. What is difference b/w close and quit in web driver?

4. Webdriver is a class or interface?

5. Can you give a class name which implemented web driver interface?

6. Scenario: if there is an element which contains id attribute, that id is split into two parts by '_' (underscore), first part is constant
            and the second part is changing. how do you find that element using id?

7. Suppose if the element is hidden, how do get the text of that element?

8. Difference between implicit and explicit waits.

9. How you deal dropdowns.
10. Scenario: there is a link on web page, click on that link a window will open and now that opened window contains 3 different frames and 
             you have to do an operation on different elements in 3 frames and come back to the window. how will you do dis
.
11. What is a timeout in the grid?
12. What is browser timeout in the grid?

13. What do you mean by max instance and max session?

14. Tell different annotations provided by TestNG.

15. Suppose I want check particular exception in TestNG, how will you do?

16. What is soft and hard assertion?

17. What are different access modifiers and explain each?

18. Can you define multiple public classes in single java file? Is it possible?

19. Class name and java file name should be same?
20. What you mean by final, finally, finalize?

21. What do you mean by for each loop?

22. Can we remove any element by using for each loop?

23. Difference between ArrayList and vector?

24. How do you write a custom class which is immutable?

25. Create one custom class using interface inside in it, that custom class should responsible for doing for each operation.
which type of interface will you use to create such a custom class?

0 comments:

Post a Comment