dave_cochrane
12 years agoOccasional Contributor
Object map refresh
Hi everybody,
I'm having a little trouble with testing a popup on a web-based system I'm testing. When recording the keyword test, the name and object maps were fine, but at playback, I'm getting an object does not exist message. If I manually refresh the object map, the popup I'm testing either reappears, or appears associated with a different parent object.
Is there a way I can refresh the object map at runtime? This may fix my issue. I've been trying sys.process("iexplore").refresh, with no luck.
Thanks!
I'm having a little trouble with testing a popup on a web-based system I'm testing. When recording the keyword test, the name and object maps were fine, but at playback, I'm getting an object does not exist message. If I manually refresh the object map, the popup I'm testing either reappears, or appears associated with a different parent object.
Is there a way I can refresh the object map at runtime? This may fix my issue. I've been trying sys.process("iexplore").refresh, with no luck.
Thanks!
Hi Dave,
Please have a look at "RefreshMappingInfo" function.
Also add delay before & after the namemapping file gets refreshed using "RefreshMappingInfo" function.
Correct NamemappingFile + Delay + RefreshMappingInfo should solve your issue.
I hope this has been of some help.