FR: add user description field to Validate action

Bug reports.
User avatar
slavikf
Posts: 104
Joined: Mon Sep 13, 2010 9:07 pm
Location: Toronto, Canada
Contact:

FR: add user description field to Validate action

Post by slavikf » Mon Sep 19, 2011 6:13 pm

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.

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: FR: add user description field to Validate action

Post by Support Team » Tue Sep 20, 2011 8:40 am

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
.
Image

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: FR: add user description field to Validate action

Post by Support Team » Tue Jan 24, 2012 5:45 pm

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
.
Image

User avatar
slavikf
Posts: 104
Joined: Mon Sep 13, 2010 9:07 pm
Location: Toronto, Canada
Contact:

Re: FR: add user description field to Validate action

Post by slavikf » Tue Jan 24, 2012 5:49 pm

Great news!
Thank you