same keyword test for browser based app sometimes displays objects, sometimes does not.
i have developed a testcomplete automation for one of our browser based applications. the start of every test case (12 in total, so far) utilizes the exact same keyword test that launches a chrome browser and navigates to the same URL. Almost without exception, one of the 12 test cases (and not the same one every time) will experience the following behavior.
First, let me show you what it looks like for one of the other 11 that is successful. note all the objects are visible on the web page in the screen shot
now, for a different test case running the exact same keyword test it will look like this
it still finds the text boxes as mapped objects (the red rectangle) and i've verified that both the Visible and VisibleOnScreen properties are true but they do not appear in the screenshots represented by the Has Image column of the results log. at the end of this keyword test (after filling in all the text boxes with data), a Continue button is supposed to be enabled and clicked. attempting to click the Continue button is where the test case fails every time the web page exhibits this behavior because it is not enabled because the data has not actually been entered into the objects. when the objects appear in the image the data does get entered and the Continue button click is always successful.
Has anyone ever seen this type of behavior in TestComplete?
Although it doesn't address the root cause, I would be tempted to try to workaround the problem. For instance, check if the Continue button is enabled after you populate the other fields. If not clear the browser cache, reload the page and try the process again. I'd do it in a loop that only tries again once or twice so you don't get stuck in it.