How to close the Infragistics DockManager ContentPane
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you record a test and click on that close button, what object name comes up for that in the test?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
