FR: add user description field to Validate action
Posted: 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.
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.