Forum Discussion

IrisL's avatar
IrisL
Occasional Contributor
13 years ago

Error Object does not exist by new build number

Hi,



does anybody knows a trick, how to keep the records by using new builds?

I record the installation of a desktop product. But everytime I'm using a new build number (there are no changes in the installation routine), the error appears: Object does not exist. In the Object-Browser the Object is not to find and if I record again, in the Object Browser the build number is be enclosed in the name (See the attachment). Is there a possibility to adjust the name of the object, so I can run the tests for different build numbers, when there are no changes in the user interface?



Thanks!

Iris
  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor
    You need to edit the namemapping criteria for the object and replace the variable part of the parameters with a wildcard (*).


  • IrisL's avatar
    IrisL
    Occasional Contributor
    Dear Robert,



    thanks for the short-work. I'm to stupid to find the way to edit the namemapping criteria for the object. I just have the wndcaption (see the attachment). But if I change here anything, there appears by "highlight on screen": the underlaying object does not exist. Can you give me an explication, where I can replace the parameters with wildcards?



    Thanks a lot,

    Iris
  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor
    The WndCaption you showed in that screenshot is the wndCaption for the child object.  What you need to do is edit the NameMapping for the object identified as wndMsiDialogCloseClass.  The WndCaption there is what contains your build number (itwh FOG 7.0 Extension for ArcGIS 9.3 (build 0200) Setup)



    Change that WndCaption in your nameMapping to



    itwh FOG 7.0 Extension for ArcGIS 9.3 (build *) Setup



    To find out how to edit NameMapping criteria, read the article at http://support.smartbear.com/viewarticle/12451/ and the related articles on manipulating information within NameMapping.
  • IrisL's avatar
    IrisL
    Occasional Contributor
    Thank you! Great, that was the solution!