Forum Discussion

TestingHobo's avatar
TestingHobo
Contributor
9 years ago

ClickItem Function

Hi all,

 

Our dev's have intorduced a new a new ui for drop down menus. However the ClickItem function does no longer work.

Anyone had experience with a simailr drop down(Screenshot attached)?


Untitled.png

1 Reply

  • What Error Message you get...I Faced Similar issue when i upgraded to TC11 . SmartBear gave workaroud for it. 

     

    Something like this ..

     

     

    Set StrategyMenu = Aliases.browser.ProductProfilesHomepage_Batch.LongOnlyStrategySelect
    Set oCombo = Aliases.browser.ProductProfilesHomepage_Batch.LongOnlyStrategySelect
    ProfileName = p_ProfileName
    oCombo.focus
    ' Call oCombo.ClickItem(oItem)
    'If (str <> oCombo.wText) Then
    oCombo.Keys("[Home]")
    i = 0
    Do While (ProfileName <> oCombo.wText) And (i <= oCombo.wItemCount)
    oCombo.Keys("[Down]")
    i = i + 1
    Loop
    'End If