Selector

New Test
New Test
verifyElementPresent id=txtUserName
verifyElementPresent name=userName
verifyElementPresent name=rbGender value=Male
verifyElementPresent link=Forgot Password?
verifyElementPresent css=input#txtName
verifyElementPresent css=input.textboxcss
verifyElementPresent css=textarea[name=taComment]
verifyElementPresent css=input.textboxcss[tabindex=1]
verifyElementPresent css=#selCity option[value=1]
verifyElementPresent css=span:contains("pic")
verifyElementPresent css=#myRegistractionForm input:nth-child(2)
verifyElementPresent document.forms["myFirstForm"].elements["txtUserName"]
verifyElementPresent document.getElementById("txtUserName")
verifyElementPresent document.getElementsByName("rbGender")[0]
verifyElementPresent document.forms[0].elements[0] verifyElementPresent
verifyElementPresent identifier=txtUserName
verifyElementPresent identifier=userName

Comments