Contributions
Re: Are you using Jenkins?
I've used Jenkins in the past (and still do) for the existing QTP tests that we have. I've not been really successful porting over the TC scripts to Jenkins. One upside that I've seen is that I can run the entire project (instead of a batch job in Jenkins) or I can run each individual test. One downside is that I *think* that you need one .bat script for each think you want to run from TC (see above for batch and/or each test). Would be really great if you could pass parameters on the command-line to TC. Again, I'm probably wrong, I haven't had much time to look at it. When I get a better handle on TC, I will absolutely be using Jenkins.1.2KViews0likes0CommentsRe: No Test Results Created
Thanks Helen, I removed it. I suppose that I'll have to implement Curt's suggestion. When I run on Test Execute, the remote <computer-name> directory is created, and inside there are the logs. The problem is that when I load the project, the logs are not available. They don't load into the Project Suite Logs, I'd have to manually add them, and that's just too clumsy and too time consuming to load them up. I know if the tests pass/fail by looking at the results in Jenkins, but there's really no easy way to know via Test Complete. I have 10 machines that the test could run on, and I'm assuming that the <computer-name> directory will also be created when/if the test runs on that directory. That's just too many levels to go through to find results. So, what are my options? I'd like to have one place (per project, inside the Project Suite) that ALL logs go to. Once I figure that out, can Test Complete be configured to look at those directories by default and/or start up?1.5KViews0likes0CommentsRe: No Test Results Created
Hi Helen, Yes, the log files are there, thanks for the pointer. Possible to "undo" this? I vaguely remember the network option, and I thought I clicked 'No" on the dialog. I deleted all log files and the contents ion the Log file directories. When I run again, it creates the <machine-name> directory again. I suppose I can implement Curt's method (Thanks Curt!), but that's not optimal. Essentially I'd like to be able to run tests via TestExecute, and then on a different machine (via Test Complete) look at the latest logs, without having to figure out which machine it ran on, etc. Like Curt, I'm running the test remotely via Hudson(Jenkins), so you never know what machine it ran on unless you do some digging to find out. I'd like to just be able to run the tests remotely, launch Test Complete, load the project and view the latest results for the project(s) and the tests.1.5KViews0likes0CommentsRe: No Test Results Created
Hi Helen, Yes, I'm running individual tests (you helped me a week or so ago with the syntax). There still are no logs either at the project level or anywhere else if I run it through Test Execute. On the development machine (Test Complete) logs are created just fine. [edit] Here's the commandline call: start /wait "TestExecute" "C:\Program Files (x86)\Automated QA\TestExecute 8\Bin\TestExecute.exe" "\\mb-swtest-dc\tc_scripts\NDCA\AnalysisRequest\AnalysisRequest.mds" /p:AnalysisRequest /t:"Script|testCreateRequests|testCreateRequests" /r /e /SilentMode1.5KViews0likes0CommentsRe: long data driven test graceful error recovery
I'm far from an expert on this, but I don't think it's possible. For example, in TC, there is no getRow() or setRow() methods for the driver. I'm not sure why that is, but they don't exist. What I've done to sort of get around that is to create a run flag in the datasheet. If the flag is "Y" then it runs the row. if not, we skip it and move on.885Views0likes0CommentsNo Test Results Created
Running tests via Jenkins and Test Execute. Test are running fine. However, I have turned off Activate after test run both in Test Complete and Test Execute. Funny this is that when I run the tests remotely (via command line) there are no test results created in the Project Suite Logs. I don't want the results shown when running remotely, but obviously I do want them created. Where did I make my mistake?21KViews0likes7CommentsProbably Stupid question - Command-line confusion
I'm a little bit confused I suppose about the command-line as it relates to Test Items. I have a Project Suite (Suite), a Project (AR), and I two Test items (Test1 & Test2) for the project. Since I'm planning on running my tests via Jenkins, I needed to come up with a command-line script to run the tests. I thought I could do something like this to run ALL tests in the Suite: Code: "C:\Program Files (x86)\Automated QA\TestExecute 8\Bin\TestExecute.exe" "<myPath>\Suite.pjs" /r /e /SilentMode I thought I could do something like to to run ALL tests in a specific project: Code: "C:\Program Files (x86)\Automated QA\TestExecute 8\Bin\TestExecute.exe" "<myPath>\AR.mds" /r /e /SilentMode I thought I could do this for an individual test: Code: "C:\Program Files (x86)\Automated QA\TestExecute 8\Bin\TestExecute.exe" "<myPath>\AR.mds" /t:"Script|Test1" /r /e /SilentMode And another individual test in the same project: Code: "C:\Program Files (x86)\Automated QA\TestExecute 8\Bin\TestExecute.exe" "<myPath>\AR.mds" /t:"Script|Test2" /r /e /SilentMode Well, when I ran the individual test script, BOTH tests were run, and that's not what I expected or want. I've read the help, and based on that, I thought what I have would work, but it doesn't. Oh, and as a side "problem", in the Tools->Options->Engines->Log I have deselected "Activate after test run", but when I run the above remotely using Test Execute, the results still are displayed. I don't want results displayed automatically. Pointers?20KViews0likes4CommentsRe: Toolbars, Menu's and Checkpoints
Thanks Stephanie, I saw that reply, but I don't think it's really addressing what I'm asking. I suppose the best way for me to do what I want to do is just write the code and not use checkpoints for this task. Thanks for trying to help though!1.4KViews0likes0Comments