Capgemini Mumbai telephonic interview questions for 2 yrs experience.... - All About Testing Capgemini Mumbai telephonic interview questions for 2 yrs experience....

Tuesday 16 May 2017

Capgemini Mumbai telephonic interview questions for 2 yrs experience....


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

  1. Can you give example of absolute and relative xpaths.

  1. What is difference b/w close and quit in webdriver?

  1.  Webdriver is a class or interface?

  1. Can you give class name which implemented webdriver interface.

  1. Scenario: if there is a element which contains id attribute, that id is splitted by two parts by '_' (underscore), first part is constant and second part is changing. how do you find that element using id.

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

  1. Difference b/w implicit and explicit waits.

  1. How you deal drop-downs.

  1. Scenario: there is a link on webpage, click on that link a window will open and now that opened window contains 3 different frames and you have to do operation on different elements in 3 frames and come back to window. how will you do this.

  1. What is timeout in grid?

  1. What is browser timeout in grid?

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

  1. Tell different annotations provided by TestNG.

  1. Suppose i want check particular exception in TestNG, how will you do?

  1. What is soft and hard assertion?

  1. What are different access modifiers and explain each.

  1. Can you define multiple public classes in single java file.is it possible?

  1. Class name and java file name should be same?

  1. What you mean by final,finally,finalize?

  1. What do you mean by for each loop?

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

  1. Difference b/w arraylist and vector?
  2. How do you write custom class which is immutable?

  1. 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