Contributions
Re: TestComplete How to exit immediately if object not found, rather than waiting for autowait to finish
Thank youebarbera for info, yes I tried this but then If i do this then it will affect entire project object identification process, wherein when I really want TC to spend some time to find object, then it will fail there. But just wanted to understand if there is any way to do this using script or something... like look for object if not then exist immediately.. not sure how much logical or feasible question is.. Thanks in advance.851Views0likes1CommentTestComplete How to exit immediately if object not found, rather than waiting for autowait to finish
Hi I am using Testcomplete for testing one desktop application.. In that I am searching for some window object on screen, (basically its an error window) - so requirement is - if that error window does not appear then continue. function verifyBrowserScriptErrorWindowAppears() { // Verifying an unexpected script error window is appearing before operation and if yes then closing it. if(Aliases.xmetal.BrowserScriptErrorWindow.Exists) { Log.Message("Browser Script error window appeared.. Closing it.."); Aliases.xmetal.BrowserScriptErrorWindow.Close(); } } but everytime i call this method it keeps on searching window for 10 seconds (its detault search time of TC to search object) and then moves ahead. SO my query is - How can i exit immediately if object is not there on screen, rather than waiting for that default time of object search.875Views0likes5CommentsTestComplete switching between two windows applications
Hello, I am currently trying to automate one windows application which has one authentication module in it. when I launch my windows application, 1. firth thing it asks me is to enter server URL in the application (I am able to automated this) 2. Click on login button.(I am able to automated this) 3. then it opens a default web browser for me to enter user name and password and click on Submit button (NOT DONE, how to switch control to web brower and make it identify control on web brower enter info and click submit) 4. and then I need to again sswitch back to my windows application again and check if application login is successfull 5. then continue next actions on windows application. Can anyone suggest on this or if anyone had already written some peice of code for something similar scenario ? Basically swtiching between two different applications during automation in TestComplete.Solved2KViews0likes4CommentsRe: Can I add Delay until Region Checkpoint is true
Thank you so muchWamboofor providing above peice of code. it helped and now able to wait until the image appears on the desktop. Thankstristaanogrefor your inputs as well. I contacted support to see if we can also get IQ in our license. Cheers !!1.8KViews0likes0CommentsRe: Can I add Delay until Region Checkpoint is true
Thank youtristaanogre for response. But I cannot spy on the object because its a limitation of TC where it cannot identify or travense on webview object. and this is the reason I am using region checkpoint to see of the desired object/value appeared on the control and once appeared, then move ahead. Basically steps are : 1. there are say 10 tests (which are appearing as a checkbox list on the control) 2. I select all 10 checkboxes on the control and click on Run button. 3. Now what I want is - until "Test Executed: 10/10" appears on the panel, I want to delay the execution. it increments count by one like -"Test Executed: 01/10" then next is"Test Executed: 02/10" ........ as soon as panel shows image like -"Test Executed: 10/10" End delay and move ahead with next test steps.1.8KViews0likes5CommentsCan I add Delay until Region Checkpoint is true
Hi Team, I am currently trying to automate desktop application using TC v14. Where in I am using region checkpoint to validate certain image to appear on one the control of the application. but application takes some time to populate that image in the control but as soon as I execute script then it does not wait until that image is populated on the application control. Basically I want execution to delay until that image appears on the application control. and once it appears then comes out of the delay loop. do { Delay (1000); } while (region.check appears on application control); can someone please suggest any wayout, where I can introduce delay for Region checkpoint to appear and then move ahead.Solved1.8KViews0likes7Comments