Need some help with RxPath
Posted: Thu Dec 03, 2009 7:44 pm
I am trying to validate a browser URL.
Functionality is application should be redirected to 'www.xyz.com' URL which cannont contain certain charecters (ERROR, DROP).
As an example:
Browser URL test should read anything but 'ERROR' or 'DROP'
If it says
http://www.xyz.com/PROCESS.394739 (pass)
http://www.xyz.com/ERROR343949 (should fail)
http://www.xyz.com/483949DROP (should fail)
I tried to use the following RxPath: *[^(ERROR|DROP)]*
Didnt work.
May be there is some other way.
Please help.
Thanks in advance.
Functionality is application should be redirected to 'www.xyz.com' URL which cannont contain certain charecters (ERROR, DROP).
As an example:
Browser URL test should read anything but 'ERROR' or 'DROP'
If it says
http://www.xyz.com/PROCESS.394739 (pass)
http://www.xyz.com/ERROR343949 (should fail)
http://www.xyz.com/483949DROP (should fail)
I tried to use the following RxPath: *[^(ERROR|DROP)]*
Didnt work.
May be there is some other way.
Please help.
Thanks in advance.