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

Can captcha and bar code reader be automated by using selenium?

935


what will be the first salary and what will be the hike in the salary?

848


How to create and run testng.xml?

1035


Explain dataproviders in testng ?

943


How to connect a database in selenium?

1047


Can WebDriver test mobile applications?

1059


Using selenium how can you handle network latency?

1065


How do you click on a menu item in a drop down menu?

917


Can you explain the framework which you have used in your selenium project?

886


What is desired capabilities?

976


What is the wait?

968


What kinds of test types are supported by selenium?

830


Why to use testng with selenium rc?

966


How to check which option in the dropdown is selected?

1006


Tell me what is a hub in selenium grid?

936