I can't validate the attribute on button control using following code--also tried w/different xptah, snapshot sent via email
public void ValidatePage()
{
WebDocument webDoc = "dom[@page='x.cfm']";
ButtonTag saveD =webDoc.FindSingle(".//button[@id='MmCommandButton' and @InnerText='SAVE VIEW']",10000);
Validate.Attribute(saveD , "InnerText", "SAVE VIEW","Page Visible");
}
Button attribute
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Button attribute
Hi,
can you please provide us the exact error message you get when trying to validate this attribute?
Regards,
Tobias
Ranorex Support
can you please provide us the exact error message you get when trying to validate this attribute?
Regards,
Tobias
Ranorex Support