cancel
Showing results for 
Search instead for 
Did you mean: 

How to close the Infragistics DockManager ContentPane

SOLVED
Highlighted
Contributor

How to close the Infragistics DockManager ContentPane

Hi All,

 

Can anyone suggest how to close Infragistics DockManager ContentPane directly from the test script? Is there any direct method to close the ContentPane?

 

TestComplete not recognizes the close button(X) in the ContentPane.

 

Thanks in advance.

 

Thanks,

Karthik K R

1 ACCEPTED SOLUTION

Accepted Solutions
Contributor

Re: How to close the Infragistics DockManager ContentPane

Hi,

 

I have tried to close the ContentPane, by right clicking on the title section, and selecting context menu Close.

 

On right clicking, it shows context menus as Auto Hide, Floating, Dockable and Close.

 

With that Close button, I was able to close the content pane.

 

Thanks,

Karthik K R

5 REPLIES 5
Community Hero

Re: How to close the Infragistics DockManager ContentPane

If you record a test and click on that close button, what object name comes up for that in the test?

Contributor

Re: How to close the Infragistics DockManager ContentPane

Hi,

 

While recording and performing click on that close button in the ContentPane, the following statement appears in the recorded script.

ContentPaneObject.Click(num, num);

where num are some random x-axis and y-axis values. This num will keep varying depends on the system screen resolution.

 

Thanks,

Karthik K R

Community Hero

Re: How to close the Infragistics DockManager ContentPane

An alternative: Is there a Keystroke combination (ESC, Ctrl-X, etc) that will close the pane? Rather than trying to use the mouse for it, see if you can simulate the close using a Keys command sent to the pane.  Functionally speaking, there shouldn't be any difference.


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
Extensions available
Contributor

Re: How to close the Infragistics DockManager ContentPane

Hi Robert,

 

There are no keystroke combinations to send the command direct to the contentpane. I tried all the possibilities, its not working out.

 

Thanks,

Karthik K R

Contributor

Re: How to close the Infragistics DockManager ContentPane

Hi,

 

I have tried to close the ContentPane, by right clicking on the title section, and selecting context menu Close.

 

On right clicking, it shows context menus as Auto Hide, Floating, Dockable and Close.

 

With that Close button, I was able to close the content pane.

 

Thanks,

Karthik K R

New Here?
Join us and watch the welcome video: