Unable to validate an ampersand("&") in Rx

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
rhondat77
Posts: 2
Joined: Mon Jul 13, 2020 4:41 pm

Unable to validate an ampersand("&") in Rx

Post by rhondat77 » Wed Dec 16, 2020 2:53 pm

I am attempting to Validate a string of text in my application. The first character in the string is an ampersand - "&MSGDSN(start position, count[line])". However, when I run the test, it fails and states: The item does not match the specified value (Failed to find item ...). How do I specify an ampersand(&) in the registry and Match Value field of the script in order for Rx to recognize it??





Thanks,

User avatar
Stub
Posts: 410
Joined: Fri Jul 15, 2016 1:35 pm

Re: Unable to validate an ampersand("&") in Rx

Post by Stub » Mon Jan 04, 2021 10:15 am

What do you see inside Rx Spy for this field? How is your RxPath to this field setup?

rhondat77
Posts: 2
Joined: Mon Jul 13, 2020 4:41 pm

Re: Unable to validate an ampersand("&") in Rx

Post by rhondat77 » Mon Jan 04, 2021 3:14 pm

My Spy path contains: /form[@title='']//menuitem[@accessiblename='&MSGDSN(start position, count[line])']