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 programming language is best for writing selenium tests?
How will you handle working with multiple windows in selenium?
What programing language is most useful for creating selenium evaluations?
How do perform drag and drop using webdriver?
Give ide's main parts and components?
How can we check if an element is enabled for interaction on a web page?
What are the prerequisites to run selenium webdriver?
How to submit a form using selenium webdriver?
What is page factory?
How to check which option in the dropdown is selected?
What are desiredcapabilities in selenium webdriver?
What is the firefoxdriver, class or an interface? And which interface does it implement?
What are the different types of locators in Selenium?
What is selenium rc?
Tell us how can you run selenium server other than the default port 4444?