Validating Size attribute
Posted: Mon Oct 15, 2012 11:59 am
Hi,
I am using ranorex to validate sizes of UI elements such as buttons etc. But
ValidateAnyAttributeValueOfAutomationElement(
string path,
string attrName,
object expectedValue,
string message = "",
bool exceptionOnFail = false)
is throwing an error when we pass the following "expected value" argument: new System.Drawing.Size(width, height)
Please let me know how i can validate sizes of UI elements.
Thanks in advance!
I am using ranorex to validate sizes of UI elements such as buttons etc. But
ValidateAnyAttributeValueOfAutomationElement(
string path,
string attrName,
object expectedValue,
string message = "",
bool exceptionOnFail = false)
is throwing an error when we pass the following "expected value" argument: new System.Drawing.Size(width, height)
Please let me know how i can validate sizes of UI elements.
Thanks in advance!