In object browser sometime names displays "WindowsForms10...." than Name and then test fails
- 8 years ago
Use NameMappingRefresh before performing an action on the object, it may resolve your issue example as given below
NameMapping.Sys.Refresh()
NameMapping.Sys.RefreshMappingInfo()
aqUtils.Delay(500)object,Click()
//or any other operation
small delay is required (or observed) to make it work smooth.
Also try the below settings
Options->Engines->Name Mapping->Update Name Mapping during test run
Make that check box enable (Checked)
Hope it may resolve your problem
- 8 years ago
I have added this code. this problem happens occasionally . i did n't this problem again. so i am not sure. Because earlier i used to refresh object browser manually it did not solve problem. so let me check it for a while to see it happens or not.
I really appreciate the response. Thanks.
Devaki