Forum Discussion

Azeddin_Margani's avatar
Azeddin_Margani
Contributor
9 years ago

Value Keeps Changing

Hi,

 

The valude highlighted below (.frmPassword_2) keeps changing everytime i run the script:

. How can i stopped from changing (daynamic to Static). I tried to use "?*" but not working.

 

aqObject.CheckProperty(Aliases.DiagramDisplay.frmPassword_2, "Caption", cmpEqual, "Enter Display Settings Password");

 

 

Thanks,

 A.M.

3 Replies

    • Azeddin_Margani's avatar
      Azeddin_Margani
      Contributor

      Hi,

       

      I did use the wildcard * but itstill  gives an error.

       

      I changed .frmPassword_2 to .frmPassword_*

       

      Ant other suggestion that i might be using the wrong syntax??.

       

      Thanks,

      A.M.

      • leandroaraujoso's avatar
        leandroaraujoso
        Contributor

        Hi Azeddin_Margani

         

        Please, double-click your NameMapping, find the mapping of your component ( frmPassword_2 ), select it on the NameMapping tree, and then in the right-side panel, edit the component.

         

        Best regards,

         

        Leandro de Araújo Souza