Ask a Question

How to close the Infragistics DockManager ContentPane

SOLVED
krkarthik_info
Frequent 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
krkarthik_info
Frequent 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

View solution in original post

5 REPLIES 5
Marsha_R
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?

Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
krkarthik_info
Frequent 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

tristaanogre
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
[Hall of Fame]
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
krkarthik_info
Frequent 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

krkarthik_info
Frequent 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

View solution in original post

cancel
Showing results for 
Search instead for 
Did you mean: