I have an application developed in C Sharp, which is executed in QTP but i get the following error:
Cannot identify the object "2" (of class WinObject). Verify that this object's properties match an object curr开发者_C百科ently displayed in your application.
Can anyone help me resolve it?
If the application is developed in C# make sure you have the .NET addin loaded, then the object should be SwfObject
rather than WinObject
.
In any case use the object spy to point at the control you think should match the test object in the test and see how its properties differ (you can also use the update from application button from the object repository).
精彩评论