HCL – Selenium Interview Questions


  1. HCL – Selenium Interview Questions
  2.  

  3. Explain the Framework you are using
  4.  

  5. What is data driven framework
  6.  

  7. Where the test data will be stored in the FW
  8.  

  9. Components of Framework
  10.  

  11. How to count the links available in the form
  12.  

  13. Different types of locators. Which locator is your preference and why
  14.  

  15. Syntax of Xpath and cssSelector
  16.  

  17. In what format you are giving your report to client
  18.  

  19. Conversion process of Testing report to XSLT
  20.  

  21. Processor used in report
  22.  

  23. How to handle Authentication window
  24.  

  25. How to handle multiple window
  26.  

  27. Challenges faced in your automation project and how you overcome those
  28.  

  29. How to handle complex interaction – Action class
  30.  

  31. What kind of Frame work using in your organization..?
  32.  

  33. Explain about your framework architecure..?
  34.  

  35. Where did you stored all kind of xpaths in your framework..?
  36.  

  37. What is the HUB & Node..?
  38.  

  39. How do you run your test using a framework..?
  40.  

  41. Write the xpath..?
  42.  

  43. How to handle alerts using web driver..?
  44.  

  45. How to identify two fields(Radio button) in a page with same id..?
  46.  

  47. How to write a xpaths for Dynamic web pages..? (like facebook status, Filpakarts)
  48.  

  49. Junit – how do you used in projects..?
  50.  

  51. Junit – how do you used in projects..?
  52.  

  53. How do you handle popup windows in your projects..?
  54.  

  55. Why is Java platform/OS independent ?
  56.  

  57. Have you used collections in your code ?
  58.  

  59. What is the difference between Implicit and Explicit wait ?
  60.  

  61. Write any sample code — Fibonacci series …
  62.  

  63. Scenario —
  64.  

  65. I have three unique buttons in my page.(Display names are different)
  66.  

  67. The internal ID & Name changes on every page load.
  68.  

  69. I need to click on each button in sequence.
  70.  

  71. Write a prog to find the largest of 3 numbers
  72.  

  73. Write a program to obtain the ipaddress from the user and chk if the ipaddress is valid or not
  74.  

  75. Write a program to chk if u hav received mail from hcl using webtable
  76.  

  77. Ur project architecture
  78.  

  79. Diff between hashmap and hashtable
  80.  

  81. What is serialization
  82.  

  83. What is anonymous class
  84.  

  85. How to create a immutable class
  86.  

  87. Challenges faced in selenium
  88.  

  89. How will u locate the dynamic objects in a webpage
  90.  

  91. Prog to reverse a string
  92.  

  93. Obtain the number of chars in a text file
  94.  

  95. Obtain the number of chars in a text file
  96.  

  97. Read a property file
  98.  

  99. How to handle ajax alerts and frames
  100.  

  101. Write a java program, to swap without using 3rd variable?
  102.  

  103. Write a Java program to read text from a file and display it.
  104.  

  105. Write a Java program to get file name from the given string.
  106.  

  107. Str = “C:\Programs\TextFile.txt”
  108.  

  109. Write a sql sub query to join Employee(T1, T2, T3) and return the table 3 values
  110.  

  111. Write a selenium script to print the table values? Table is like 3X3 table with values A, B, C, 1, 2, 3, 4, 5, 6.