Hi,
I have installed Test Advantage Version 6.3CLR2.0
I am not able set the value in Edit Box which is under SwfToolBar but i can able to find the edit box in Swf Tool Bar(Please find the below mentioned code)
I am not able Select the Item from ListBox which is under SwfToolBar
The above mentioned EditBox and ListBox are under one SwfToolbar
Set toolbarObj=SwfWindow("TASER : UAT - Exceptions").SwfToolbar("_panelBlotter_Toolbars_Dock_Ar").Object.ToolbarsManager.Tools
Set toolbarObj=SwfWindow("UAT").SwfToolbar("_panelBlotter_Toolbars").Object.ToolbarsManager.Tools
For x = 0 to toolbarObj.count - 1 If "SearchText" = toolbarObj.GetItem(x).Key Then Set GetToolFromToolbar = toolbarObj.GetItem(x) msgbox GetToolFromToolbar GetToolFromToolbar.Set "Kiran" ( It is throughing error in this line as "Object does not support this property or method)
bToolFound = true msgbox bToolFound Exit for End If Next
Can any one please help on this issue (it is urgent)
Sincerely,
Kiran
It is recommended to use the recorded actions to access it, but if I follow your logic correctly you should be able to use:
GetToolFromToolbar.Text = "Kiran"
-Mike