Contributions
Re: DropDown() / ClickItem() Timing out
Thanks Marsha, so the Object name did not change after refreshing But... there is a GET request appending a query string to the URL on the page the dropdown is on. On a lark I moved my wild card a little further down the URL string closer to the query string that's being stored in my subPage variable and it has, thankfully, started working again...763Views2likes0CommentsDropDown() / 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!Solved775Views0likes2CommentsRe: WebApp - Table not Recognized
Hello Emma! Unfortunately for me, this app is not publicly accessible. In this test I am ensuring that days clicked/selected highlight red and that weekend dates cannot be selected (Employees are selecting leave dates). This app is a type of payroll app, so uses LOTS of tables. The date selection here is just one instance, most tables will not be calendars. and here's my error:380Views0likes0CommentsWebApp - Table not Recognized
Hello Everyone, I am pretty new to Testcomplete, but have been writing all of my tests with javascript. The webapp I am testing has a considerable amount of table elements and so far I have been doing things in what's likely a sub-optimal way, mostly by building arrays of the cells within a table using FindAllChildren(). I am trying to learn how to use the table stores, but any table I try to feed into it ends up as not recognized? Is there anything I can do to make it work? Here's a screengrab of a calendar I'm currently trying to analyze along with its properties: Regards, Jeff392Views0likes2Comments