Forum Discussion
jmcpeek
10 years agoContributor
I see, so it's not just that the page you're on has a recid, but each link has one as well.
Honestly, I'd probably use another property to map the links other than ObjectIdentifier. I'd use contenttext or something since I'd always be concerned that something in that long ObjectIdentifier might change with a new build/code changes. Unfortunately, that would still require editing every mapped object, just as you would have to do to wildcard out the recid.
Unfortunately, I'm not sure there's a better answer. When I'm interacting with a new page, I'll usually map everything up front with the properties I want to use, then create the test. But I script my tests, rather than use keyword tests.
Sorry I don't have any better ideas for you.
Honestly, I'd probably use another property to map the links other than ObjectIdentifier. I'd use contenttext or something since I'd always be concerned that something in that long ObjectIdentifier might change with a new build/code changes. Unfortunately, that would still require editing every mapped object, just as you would have to do to wildcard out the recid.
Unfortunately, I'm not sure there's a better answer. When I'm interacting with a new page, I'll usually map everything up front with the properties I want to use, then create the test. But I script my tests, rather than use keyword tests.
Sorry I don't have any better ideas for you.
Related Content
Recent Discussions
- 2 days agoMW_Didata