ContributionsMost RecentMost LikesSolutionsRe: Integrating Test Complete with Microsoft Test Manager in TFS 2010 Thanks Alex, that's it! Have a freat day! Re: Integrating Test Complete with Microsoft Test Manager in TFS 2010 The above link is broken. Any new references? Re: Persistent problem with being unable to stop a test when running tests locally or via Network I cannot recreate it with local tests, but it happens with greater probability running network tests with the debug option enabled. Thanks for your help Re: How to learn to code in TestComplete script? I learnt by recording scripts using the recorder and using the examples in TC's help and online support. As someone mentioned above msdn, specifically: https://msdn.microsoft.com/en-us/library/t0aew7h6.aspx Re: How to copy a table variable in TestComplete? Thanks. That looks great if it can be implemented Re: Running Tests every Night on new Build Hi Abrar22 Implementation: We use TestExecute running on different PC. We then created a network project containing a single Host (PC) and a task containing a job which is the main project suite and the PC. Right-clicking the Network Suite >Verify to copy the current tests across to a the TE shared project folder. Scheduled Running: We use MS task scheduler to run TestExecute with a command line option to run the Project which actuall runs every 5 minutes although our tests take a lot longer than that. This means the largest gap we have between tests is 5 minutes. We experimented with the TE command line options to get the syntax right. Reporting: From TC, it is possible to open the Project in the TestExecute shared folder and examine the logs in the morning. We prefer this over email, web reports, TFS task creation etc. The first time you do this you get a prompt asking if you'd like to make this folder a shared project. Click "No" Updating the Test Environment with the latest build: We have a staging folder on a server which I copy the latest .MSI packages and SQL Server databases (using batch files). The first Top Level Parent test in our suite checks this folder and does the necessary installs and upgrades. The other tests will not run unless this is successful. If there's no upgrades available it simple continues the tests, Our solution is a loose integration with TE and would not be suitable for Synchronised tests. Which ever method you choose my only advice is to investigate the differernt options, and trial them to see how it works for you. Hope this helps How to copy a table variable in TestComplete? Hi all, I have some tests that use identical table formats. Is there anyway to copy them? I was supprised that the UI does not allow it. The only vaiable option seems to be to create some general export/import scripts that work on any table and a fairly robust and user friendly. Just noticed that the project ".mds" file contains a node, "<Node name="variables">". I expect attempting to copy parts of that could be dangerous? Another option is to combine everything into one big table but I could end up with a bigger problem later on. Any ideas? SolvedRe: Persistent problem with being unable to stop a test when running tests locally or via Network I cannot recreate it with local tests, but it happens with greater probability running network tests with the debug option enabled. Thanks for your help Re: Find image in image fails For desktop apps I've been using the standard "Stores\Regions" repository, although for web testing there is the "images" repository which appears to be more functional. The way I did it was create a bunch of regions using the manual scan option. Once in the repositry crop it by editing with paint.net or suchlike. In script: Create a picture of the region to find: Dim mIconRegionPicture: Set mIconRegionPicture = Regions.GetPicture(pIconRegionName) Capture a Picture of the window of interest and crop if necessary to reduce the search area: Dim FloorPlanWindow: Set FloorPlanWindow = FloorPlan.Picture(0, 0, -1, -1,False) Use the Picture.Find method using the region picture as a paramerter Dim Found: Set found = FloorPlanWindow.Find(mIconRegionPicture, mLeft, mTop, mUseTransparency, mPixelTolerance, False, mColourTolerance, mIconRegionMaskPicture) I noticed you've used the Regions.Find method which is essentially the same, I'm saving regions in PNG but that should not make any difference. Can you attach a copy of the original file you have posted in imgur? Re: Find image in image fails Hello Hazy, Is "rect" exactly the same as the image in PaintImage? Might sound like a daft question without the pixel and colour tolerances it must be exactly pixel-for-pixel identical, as do the colour values right down to the 1-significant bit. Even with files upon saving re-sampling can take place which can make them different. Differnt graphics cards and resolution can rended images differently as well. Try adding some tollerances. I had the same problem and a pixel tolerance of 0.75% (of the total pixels in the image being searched), and 42% colour tolerance (In absolute terms = 255*42/100) seemed to solve the problem. These were found by trial and error by the way but worth it. The colour depth eg 24 or 32-bit should ideally be identical, but it's not so critical with the correct tolerances. (I found working with percentages easier to manage as the same parameters can be used for all my images irrespective of size.) Another factor that improved recognition was adding larger transparency margins around the images although that may be something you do't have any control over.