ContributionsMost RecentMost LikesSolutionsRe: How to stop the while loop Hi, Thanks for reacting The item is not been found because the while deletes it as it is supposed to do. ( while 'x' present, delete it). The last step from the while, it sees there is no more item to delete and it stops, as it is supposed to do. The only problem is that in the result it shows as 'red' as not found but i would like to have it ' green' as it is supposed to dont find the item. Re: How to stop the while loop The loop works, but my problem is that the result of the condition returning false before it stops, is that the item is marked as red on the results, as in my screenshot About the flag, if i add it, it does not loop until there is no more to delete , it deletes only one item. How to stop the while loop I need to close all the objects on a page (minus one) if they are present. I am trying several ways to make a while loop on both keyword tests as in javascript, but they don't do what I want. They do close all items but they run one more time to check if the item is present and it is not so they give an error. (and this is not an error, it should indeed stop) the javascript was something like this (this one is not working) function WhileWidgetExists() { var i = 1; while (i > 3) { iconDeleteWidget.Click(); i++; if (i = 1) { break; } } } Re: IE processes dont terminate Hi the code I was using is exact what you posted. Somehow it started to work, thank you!!! Re: IE processes dont terminate That is exactly what I said. I used it and it and I still have the problem. IE processes dont terminate I want to have a clean up before I start to run a batch of tests. So, I used the code from the documentation to close all the browsers <-- function Close() { while (Sys.WaitBrowser().Exists) Sys.WaitBrowser().Close(); } --> I dont use IE but the code hangs on ' waiting iexplore processes to close' I have tried the code from TestComplete does not appear to close IE11 correct... - SmartBear Community and before closing all browsers, close ie. I has the same effect, it hangs on ' waiting iexplore processes to close' Anyone? Thanks! SolvedBest practices for automation Do you make end to end scripts and other long scripts exploring the whole functionality or do you do more atom tests?like for instance, adding something to your profile: long script would be just one containing adding, editing and deleting the object atomised script would be one for each of these states. I am curious. Thanks SolvedHow to change the scripting language from javascript to phython? We have an extensive test suite with many tests projects. They are all keyword tests. There is no scripts in the tests but when the suite is made the language that was chosen was JavaScript. I would like to change it to python. SolvedKeyword tests: waitElement / waitProperty questions I am new to TestComplete, and would like your help. To avoid adding delays in the teststeps I wanted to wait for an element. I thought on adding a waiton the element untill element visible == true On the teststeps view I duplicate the step on the element I want to wait for, and then click on its cell so the on screen action pupup opens, - what shows the object and its aliases. Clicking next on this popup, I am able to specify the waitProperty , waitChild, waitElement, and so on. What I don't manage is to set the right operation parameters. Thanks for your help. Solved