Selenium Webdriver Questions 

Selenium Interview Questions and ...

Selenium Webdriver Questions from fresher and experience

 

 

  1. What is default package of selenium? 2. Maximizing Browser Window? 3. What are the prerequisites to run selenium webdriver? 4. What are the flavors of selenium ? 5. Diff b/w Verify and Assert ? 6. How to Verify Element is visible or not? 7. Verify Single checkbox is selected or Not ? 8. Verify Multiple checkboxes are selected or Not ? 9. How to handle Popup window ? 10. How to perform double click in selenium? 11. How to select dropdown value inside a frame? 12. How to get all the frames on webpage ? 13. How Switch back to Main page from Frame ? 14. Suppose I have two submit buttons with same names on Webpage, here how can u click on 1st submit button. 15. How to scroll webpage to particular WebElement ? 16. How to read and verify Font Properties? 17. Diff b/w cssSelector and xpath ? 18. How to verify particular text in a webpage ? 19. Diff b/w driver.getwindowhandle() and driver.getwindowhandles()? 20. Which Programming Languages Supported By Selenium WebDriver To Write Test Cases? 21. Which Different Element Locators Supported By Selenium WebDriver? 22. What Is XPath and what Is use of It In WebDriver? 23. Which tool you are using to find the XPath of any element? 24. Can you tell me a difference between driver.get() and driver.navigate() methods? 25. Which Programming Languages Supported By Selenium WebDriver To Write Test Cases? 26. What Is XPath and what Is use of It In WebDriver? 27. How to handle Web Based Popups? 28. How to handle single Popup window ? 29. Can we automate desktop software application's testing using selenium WebDriver? 30. Can we perform drag and drop operation In Selenium WebDriver? 31. How to verify successful message in a webpage ? 32. How do you identify the Xpath of element on your browser ? 33. What is the difference between absolute XPath and relative XPath? 34. How to Create customized xpath in selenium ? 35. How To Handle Dynamic Changing IDs In XPath. ? Example : Xpath= //div[@id='post-body-3647323225296998740']/div[1]/form[1]/input[1] In this XPath "3647323225296998740" Is changing every time when reloading the page. How to handle this situation? 36. Tell me a reason behind bellow given WebDriver exception and how will you resolve It? "Exception in thread "main" org.openqa.selenium.NoSuchElementException: Unable to locate element" 37. Can you tell me a syntax to close current webdriver Instance and to close all opened webdriver Instances? 38. What Is the syntax to get value from text box and store It In variable. ? 39. How to capture screenshot when test case failure In selenium webdriver ? 40. Tell me any 5 webdriver common exceptions which you faced during software test case execution. ? 41. What is Difference between getAttribute() and getText()? 42. To verify whether the particular text is present or not on the page ? 43. Why need Ant-XSLT-Reports in selenium WebDriver. ? 44. What is a framework and Advantages of framework. ? 45. How to Login with Excel ?Write selenium Code. ? 46. How to verify dropdown values using Excel in selenium WebDriver. Write selenium Code. ? 47. How to run Multiple test cases from Testng.xml file. Write selenium Code. ? 48. For ex I have 3 columns from webTable .How to print the 2 column data from webtable. ? 49. Difference between selenium and qtp ? 50. Tell me about the brief introduction of selenium ? 51. Does selenium support mobile application testing ? 52. Can client server application can be automate through the selenium ? 53. which type of testing we are doing by using selenium ? 54. what are the limitations of selenium ide or selenium webdriver ? 55. How to identify webelement in selenium ? 56. when we will go for xpath in selenium ? 57. I want to run my application into firefox browser. How you handle it ? 58. what is the difference between id and name in selenium ? 59. How to handle dynamic objects in selenium ? 60. what are the locators available in selenium ? 61. what is the default timeout for selenium ? 62. When do we use implicit and explicit in selenium ? 63. How to handle ajax application in selenium webdriver ? 64. How to handle multiple Popup windows in selenium webdriver ? 65. Difference between findelement() and findelements() in selenium ? 66. How to handle the Expected alerts in webdriver ? 67. How to handle the UnExpected alerts in webdriver ? 68. My web page contain calendar, how to write script for calendar date selection ? 69. My checkbox would be in checked position, how can you say checkbox would be in check position ? 70. My login page contain captcha explain how to write script ? 71. How to run eclipse script from cmd prompt by Ant ? 72. How to execute same script in different browsers ? 73. what is isdisplayed in selenium ? 74. what is difference between iselementpresent and isdisplayed ? 75. Can you test flash images in selenium ? 76. How do you verify an object presented in multiple pages in selenium ? 77. How to select the dropdown values in selenium ? 78. Does selenium support https protocols ? 79. How to get the third column data from Table ? 80. Per day how many scripts your writing and executing ? 81. Tell me difficulty's in your project faced by you ? 82. which driver implementation will allow headless mode ? 83. How to perform drag and drop operation in selenium webdriver ? 84. How many frameworks are there .which to use.how will you deside that ? 85. what is page object model in selenium ? 86. what framework your using can you explain the framework ? 87. what are the challenges did you faced while automating the application ? 88. Explain your Roles and Responsibilities in your project ? 89. How to connect selenium to database ? 90. which tool did you use for reporting ? 91. why did you choose selenium in your project where we are having so many tesing tools ? 92. what is difference between javascript and javaprogram ? 93. Why should we go for javascript in selenium ? 94. What is the alternate way to send text into textbox of webpage with out using sendKeys() method ? 95. If any button is hidden/disabled then how to click on button using selenium ? 96. send one empty mail from your official mail id ? 97. How to login into any site if its showing any authentication popup for user name and pass ? 98. How do you launch IE/chrome browser? 99. How to perform right click using WebDriver? 100. How do you simulate browser back , forward and refresh? 101. What is the difference between ‘/’ and ‘//’ ? 102. How do you handle https website in selenium 103. What is the use of AutoIt tool ? 104. How to count the number of checkboxes checked in selenium webdriver ? or How to select multiple check box and verify ? TestNg : ----------- 105. What is TestNg ?What is the use.? 106. What is Annotation ? How many Annotations are there in TestNg ? 107. what are the different assertions or check points used in your script? 108. Can we run group of test cases using TestNG ? 109. I have 50 testcases Here i want to execute only 3 test cases without using testng groups? 110. How to run only failure test cases in testNg ? 111. What is the difference between before method and before class ? 112. What is Data provider ? 113. What is return type of Data provider ? 114. Difference between junit and TestNg ? 115. How to handle ajax application in selenium webdriver ? 116. How to capture the bitmaps in selenium ?How to capture screenshot in selenium webdriver ? 117. How to read the methods/functions from xml/xls files ? 118. What is the difference between include and exclude in selenium ? 119. How to execute single selected method in testng ? 120. what is the difference between packages and classes in Testng? 121. what is the difference between verify and assert command ? 122. what we go for Assertions ?What is Assertions? 123. Tell me login page script in testng? 124. what is difference between @parameters and @data provider in testng ? 125. Is it possible to write to multiple test cases in single class ? 126. Which problems are faced in Testng ? 127. How to create test suites in testng ? 128. what is the library file of testng ? 129. How to read and write the data from Excel file using apache poi. 130. What Is TestNG And use of testNg? 131. What Is the usage of testng.xml file? 132. What is the command used inside the .bat file to run the testng.xml fille ? 133. What is the command line we have to write inside a .bat file to execute a selenium project when we are using testng ? 134. TestNg i have some tests line @test1 @test2 @test3 @test4 @test5 I want to run my execution order is @test5 @test2 @test1 @test4 @test3

Kosmik is the best Selenium training institute Hyderabad,KPHB. We are providing Selenium Training in hyderabad & lab facilities with complete real-time Selenium trainingPower bi Training in Kukatpally is based on complete advance concepts. So that you can get easily "hands-on experience". We will give 100% job assistance.Selenium Training in kphb, Selenium Training in Kukatpally,Selenium Training in Telangana, Selenium training institutes in hyderabadSelenium course in hyderabad.