Forum Discussion
Ok, I have an idea, but can you show me the Object Spy again, but this time with the Advanced view?
Advanced view for the 69.30 box:
Okay, I think it would be good to change the name mapping for that button to use a wildcard that would match no matter what the amount is
https://support.smartbear.com/testcomplete/docs/reference/misc/using-wildcards.html#InNameMapping
Then what you can do is use a substring of the contentText field (in the Advanced screen) to look for the amount, whether it's before or after the calculation.
https://support.smartbear.com/testcomplete/docs/reference/program-objects/aqstring/substring.html
Let me know if that works for you.
- mbarbworldtrips4 years agoContributor
Sounds reasonable. Not exactly sure how to get the wildcards in there at this point. I'll need to work with the Dev Team to get the name mapping changed on the button. The Dev I need is off today.
- mbarbworldtrips4 years agoContributor
Unable to get help from developer at this time. I went back to simplicity and began inserting delays in different places. It is now working.