Page 1 of 1

FR: add user description field to Validate action

Posted: Mon Sep 19, 2011 6:13 pm
by slavikf
This is feature request.

As i developing test suite, i have a lot of validations.
In order to generate report, which can be easily read - i need to put meaningful description every time, when i do validation. Because Ranorex put its own description, which is not always easy to understand.

So, when i have "Validate" user action in my Recording - i cannot insert any description, which will go in to the report. I have to convert user action to user code, and here i can add string to Validate function, where i put my description, which will go to the report.

So, would you, please, give that opportunity to add / edit that string from Recording view?
-------------------
Below i highlight the part i am talking about:

public static bool Attribute(
Element element,
string name,
Object value,
string message,
bool exceptionOnFail
)

Parameters

element (Element)
The element to validate.

name (String)
The name of the attribute to validate.

value (Object)
The value of the attribute to match.

message (String)
The message to log. "{0}" is replaced by the string representation of the element, "{1}" by the attribute name, "{2}" by the string representation of the actual attribute value (or "(not retrieved)" if the attribute
could not be retrieved), and "{3}" by the string representation of the expected value.

Re: FR: add user description field to Validate action

Posted: Tue Sep 20, 2011 8:40 am
by Support Team
Hi slavik,
slavikf wrote: So, would you, please, give that opportunity to add / edit that string from Recording view?
I added a feature request to our internal bug tracking system. This overload will be available in a future release of Ranorex.

Regards,
Peter
Ranorex Team

Re: FR: add user description field to Validate action

Posted: Tue Jan 24, 2012 5:45 pm
by Support Team
We added a "Message" property for the Validation action that reflects the "message" argument of the individual methods of the Validate class. That property will be available with the next Ranorex minor/major release.

Regards,
Alex
Ranorex Team

Re: FR: add user description field to Validate action

Posted: Tue Jan 24, 2012 5:49 pm
by slavikf
Great news!
Thank you