I have requirment to map multiple values for single property i.e. say "WPFText" with multiple values say Visa,MAsterCard and American Express.
Can we use pipeline symbol to pass values like "Visa|MasterCard|American Express" which are possible values for object identification
Solved! Go to Solution.
you need to have the object/element you are referring to on screen, then you can right click -edit that object in name mapping - in the bottom left of the new pop up window, you will see conditional mode,
where you can add in boolean operators like OR to say WPFtext = Visa OR WPFtext = Mastercard etc etc.
details in the link below :
I would use this with the Or option for each of your values
https://support.smartbear.com/testcomplete/docs/keyword-testing/reference/statements/if-then.html
If you are working in scripts instead of keyword tests, you can build a little keyword test with this and then use Convert to Script to get your actual code.
you need to have the object/element you are referring to on screen, then you can right click -edit that object in name mapping - in the bottom left of the new pop up window, you will see conditional mode,
where you can add in boolean operators like OR to say WPFtext = Visa OR WPFtext = Mastercard etc etc.
details in the link below :
Subject | Author | Latest Post |
---|---|---|