DMBrowser.IsElementPresented Method
Definition
Check for an element with the specified xpathes. Accepts a variable number of xpathes.
public bool IsElementPresented(params string[] xpathes)
Parameters
xpathes string[]Returns
Bool
Examples
Checks for the TextField element with the specified xpathes.
tab0.IsElementPresented(("//INPUT[@ID=\"4\"]", "//LABEL[normalize-space()=\"Phone number *\"]/../../preceding-sibling::DIV[2]//INPUT[@TYPE=\"text\"]", "//LABEL[normalize-space()=\"Email address *\"]/../../preceding-sibling::DIV[3]//INPUT[@TYPE=\"text\"]"))