Accenture  – Selenium Interview Questions


  1. Can you brief about yourself.
  2.  

  3. What is the difference between hashmap and hashtable?
  4.  

  5. Difference between stringbuffer and string classes?
  6.  

  7. What is testing?
  8.  

  9. What are different types of testing?
  10.  

  11. What are the types of testing you know apart from functional and performance testing?
  12.  

  13. what is security testing?
  14.  

  15. Where would you see yourself in the next 2 years?
  16.  

  17. what is compatability testing.?
  18.  

  19. What is code coverage?
  20.  

  21. Why are you looking for change?
  22.  

  23. What are your achievements in your project?
  24.  

  25. What are the challenges you had in your project?
  26.  

  27. How would rate yourself in java out of 5.
  28.  

  29. What is garbage collector in java?
  30.  

  31. How do you achieve multiple inheritance in java?
  32.  

  33. What is the difference between interface and abstract class?
  34.  

  35. My application is dynamic in nature including objects
  36.  

  37. Write a program to find the prime number.
  38.  

  39. Some questions of reasoning, probability.
  40.  

  41. How do you update your knowledge?
  42.  

  43. What is STLC
  44.  

  45. Can you tell me the output of each component in STLC.
  46.  

  47. Have you done anything innovative in the past 3 years for which you felt very happy?
  48.  

  49. What tools you use in QA automation?
  50.  

  51. What is selenium?
  52.  

  53. Explain about your selenium framework.
  54.  

  55. What is the repositry you have used for objects in framework?
  56.  

  57. Can you write a sample webdriver script for login functionality of gmail.
  58.  

  59. What are the different annotations in Testing?
  60.  

  61. What is the use of @BeforeTest annotation?
  62.  

  63. How do you access the methods in TestNG class file along with parameters?
  64.  

  65. I have a package which has 10 class files, would like to run first 6 class files in parallel and rest 4 in sequential how do you that?
  66.  

  67. Write the structure of TestNG xml file for the above scenario with parallel value as “tests” and “classes”.
  68.  

  69. How do you do parameterization in testing?
  70.  

  71. How is dataprovider different from passing parameters from testng xml file?
  72.  

  73. How do you handle dependency tests cases in testing
  74.  

  75. Write codes for the following:
     

    • Check if the given string is palindrome or not.
    • Check if the given integer is palindrome or not.
    • Write a sample code for hashmap and hashtable.
    • Write a sample code for threads
  76.  

  77. Given an array int a[] = int a{1,2,2,3,4,4,5,5,6,7}
     

    • Check if the given string is palindrome or not.
    • Check if the given integer is palindrome or not.