Infragistic controls
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Infragistic controls
Major problem is , how to get access of items of "UltraToolbarsDockArea ", Is it possible for anyone to send me a piece of code whcih I can customize as per my requirement or send me the link of a help.
My major controls are as followed.
UltraToolbarsDockArea
UltraTabControl
UltraMenu
Thanks in advance
Regs
Syed
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For i = 1 To TotalToolBars
Log.Message "Clicking on the ToolBar = " & i
For j = 1 To ToolsCount
ToolsCount= MainToolBar.ToolbarsManager.Toolbars.Item(i).Tools.Count
Log.Message ToolsCount
Tools = MainToolBar.ToolbarsManager.Toolbars.Item(i).Tools.Item(j)
here Testcomplete gives error that Object Does not support this Property of Method : 'Tools'
Thanks
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Syed,
Please ensure that TestComplete supports your versions of Infragistics controls). If they are supported, use properties and methods provided by TestComplete (e.g. wItems) to access the controls' internals.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I am getting the popular object not found while executing the tests.
The difference is I get two objects which have this signature WPFObject("_b30e3760724a476c863a70183bd1b89d").
when I try running his test the number changes dynamically and hence the obkject could not be found.
Could you please help out.
This object is an infragistics content pane control and i have the extension in the project which is enabled.
thanks in advance.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Guys.
I had few methods for infragistic control. this may help you .
Sr | Methods | Description |
1 | objName.menuStrip1.Items.Count | Get The Menu Count |
2 | objName.menuStrip1.Items.Item_2(i).PerformClick | Click on Menus (based on Index) |
3 | objName.Rows.Item(0).Cells.Item(4).Click | Click on Specific cell (Table Grid) |
4 | objName.Rows.Item(0).Cells.Item(2).get_Text | Get data from specific cell(Table Grid) |
5 | objName.Rows.VisibleRowCount | Get The row count from Table Grid |
6 | objName.Activate | Making window activated |
7 | objName.BringToFrant | Bring Object window at Frant |
8 | MainForm.UltraMainMenu.Click(MenuStr) | MenuStr = File|New or Format|View|Edit |
9 | objName.Item(0).Columns.Item(i).Header.Caption | get column header name |
10 | menuStrip1.Items.Item_2(intIconIndex).ToolTipText | Tool Tips - from icons |
11 | gridTrades.GetToolTipText(objCell) | Tool Tips - from specific cell |
12 | objFinalListName.set_SelectedIndex(i) | Select value from Drop down |
13 | ultraTabControl1.CloseTab(1) | Closing Tab (based on index) |
14 | objName.Rows.Item(i).cells.Item(7).set_Value("abc") | Set Text into Textbox (Specific Cell) |
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
what do you mean by object name in the methods?? What if TestComplete is not at all recognizing the things as objects??
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is a two year old topic and it might not relate directly to your problem. Could you give some specifics as to what issue you're dealing with?
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
