Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
40
Need Urgent help - Unable to set or select the value in Edit Box or List Box under SwfToolbar
posted

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

Parents
No Data
Reply
  • 7695
    Offline posted

    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

Children
No Data