Forum Discussion

Oussama's avatar
Oussama
Occasional Contributor
10 years ago

Objects was not found after closing and opining the Desktop application

Hello,

 

I recorded a test Script  and i dont close the application (Windows Application), then I running it correctly when the application still opened. 

I closed the application and I re-open it then at this time my test did not run and i had the error message :

 

An error occurred while accessing the "Keys" method or property of the "Afx" object.
The object or one of its parent objects was not found.

Object Whose Method or Property Was Accessed

Alias:Aliases.SophisValue3.Item.Afx
Name mapping item:NameMapping.Sys.SophisValue3.Item.Afx

 

Thank you for your answer

 

1 Reply

  • Marsha_R's avatar
    Marsha_R
    Champion Level 3

    After you close the application and reopen it, use the Object Spy on the object.  Does that match the mapping in the error message?