1 / 17

Top 15 Most Important Interview Question of Python selenium.

Top 15 Most Important Interview Question and Answer of Python selenium.<br>It will be very helpful for you to get knowledge and help to get job in MNC. <br> If You want to learn Python selenium course then you can join our online as well as offline classes from industry expert trainers. For More info, call Us: 70-70-90-50-90

Download Presentation

Top 15 Most Important Interview Question of Python selenium.

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. INTERVIEW QUESTIONS OF PYTHON SELENIUM 070709 05090 070709 05090 https://tutorials.ducatindia.com https://tutorials.ducatindia.com

  2. #01 WHAT IS SELENIUM AND WHAT IS COMPOSED OF? Ans:- Selenium is a suite of automated web testing resources. SELENIUM IDE: It is a recording and replay method. It is a Plugin for Firefox WEBDRIVER AND RC: It offers APIs for a number of languages, such as Java, .NET, PHP, etc. The Webdriver and RC browsers work for most of them.

  3. #02 WHY MY PIP IS NOT WORKING PYTHON SETUP IS NOT INSTALLED PROPERLY? WHEN MY Ans:- Executable path is not set correctly. https://tutorials.ducatindia.com

  4. #03 HOW CAN WE OPEN DIFFERENT BROWSER USING PYTHON? Ans:- For Firefox browser driver=webdriver.Firefox(“Path of Firefox Driver”) for IE browser driver=webdriver.Ie(“Path of IE Driver”) For Chrome browser driver=Webdriver.Chrome(“Path of Chromedriver”) https://tutorials.ducatindia.com

  5. #04 WHAT ARE THE DIFFERENT TYPES OF ANNOTATIONS WHICH ARE USED IN SELENIUM? Ans:- Following are the annotations are used in selenium: Test BeforeClass After Ignore Before AfterClass RunWith https://tutorials.ducatindia.com

  6. #05 WHAT IS THE COMMANDS FOR DOWNLOADING SELENIUM? Ans:- pip install –U selenium sudo pip install python https://tutorials.ducatindia.com

  7. #06 WHAT ARE THE DIFFERENT LOCATORS USED? Ans:- Class name Id Tag name Name Partial link text CSS Selector XPath link text

  8. #07 WHAT IS A LOCATOR? Ans:- It is a web page element that the python script can communicate with via the selenium driver. https://tutorials.ducatindia.com

  9. #08 WHAT IS A WEBDRIVER? Ans:- Selenium provides a tool for interacting with various browsers on the web. And they control the script’s operation. https://tutorials.ducatindia.com

  10. #09 HOW TO FIND ELEMENT BY HYPERLINK? Ans:- Find_element_by_link_text(“te xt of that hyperlink”).click() https://tutorials.ducatindia.com

  11. #10 WHAT IS PASS IN PYTHON. Ans:- Pass means that there is no operation to do. https://tutorials.ducatindia.com

  12. #11 CAN WE USE SELENIUM WHEN THE WEBPAGE AND RESOURCE LOCATER ELEMENTS ARE CHANGING FREQUENTLY? Ans:- Never https://tutorials.ducatindia.com

  13. #12 WHAT ARE THE DIFFERENT NAVIGATION OPRATIONS IN SELENIUM? Ans:- used to refresh driver.refresh() used to navigate back driver.back() used to move forward driver.forward() https://tutorials.ducatindia.com

  14. #13 WHAT IS THE WEBDRIVER USED TO RUN SELENIUM SCRIPT ON CHROME BROWSER? Ans:- chrome driver https://tutorials.ducatindia.com

  15. #14 WHAT IS THE USE OF AUTOMATION TESTING? Ans:- This will reduce manpower and thus reduce the amount of time we spend on manual inspection at all times. https://tutorials.ducatindia.com

  16. #15 WHAT IS USED TO CREATE UNICODE STRINGS IN PYTHON LANGUAGE? Ans:- Add u before the string u ‘mystring’ https://tutorials.ducatindia.com

  17. Thank you! 070709 05090 070709 05090 https://tutorials.ducatindia.com https://tutorials.ducatindia.com

More Related