Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What are the testing types that can be supported by selenium?

1015


How to assert the title of the web page?

857


What do we mean selenium selenium 1 and 2?

922


How many types of waits in selenium?

986


How to clear the text in the text box using selenium webdriver?

978


How to run a group of test cases using testng?

998


Explain selenium waitfor commands ?

1077


How to change the url on a webpage using selenium web driver?

920


Explain how you can insert a start point in selenium ide?

898


Write a code snippet to navigate back and forward in browser history?

996


Tell me how you can find broken images in a page using selenium web driver?

853


where do u maintain all your test cases in manual not in selenium

1294


How can we deal with pop-up windows based on?

948


What are the types of webdriver apis available in selenium?

1563


What is the super interface of webdriver?

1067