DropDown() / ClickItem() Timing out
Hello All,
Encountering a weird problem when interacting with a dropdown menu in a web app that I'm testing in Chrome. Sometimes it works as expected and the test advances. However, the majority of the time it has started to fail. The code executes, the drop down menu opens on screen, but then Testcomplete hangs and eventually times out while "Waiting until the drop-down box appears". The log then generates the following error message: "The drop-down box cannot be opened".
First attempt:
const taskDropDown = subPage.FindElement("#selTask");
taskDropDown.ClickItem("CAC Badge");
Then read some help posts and modified my code to what's below to try and give it some time to load everything:
const taskDropDown = subPage.FindElement("#selTask");
taskDropDown.DropDown();
Delay(1000);
taskDropDown.ClickItem("CAC Badge");
Still fails with the same problem, except now instead of timing out on ClickItem(), it times out on DropDown().
Any help on how to resolve is appreciated!
Hi Jislin
I'm afraid there isn't any support for nested or sub-tags yet.
Are you mostly interested in the SwaggerUI rendering it into groups, or something more?
I ask because the codegen projects use tags to group operations into Controllers/Methods, which is a different concern.