How do I use Katalon with Kendo Drop Down List?

I am attempting to use Katalon to select a drop down value (kendo drop down list).  The following script shows the test selecting the appropriate value for the drop down:

((DriverFactory.getWebDriver())

as JavascriptExecutor).executeScript('$("#SchoolYearId").data("kendoDropDownList").select(7);')

However, when the form submits, the validation fails as if it wasn't selected.  Any ideas?

Comments

  • The issue had to do with the value selected.  While it looks like you can set the .select() to the value of the option, it is in fact the index.  Passing a valid index into the .select() rather than a value that might be higher than the highest index.
  • That isn't working.  It doesn't look like there is any pause at all.

    JQuery is reported as ready, and the drop downs look like they select the values, but when the test submits (clicking the Submit button), the values disappear and the validation fails because no values are there.

    This seems like it should be a no brainer which is really frustrating us as we attempt to evaluate Katalon as our testing tool.

     

    Any other ideas?
Sign In or Register to comment.