Forum Discussion
I think you're probably on to something there. I know we have "Map object names automatically" enabled in the project but I don't think we're wild-carding the mapping of the browser.
I can see that in the properties for the Browser object it shows "chrome" in various places.... This looks a a bit odd..
How would you recommend to implement wildcards in this instance?
This should help
https://support.smartbear.com/screencasts/testcomplete/wildcard-dynamic-property-in-testcomplete/
- JennyH117 years agoFrequent Contributor
Thanks Marsha!
Just to check is this how to resolve the issue I'm having?
I'm finding that the parent name changes between test runs.... from, .browser to .chrome for example...
The link you've provided details wild-carding the actual object name?
- Marsha_R7 years agoChampion Level 3
As cunderw said above, you want to wildcard the browser object. This way it will map to any browser that matches the pattern you give it.
- JennyH117 years agoFrequent Contributor
Hi Marsha,
Thanks for your reply.
I've thought about this and watched the video a few times. I'm sorry, but I'm not quite sure how doing this helps my issue.
I'm not having issues with dynamic object property values. The object identification is failing at it's earliest point in the search.... at "browser" or "chrome" etc (whatever the browser may be). How does adding a wildcard to a dynamic property value mean that it will find "browser" (several objects above the sought for object in the object path)?
Also, what happens in the case where the objects do not have dynamic property values? I suppose adding a wildcard might not hurt but it must have some effect?
I do think I understand the advice being given - thank you for this - but I am struggling to see how it helps find the browser object.
Thanks,
Jenny
Related Content
Recent Discussions
- 14 hours agodhundley