robertmarshOccasional ContributorJoined 9 years ago6 Posts1 LikeLikes received1 SolutionView All Badges
ContributionsMost RecentMost LikesSolutionsRe: Failure to load project file via command line Ignore this, was running from Powershell, it apparently doesn't like it, running from Cmdprompt works. Failure to load project file via command line Hi, i'm trying to run the test complete via the command line and have it open my project and run the project suite. The command i am running from within the test complete bin folder, but the project file is located on a networked drive, for example: TestComplete.exe "\\serv\networklocation\myproject.pjs" /r Running this command will start TestComplete (i'm running version 12.42.3048) but gives me an error: Cannot open the 'C:\Program Files (x86)\SmartBear\TestComplete.exe' file because is it not a valid project suite or project file. Can you not have a networked location for the project file for this to work or is there something wrong with my command? SolvedRe: What's the best way to wait for an object to be closed? Thanks Rob, i had also looked at using the VisibleOnScreen method but used this instead with a loop counter :) What's the best way to wait for an object to be closed? Hi, i've inherited some test cases and although they pass, I am getting the dreaded 'An object recognition hint' warning. The code in question is waiting for an object to not exist before continuing: // Wait until the template window is not shown anymore. Rm_App["NewTemplate"]["WaitProperty"]("Exists",false,200000); I'm guessing the WaitProperty method is not the correct method to use here and hence why I'm getting the warning, or maybe it is and I just need to add some code around it to utilise it properly? So my question is what is the best practice to use in it's place to wait for an object to finish it's job and close before the test continues? Notes: Code being used is C#Script, and i'm pretty new to the coding world so be gentle. :smileyhappy: TIA SolvedRe: What happens when my licence expires? Thanks guys. What happens when my licence expires? I currently have two floating licenses that will expire shortly. Does anyone know what will happen if I allow them to expire, does it stop me from using Test Complete, or is it just mean that i have no support from smart bear? Thanks, Rob Solved