Difference between @findByMethod and @findelement?
Answer Posted / raam
@findby is a testng class,normally we use it in pageclass,
using this we can directly call the webelement
ex
:
----------------------
@findby(driver.findElement(By.xpath(!@#$%%))
WebElement name;
--------------------------
using name we can easily call the webelement
| Is This Answer Correct ? | 7 Yes | 4 No |
Post New Answer View All Answers
What is desired capabilities?
What is Dynamic xpath in selenium ?
Mention different exceptions you had in selenium web driver?
Do you know how to debug the tests in selenium ide?
When should I use selenium grid?
When do we use findelement() and findelements()?
Does the selenium ide have any drawbacks?
What is a hybrid framework?
Write a code snippet to launch chrome browser in webdriver.
Explain what is assertion in selenium and what are the types of assertion?
Tell us what kind of keyboard operations can be performed in selenium?
What are different forms of selenium?
Tell us can captcha and bar code reader be automated by using selenium?
What are selenium 1 and selenium 2?
What could be the cause of selenium webdriver test to fail?