Highlighted
Divya15 Contributor.
Contributor.
39 views

com.hp.lft.sdk.ReplayObjectNotFoundException (v14.01.2556.0)

com.hp.lft.sdk.ReplayObjectNotFoundException: Cannot identify the object "WinForms Window".
Verify that this object's properties match an object currently displayed in your application.
at com.hp.lft.sdk.internal.ReplayExceptionFactory$1.create(ReplayExceptionFactory.java:34)
at com.hp.lft.sdk.internal.ReplayExceptionFactory.createOrDefault(ReplayExceptionFactory.java:197)
at com.hp.lft.sdk.internal.ReplayExceptionFactory.createOrDefault(ReplayExceptionFactory.java:21)
at com.hp.lft.sdk.internal.TestObjectExecuterBehaviorBase$ReplayErrorHandler.onError(TestObjectExecuterBehaviorBase.java:65)
at com.hp.lft.sdk.internal.CommunicationClientImpl.handleError(CommunicationClientImpl.java:221)
at com.hp.lft.sdk.internal.CommunicationClientImpl.send(CommunicationClientImpl.java:96)
at com.hp.lft.sdk.internal.TestObjectExecuterBehavior.executeMethod(TestObjectExecuter.java:33)
at com.hp.lft.sdk.internal.TestObjectBase.executeMethod(TestObjectBase.java:119)
at com.hp.lft.sdk.internal.winforms.WinFormsWindow.access$1200(WinFormsWindow.java:13)
at com.hp.lft.sdk.internal.winforms.WinFormsWindow$13.invoke(WinFormsWindow.java:166)
at com.hp.lft.sdk.internal.TestObjectOperationWrapper.executeWithEvents(TestObjectOperationWrapper.java:81)
at com.hp.lft.sdk.internal.TestObjectOperationWrapper.executeWithEvents(TestObjectOperationWrapper.java:102)
at com.hp.lft.sdk.internal.winforms.WinFormsWindow.activate(WinFormsWindow.java:169)

 

The Object repository is very unstable.. Some times it identifies the objects some times it doesn't. Request your help

0 Likes
1 Reply
Micro Focus Expert
Micro Focus Expert

Re: com.hp.lft.sdk.ReplayObjectNotFoundException (v14.01.2556.0)

Hi,

 

Your post is lacking a lot of information.

From the call stack I guess you are trying to activate a WinForms window object, What are the identification properties you have used to describe this test object in the AppModel?

Could you spy on it and see what are the recommended properties?

Could you try to identify a difference in the state of your system in cases where LeanFT successfully identifies the window as opposed to when it fails?

 

Regards,

Anton

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.