Forum Discussion

enriquebravo's avatar
enriquebravo
Contributor
2 years ago
Solved

Inconsistent Keys Method Behavior

Hi, The keys method used in dropdown and textbox fields does not work properly. When invoked, the focus is shifted from the field to the browser window tab strip and when I try to bring the focus ba...
  • enriquebravo's avatar
    2 years ago

    Hey everyone. Thanks for the replies. The control does not have a ClickItem method and when I recorded and played the script back it failed. I added a breakpoint to try and spy the object, but I got the "Member not found" error.

     

    The good news is that I got it to work. Here is what I did, For the dropdown, I was able to click on it to display the list of values, then, instead of sending the keys action to the dropdown, I sent them to the parent element, in the case the page.

     

    The textbox could be solved in a similar fashion I guess, but it was just easier to log out, close the browser and then log in again with the next user.

     

    Have a good one.