Forum Discussion
AlexKaras wrote:Hi,
> The questions are: this is a known issue?
I don't think this is an issue but rather correct expected behavior.
It is my guess that your code just executes .ClickItem() action. If my guess is correct, then, without parameters been provided, .ClickItem() tries to click in the middle of the element. The click cannot be done because middle of the element is out of viewport.
It is quite OK to call .scrollIntoView(true/false) before any click. Or you may just try .ClickItem(1, 1).
Hope that my guess is correct and explains the observed behavior.
In fact, the <select> is in a position where ClickItem can make the DropDown with the available <options> appear, so I do not think that is the problem. After ClickItem, the DropDown appears but TestComplete says it does not see it. It does not seem like a correct behavior but rather an anomaly
Hi,
You may report this to Support via the https://support.smartbear.com/testcomplete/message/ form.
Related Content
- 2 years ago
Recent Discussions
- 12 hours ago