Add cmpContains to the If...Then operation
Quite often I need to run an If...Then check on a small portion of the outerHTML property of an object and there is no convenient way to do so. Right now I have to match the entire string of the property, which is cumbersome and prone to requiring regular maintenance, or using a combination of the Compare Properties and an If..Then using the Last Operation Result Mode, which isn't intuitive and looks messy.
Have you tried using aqString methods?
I have not, but looking at the documentation it would certainly be a good solution if I was using a Script Test. Unfortunately if you were to try to use it in a Keyword Test it doesn't seem like it would be much different than using the Compare Properties operation, unless I'm missing something obvious.
In a keyword test you would use Set Variable Value to get your partial string, then use that variable in your If.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.