Ajax populated form list does not work with Katalon Studio test run

I have a page that updates selection lists based on other choices- (absracted through jquery’s ajax methods)
These work fine if I test the page manually.
However when I try to run an automated test from Katalon, the dynamic selection lists do not populate at all. I’ve tried waiting for page load and for elements present, but it doesn’t help.
Has anyone else encountered a problem like this?

Yes. Many times. I had better results setting my ajax-ified controls via WebUI.sendKeys rather than WebUI.setText. One particular control needed WebUI.focus to be used first.

Also, try a liberal sprinkling of delays and waits.

Recently, I’ve also begun checking jQuery.active (which should be zero when ajax is “done”).

1 Like

thanks @Russ Thomas!