嗨,我是TestComplete的新手。最近,我很难记录";选择下拉列表中的项目"我研究过以下网站,但还是失败了。现在,我的脚本是这样的:任何想法都将不胜感激!THX!
我修剪过的脚本:
...
Aliases.browser.pageName.select.DropDown();
Aliases.browser.pageName.Find("the item name in the dropdownlist").Click();// error occurs
...
https://support.smartbear.com/testcomplete/docs/app-testing/web/general/common-tasks/finding-objects/common-methods.html#_ga=2.245019525.1439147683.1607408383-284122070.1606206167
https://support.smartbear.com/testcomplete/docs/app-objects/specific-tasks/android/spinner/drop-down-lists.html
https://community.smartbear.com/t5/TestComplete-Functional-Web/Select-Items-from-dropdown-list-in-different-ways/td-p/153820
使用Aliases.browser.pageProcess.formAspnetform.selectProduct.ClickItem("项目名称"(;或者尝试Page.NativeWebObject.Find方法