When I point the Spy Tool to my window i get :
"/form[@title~'^Sophis\ VALUE\ 3\.3\.5\ -\ \[ROO']"
But when i look at the documentation for RxPath regular expression, nothing is mentioned about "\" and "'" characters, what do they do?
Cheers
RxPath Regular Expression
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Special characters in regular expressions need to be escaped (white spaces don't necessarily need to be escaped, but the Regex.Escape method does it anyway), see the RanoreXPath docu for a list of special characters:
http://www.ranorex.com/support/user-gui ... html#c1791
The ' (tick) character just marks the start and end of the attribute value string.
Regards,
Alex
Ranorex Support Team
http://www.ranorex.com/support/user-gui ... html#c1791
The ' (tick) character just marks the start and end of the attribute value string.
Regards,
Alex
Ranorex Support Team
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
We use the regular expressions provided by the .NET Framework, in particular the Regex class.
Form titles are by default truncated to regular expressions if their length exceeds RxPath.MaxMatchTextLen. One can change this behavior only in code, e.g. by setting this property to int.MaxValue or by setting TruncationLength property of the corresponding AttributeDescriptor.
We plan to make the configuration of this behavior easier in a future version by providing a visual editor.
Regards,
Alex
Ranorex Support Team
Form titles are by default truncated to regular expressions if their length exceeds RxPath.MaxMatchTextLen. One can change this behavior only in code, e.g. by setting this property to int.MaxValue or by setting TruncationLength property of the corresponding AttributeDescriptor.
We plan to make the configuration of this behavior easier in a future version by providing a visual editor.
Regards,
Alex
Ranorex Support Team