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.
Thanks in advance
For i = 1 To TotalToolBars
Log.Message "Clicking on the ToolBar = " & i
For j = 1 To ToolsCount
Tools = MainToolBar.ToolbarsManager.Toolbars.Item(i).Tools.Item(j)
here Testcomplete gives error that Object Does not support this Property of Method : 'Tools'
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.
I had few methods for infragistic control. this may help you .
|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)|
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?
[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