Contributions
SpecFlow with TestComplete
Hi all, Wondering if anyone has tried integrating Behaviour Driven Development tools like SpecFlow (www.specflow.org) into TestComplete? It seems to me like a nice fit to have our project teams use SpecFlow feature files to specify what the Application Under Test needs to do. Then the developers implement the "steps" for each feature in C# code, using TestComplete's OLE engine to exercise & verify the Application Under Test. Probably a long shot, but I just wondered if anyone had already tried this, before I roll up my sleeves & give it a go. Cheers, Darren.15KViews0likes6CommentsRe: Problem running script from TestExecute, but only from the commandline.
Hi, Thanks for the reply. Restarting the master computer solved my problem. I've since had the problem resurface, and restarted the master again to fix. Hope this doesn't happen too often & that it's on your list to fix... Thanks Darren.1.8KViews0likes0Comments"The underlying object does not exist" with MSIEXEC
Hi, Just wanted to register a problem & solution I came across trying to automate an MSI installer created with InstallShield. The root of the problem is that when the installer runs, it actually spawns off two processes, both named MSIEXEC (one running as SYSTEM, one running as the current logged-in user). This confuses the hell out of TestComplete's name mapping - it wants to use the "index" property to disambiguate between the two, but unfortunately it seems a matter of luck as to which MSIEXEC process gets index=1 and which gets index=2. So after several hours trying to figure out why my recorded scripts sometimes ran & sometimes didn't, I finally noticed the second MSIEXEC process, and was able to disambiguate by ticking the "required child" property of the MSIEXEC mapped object for one of its child windows. The process I actually want to automate has the child window, the process running as SYSTEM doesn't have any. Hope this saves someone some time! Cheers, Darren.21KViews0likes7CommentsProblem running script from TestExecute, but only from the commandline.
Hi, I'm trying to execute a master script (from the commandline) which will in turn execute a slave script on a remote host. I've got the master script to the point where it's working if I invoke it from TestComplete or TestExecute (using the TestComplete or TestExecute GUI). However, it's failing if I run it with the TestExecute commandline. I've simplified down the master script to just a single "Verify" statement: procedure verifyhost; begin if not NetworkSuite.Hosts.ItemByName['FSWinXPSP201'].Verify() then raise ('Unable to verify host') else Log.Message('Host verified'); end; The commandline I'm using is: "C:\Program Files\Automated QA\TestExecute 7\Bin\TestExecute.exe" "<full_path_to_my_project_suite>.pjs" /run /project:"<my_master_project_name>" /exit Note that the script *does* actually run, and I do get a log file with the "Unable to verify host" message. If I run the same script from TestExecute or TestComplete GUI, I get the "Host verified" log message. It's just that I can't verify the host (or go on to actually run a script on a slave) when run from the commandline. Help?!? Darren.12KViews0likes4Comments