Contributions
Web test: Checking for disclaimer
I have a web test for a site that keeps failing because of a disclaimer that needs to be accepted on the page. It is a policy statement that pops up on the bottom and the user must click "Accept" to close it The problem is, I have added that step to my test, but if the Acceptance has already been cached the disclaimer does not pop up in subsequent tests. So the test step fails since TestComplete cannot find the disclaimer on the page. Is there a step I can add to check for the disclaimer, and if it is not there just bypass the accept step and move on?Solved455Views0likes1Comment- 988Views0likes0Comments
Confirming a closing XML tag in screenshot test
I have a simple test to open a sitemap.xml file and checking to confirm the whole page loaded successfully by confirming the closing tag. However, being new to TestComplete I cannot figure out how to check for the closing tag. My check confirms the entire xml file but not the closing tag. Does anyone else have a similar test? Thanks.428Views0likes0CommentsHow do I clear history in Chrome with TestComplete?
I am new to TestComplete and I need help with clearing the history in Chrome between tests. I have a stage environment that requires a login which I was able to add to my test scenario. However after running the test once the login information is cached so the login box does not pop up on subsequent tests. As a result my test fails when TC can't find the login fields. I have a similar issue with a disclaimer at the bottom of the screen that requires the user to click a button to accept it. Is there a way to either clear cache upon loading the browser, or else prior to closing it?1KViews0likes2Comments