Forum Discussion

Mk1's avatar
Mk1
Occasional Contributor
7 years ago
Solved

When i send keys and add a click inside the Keys it then passes "Undefined"

When i send keys and add a click inside the Keys it then passes "Undefined" plus the correct data to the dropdown Below is my code, see attached for dropdown layout, even when i separate the functio...
  • Mk1's avatar
    Mk1
    7 years ago

    I found a solution, created a new function to my click that returns an empty string. Works like a charm

     

    Thanks.

     

    function myButtonClick(a)
    {
    a.Click();
    return("");
    }


    b.Keys(myButtonClick(a) + aqString.Trim(tempPathName, aqString.stAll));