Hexaware Interview Questions

Company-wise Selenium and QA interview preparation page.

Questions

  1. Round 1:
  2. Brief me about your automation career
  3. Explain your framework
  4. How would you connect to your excel? Which class would you use for it?
  5. What is the machine readable format or which class converts any of your document/file into an object?( let me know if you didn't understand the question.. I can explain)
  6. How would you click on a button on which webelement.click doesn't work?
  7. You have a webtable.. Consider Column one has name of the country and column 3 has weather conditions of the country.. When I input a country name, I should get a weather condition of the country? Logic
  8. 14,28,20,40,32,64,56,112..
  9. The difference between 14,20,32,56 is
  10. ,6,12,24
  11. The differences between 28,40,64,112 is
  12. ,12,24,48
  13. Round 2:
  14. Tell me about your career
  15. Why would you want to leave CogniZant
  16. You think your current role isnt challenging?
  17. What is the most challenging issue you faced in your project??
  18. What kind of framework u hav used in ur project?
  19. Tell me the different tools that u hav used till now in ur project and explain?
  20. Draw and explain the folder structure of ur project and different classes that u hav in each folder?
  21. Explain the complete flow of ur code?
  22. Draw and explain ur framework?
  23. How u ll generate report in different format?
  24. Types of reports that u hav used in ur project?
  25. How to read data from excel sheet using apace poi?
  26. How u will handle multiple windows starting from parent window?
  27. Different types of waits in selenium webdriver and explain it with example?
  28. Difference between assert and verify?
  29. Assume we hav a login page, v hav entered login name correctly and entered wrong password and then v tried to login to the application. The password textbox will be highlighted in red color. How u will verify it?
  30. Assume u hav a login page, u entered usernameand password correctly and u cliicked login button.Now the application doesn't response u aft clikcing on login button... how u ll handle it in ur selenium code?
  31. Challenges that u hav faced in selenium?
  32. Explain with example hw u ll handle file uploads?
  33. How to full snapshots in chrome browser?
  34. How to select the drop down value and explain it with example?
  35. Program to print fibonacci series?
  36. Hav u worked in SOAP UI, if so tell me what will u do with that
  37. Hav u developed any framework?
  38. Explain mouseover actions with example?
  39. You hav a web table it contains 3 columns. 1st column contains name of a person and 3rd column contains out time. U need to print out time of a particular person name. Assume that the values in changing dynamically.
  40. Write a java program based on below points
  41. a. Take an integer input
  42. b. Find the no. Of digits
  43. c. If the digits count is an even number then divide the input no. By 2
  44. d. If the resultant no. Of digits is even similarly in point e. no. Of digits in resultant no
  45. e. if the resultant no. is odd then remove the centre digit and compare the first half digits with that of the last half digits
  46. f. if they are equal print equal if not print not equal.
  47. How do you run all the failed test cases using testng
  48. How would you retry a certain test if it fails
  49. Explain each of the annotations in Testng
  50. A webpage has 4 textboxes each has the same class attribute as A , write a script to click on the 3rd textboxes and add your name prefixed by a tab space.
  51. A web page has a link and when right clicked and then open takes you to another page that has a text box in it and name to be typed in the textbox., write a script for the same
  52. Explain about the Agile process
  53. Explain about Cucumber framework.
  54. Java programs
  55. Core java concepts
  56. Webdriver and TestNG
  57. Tell me abt yourself
  58. Explain ur prj framework
  59. Difficulties faced in automation
  60. Any value adds you did in your project.
  61. Write java code Fibonacci?
  62. Write code for reversing the integer?
  63. How to get the text value inside text box? < I Told get attribute of value>
  64. How to get the selected in the list box then? < I told the same way- and he convinced>
  65. If I click a link multiple pp up gets open how do you close all except parent? Write code for that?
  66. How do you rate yourself in selenium?
  67. Tell about career?
  68. Why do you leave your company? The position is for automation frame work developer – nbut might be a manual tester some time? Are you okay with that?
  69. Why POM? Have you worked in Hybrid?
  70. Whats TOSCA?
  71. Why do prefer selenium than tosca?
  72. Explain your project architecture and how efficiently you have managed in automating them?
  73. What are the different way handling reports for the cases you have executed?
  74. How will you delete the 3rd row of dynamic web table using selenium
  75. How will you create random characters as a string in text boxes
  76. How will you count all the elements in web page
  77. Write code to find broken links in webpage
  78. How will you handle random pop up in web page
  79. Difference between driver.get and driver.navigate.to
  80. Whether finally method will be executed everytime . If no at what condition it won't execute
  81. How will you take screenshot of failed test cases alone
  82. Where do you use abstract class in Ur project ?
  83. What are the other alternate ways for send keys
  84. Testng test cases with priority as -1 and 0 . Which will execute first . Whether -1 is acceptable
  85. Write code for data providers
  86. How will you run all test cases in a single shot via testng
  87. Write Java code for string buffer (no pseudocode .. full program)
  88. Java recursion and it's practical use in selenium project
  89. Why build perform is mandatory for action classes
  90. Define web driver .
  91. How will you access pdf files in selenium . (Project requirement s to handle it via automation ,what are the other ways to handle it )
  92. Write code for sort the alphanumeric values . What are the available options to resolve and best solution
  93. command to print in selenium IDE
  94. what data type would Case in Switch(Case) statemenr supports
  95. Which OS wont be supported by Selenium IDE
  96. How to handle cookies in Selenium(2 ques)
  97. Which view show the script in HTML format
  98. Which method used to retrive text of the field(ans:getText())
  99. How to verify a text with the existing feild
  100. How to check whether a text is present
  101. What is mean by Selenese
  102. How to declare field in Selenium
  103. java program
  104. which data type stores the values in the Selenium Webdriver
  105. Fibonacci series
  106. Frames and Switching
  107. Inheritance
  108. Code for interacting with Excel
  109. how to enter the text in text box
  110. how to get data from excel (Full code)
  111. Framework explanation
  112. List ,set, Map explanation
  113. static keyword explanation
  114. Diff between string, buffer n builder
  115. how to overcome diamond prob
  116. Abstract class explanation
  117. Implicit wait n Explicit wait explanation n difference
  118. Windowhandling
  119. agile ceremonies
  120. how change integer to char
  121. method overloading n over riding
  122. Select the method which clears all selected entries in selenium web driver
  123. Where can u create ur own selenium commands
  124. Which command is is used for typing in a text box.
  125. Select command which is used to pause execution until the specified element becomes present
  126. Scope of implicit wait
  127. Command which is used to pause execution until page is loaded completely.
  128. Select the view which shows your script in HTML format
  129. Features available in IDE to debug an automated case.
  130. In which approach tests can be executed with multiple sets of test data.
  131. What can be used to flex/flash application using selenium.
  132. How many parameters does the selenium object takes when using default selenium.
  133. Difference between web driver close and quit methods.
  134. what is the method to disable cookies
  135. what does submit method does?
  136. Where does variable of tc's stored in Java
  137. verifytextpresent method patterns
  138. assert & verify difference
  139. What r the different modes of Se(Option Firefox,IE,Chrome)
  140. Where selectbyvisibletext is used
  141. How to get text from a page?
  142. What is the method to store the alert?
  143. Why relative x path is advantage then relative x path
  144. method for context click
  145. Find the Xpath for given HTML code
  146. how to count the number of elements
  147. Difference between breakpoint n start point
  148. How to navigate forward in browser
  149. Asserttitle returns what
  150. syntax for selectbyindex

Back to Company Wise Interview Questions