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 is desired capabilities?

1036


What is Dynamic xpath in selenium ?

1067


Mention different exceptions you had in selenium web driver?

921


Do you know how to debug the tests in selenium ide?

909


When should I use selenium grid?

1059


When do we use findelement() and findelements()?

1019


Does the selenium ide have any drawbacks?

1232


What is a hybrid framework?

1033


Write a code snippet to launch chrome browser in webdriver.

977


Explain what is assertion in selenium and what are the types of assertion?

1021


Tell us what kind of keyboard operations can be performed in selenium?

896


What are different forms of selenium?

1039


Tell us can captcha and bar code reader be automated by using selenium?

996


What are selenium 1 and selenium 2?

1006


What could be the cause of selenium webdriver test to fail?

946