DMBrowser.IsElementPresented, méthode
Définition
Recherchez un élément avec les xpathes spécifiés. Accepte un nombre variable de xpathes.
public bool IsElementPresented(params string[] xpathes)
Paramètres
Chaîne xpathes[]Retourne
Bool
Exemples
Vérifie l’élément TextField avec les xpathes spécifiés.
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\"]"))