CLICK HERE FOR COMPLETE QUESTION SET Selenium interview questions
TESTING WORLD
Call or WhatsApp: 8743913121
www.youritmentor.in
www.worldtesting.in
Video Ad : https://www.facebook.com/video.php?v=569070436559995&set=vb.100003711325602&type=2&theater¬if_t=like
Training in Selenium, QTP, LoadRunner, Jmeter, SoapUI, Mobile Automation, Manual Testing
View Courses @ www.youritmentor.in
Call or WhatsApp: 8743913121
www.youritmentor.in
www.worldtesting.in
Video Ad : https://www.facebook.com/video.php?v=569070436559995&set=vb.100003711325602&type=2&theater¬if_t=like
Training in Selenium, QTP, LoadRunner, Jmeter, SoapUI, Mobile Automation, Manual Testing
View Courses @ www.youritmentor.in
All Supported Element Locators in Selenium
Element Locator
|
Supported in RC
|
Supported in Webdriver
|
Id
|
id=
|
findElementById
|
Name
|
name=
|
findElementByName
|
Identifier
|
identifier=
|
fot Available
|
Link
|
link=
|
findElementByLinkText
findElementByPartialLinkText
|
CSS
|
css=
|
findElementByCssSelector
|
DOM
|
dom=
|
Not Available
|
XPATH
|
xpath=//
|
findElementByXpath
|
Class Name
|
class=
|
findElementByClassName
|
Tag Name
|
Not available
|
findElementByTagName
|
=================================================================
Annotations in Junit
@Test
@Test(timeout=500)
@Test(expected=IllegalArgumentException.class)
@Before (Will execute before every
@Test Annotation)
@After (Will execute after every @Test Annotation)
@BeforeClass (Will execute before
executing any other annotation, execute only once at the start)
@AfterClass (Will execute after
executing all other annotation, execute only once at the end)
@Ignore( used with @Test
annotation, will skip execution of particular test method)
@Parameterized (used for running my test case with
multiple data)
No comments:
Post a Comment