Kendo AutoComplete

2 posts, 0 answers
  1. Srilatha
    Srilatha avatar
    1 posts
    Member since:
    Sep 2017

    Posted 14 Sep Link to this post


    In Telerik Test Studio, Kendo AutoComplete while trying to select data from dropdown its not allowing to select the selected item in test scripts. while recording the script it is being selected but while running the script i'm unable to select the record from autocomplete. can you please guide me with this. Thank You.

  2. Nikolay Petrov
    Nikolay Petrov avatar
    236 posts

    Posted 19 Sep Link to this post

    Hi Srilatha,

    I would suggest the following approach to this problem. Using a coded step after text enter step with the following lines in C# :

    // Provide time to animate the auto-complete box
    // Press on Arrow Down Key
    ActiveBrowser.Manager.Desktop.KeyBoard.KeyPress(ArtOfTest.WebAii.Win32.KeyBoard.KeysFromString("Down"), 150, 1);
    // Press on Enter Key
    ActiveBrowser.Manager.Desktop.KeyBoard.KeyPress(ArtOfTest.WebAii.Win32.KeyBoard.KeysFromString("Enter"), 150, 1);

    This should provide some time to animate the auto-complete box and would press on arrow down and enter key to choose the full option.

    Best Regards,
    Nikolay Petrov
    Progress Telerik
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
Back to Top