Professional Documents
Culture Documents
1. How can you notice an element using
Selenium?
In Selenium each object or management in a website
is referred as elements, there are completely different
ways in which to search out part in a very website
they're
1.ID
5.Attribute
2.Name 6. Linktext
3.Tag 7. PartialLink Text
4.CSS 8. Xpath etc
For Free Demo Ph:+1 (646) 880-9474
For Details : Folkstrain.com
2. What is the difference between sort keys and
sort commands?
Typekeys() will trigger JavaScript event in most of the cases
whereas .type () wont. Type key populates the price attribute
mistreatment JavaScript whereas .typekeys() emulates like
actual user typing.
centralized locations instead of scattered everywhere
the test scripts.
it allows for running tests in parallel.
WebDriverException
NoAlertPresentException
NoSuchWindowException
NoSuchElementException
TimeoutException
For Free Demo Ph:+1 (646) 880-9474
For Details : Folkstrain.com
8. List out different varieties of locators?
By.id()
By.name()
By.tagName()
By.className()
By.linkText()
By.partialLinkText()
By.xpath
By.cssSelector()
At the given break point execution will be paused
To continues with the next step click on the Blue button
To run commands at a time click on run button.