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 are the testing types that can be supported by selenium?
How to assert the title of the web page?
What do we mean selenium selenium 1 and 2?
How many types of waits in selenium?
How to clear the text in the text box using selenium webdriver?
How to run a group of test cases using testng?
Explain selenium waitfor commands ?
How to change the url on a webpage using selenium web driver?
Explain how you can insert a start point in selenium ide?
Write a code snippet to navigate back and forward in browser history?
Tell me how you can find broken images in a page using selenium web driver?
where do u maintain all your test cases in manual not in selenium
How can we deal with pop-up windows based on?
What are the types of webdriver apis available in selenium?
What is the super interface of webdriver?