cancel
Showing results for 
Search instead for 
Did you mean: 

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

SOLVED
Contributor

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.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Manager

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

Hi @mugheessiddiqui,

 

I don't see the UltraMessageBox control in the list of the supported Infragistics controls:

https://support.smartbear.com/testcomplete/docs/general-info/supported-technologies/controls/infragi...

 

You can try using the Object Mapping options to make TestComplete treat this control as a supported one. This option is described in the Recognizing Custom Controls section of the above topic.

---------
Tanya Gorbunova
SmartBear Community Manager

 Join SmartBear Connect next April in Boston to meet with software development, API and testing experts from around the world! Get your ticket today!

View solution in original post

11 REPLIES 11
Highlighted
Community Hero

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

You can check the setup options mentioned in this article and make sure they've been implemented: 

https://support.smartbear.com/testcomplete/docs/general-info/supported-technologies/controls/infragi...

 

You can also try recording a test and clicking on that button and see what object information TestComplete gives you at that time.

 

 

Highlighted
Contributor

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

Sorry It does not help.

Highlighted
Community Hero

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

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

Highlighted
Community Hero

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

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.


Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
Highlighted
Community Manager

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

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



Sonya Mihaljova
Community and Education Specialist

 Join SmartBear Connect next April in Boston to meet with software development, API and testing experts from around the world! Get your ticket today!
Highlighted
Contributor

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

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.

 

 

Highlighted
Community Hero

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

1) "Enter" is certainly a proper solution.  Many people who don't use a mouse will use enter for clicking a button, it's perfectly good.  Spacebar works as well.

 

2) I asked you to try recording a test where you click on the button.  Please show us the code that is produced from that recording.  It may give us more details about your issue.

Highlighted
Contributor

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

Here is the recorded script

 

Aliases.App.MessageBoxDialog.MessageBoxControl.Click(104, 88);

 

you said Keys("[Enter]") is proper solution, I'm worried about a dialog if there would be Yes/No/Cancel option then how will I perform the action?

 

Highlighted
Community Hero

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

I don't know how your app is set up, but generally you can use Tab to move between buttons and Enter or Space to press the button.

 

Did you try updating your NameMapping as @tristaanogre suggested above?  What happened then?