validate.Atribute returned failure
Posted: Wed Jan 09, 2013 6:00 am
Ranorex 4.0-
validate.Attribute returned failure message on log using following code, trying to validate list item selected from the dropdownlist
thank you
validate.Attribute returned failure message on log using following code, trying to validate list item selected from the dropdownlist
Code: Select all
WebDocument webDocument = "/dom[@page='xxx and @caption='yy']";
///select status
SelectTag findStatus = webDocument.FindSingle(".//select[@id='v_STATUS']",20000);
findStatus.Click(Location.CenterRight);
ListItem item = "/container[@caption='selectbox']/listitem[@text='"+_status+"']";
item.Click();
Validate.Attribute(item, "text", _status,"Select Status: " +_status);