Forum Discussion

mugheessiddiqui's avatar
mugheessiddiqui
Contributor
5 years ago

Unable to get access on Infragistics.Win.UltraMessageBox.MessageBoxDialog buttons.

Unable to get access on Infragistics.Win.UltraMessageBox.MessageBoxDialog buttons.

 

I'm facing a problem to recognize the buttons of Infragistics.Win.UltraMessageBox.MessageBoxDialog. I have attached the image of message box and its ClrFullClassName.

 

How may I Click on OK button or any other button options of similar dialog.

 

 

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    Is your problem specifically with identifying the object?  Or is it more about making sure you click the OK button or the Yes button, etc, where the buttons may have different labels?

     

    If the latter, that is a matter of making sure that you identify the object more precisely.  If there is more than one object on the form with the same ClrFullClassName, you need to add another property to your identification to distinguish one from the other.  Caption or Label or something like that might be what you need to use.  Edit the NameMapping of the object and add an additional property.

    • mugheessiddiqui's avatar
      mugheessiddiqui
      Contributor

      I'm using TestComplete 12.6 version

       

      My problem is Test Complete does not recognizing the button of Infragistics.Win.UltraMessageBox.MessageBoxDialog. It also does not provide method to click on specific button.  I have attached two more images of Infragistics.Win.UltraMessageBox where you can see its properties and Methods.

       

      I have using MessageBoxControl.Keys("[Enter]") to get rid of the message box which is the workarround but not the proper solution.

       

       

    • sonya_m's avatar
      sonya_m
      SmartBear Alumni (Retired)

      Hi mugheessiddiqui , please elaborate on your issue for the Commmunity to be able to help you better. Thank you.

      • Marsha_R's avatar
        Marsha_R
        Moderator

        What does not help?  You have to be specific in your descriptions for us to tell what's going on.