Hello AX World,
Ran the test; it failed; looked up the failed message and there was the answer.
So the options are: Equals, StartsWith and Contains.
Once I've changed to StartsWith the test has passed.
Let me know if there are other ways to test the messages. E.g. having placeholders or using regex etc.
Be aware and take care!
I have started using RSAT recently. Yay! About time! :)
Once you setup everything and load the test cases you can generate the parameter files for your tests.
Once you setup everything and load the test cases you can generate the parameter files for your tests.
In the parameter file, there is a tab called MessageValidation.
There is a column called Operator. But the only example is Equals.
What are the other options? I did not find a documentation of those.
Equals test only if the message is exactly like you specify.
So if you were to test the message bellow, you cannot do that.
There is a fixed part and a variable part. How do I test if the message starts with something fixed?
This is how I found out the options.
I changed Equals to something I would expect as an option.
There is a column called Operator. But the only example is Equals.
What are the other options? I did not find a documentation of those.
Equals test only if the message is exactly like you specify.
So if you were to test the message bellow, you cannot do that.
There is a fixed part and a variable part. How do I test if the message starts with something fixed?
This is how I found out the options.
I changed Equals to something I would expect as an option.
Ran the test; it failed; looked up the failed message and there was the answer.
So the options are: Equals, StartsWith and Contains.
Once I've changed to StartsWith the test has passed.
Let me know if there are other ways to test the messages. E.g. having placeholders or using regex etc.
Be aware and take care!
*This post is locked for comments