Selenium вопросы и ответы для интервью
Вопрос 21. What are the WebDriver supported Mobile Testing Drivers?
WebDriver supported "mobile testing drivers" are:
- AndroidDriver
- IphoneDriver
- OperaMobileDriver
Вопрос 22. What are the popular programming languages supported by Selenium WebDriver to write Test Cases?
Selenium WebDriver supports the below languages to write Test Cases.
- JAVA
- PHP
- Python
- C#
- Ruby
- Perl
Вопрос 23. What is the difference between type keys and type commands?
TypeKeys() will trigger JavaScript event in most of the cases whereas .type() won't.
Вопрос 24. What is the difference between "type" and "typeAndWait" command?
"type" command is used to type keyboard key values into the text box of software web application. It can also be used for selecting values of combo box whereas "typeAndWait" command is used when your typing is completed and software web page start reloading. This command will wait for software application page to reload. If there is no page reload event on typing, you have to use a simple "type" command.
Вопрос 25. What is the difference between findElement() and findElements()?
findElement(): It is used to find the first element within the current page using the given "locating mechanism". It returns a single WebElement.
findElements(): It uses the given "locating mechanism" to find all the elements within the current page. It returns a list of web elements.
Самое полезное по оценкам пользователей: