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
Explain the different kinds of frameworks in automation?
What are the types of waits available in selenium webdriver?
What is the alternative to driver.get() method to open an url using selenium webdriver?
What is the difference between verify and assert commands?
What is the selenium ide and what is it used for?
What methods of robot class do you know?
How to read a javascript variable in selenium webdriver?
Explain what is the main difference between web-driver and rc?
How to verify tooltip text using selenium?
What programming languages can you use in selenium rc?
How to connect a database in selenium?
What is selenium-rc (remote control) ?
What is the super interface of webdriver?
Tell me in which format does source view show the script in selenium ide?
What are the advantages of selenium as a test tool?