PDA

View Full Version : Run Script only works when Testing step


RodrigoReboucas
12-02-2009, 04:50 PM
Hi,

I have a "Run Script" step that creates other steps below it so it can run in sequence when the Visual Build Pro cycle runs. When I try to run the cycle, it is executing the step with no errors but it is not creating the steps below it as it should. The intriguing part is that it works when I open the step and click "test". Is there any reason why it is not creating the script actions during the Visual Build Pro cycle and executing them since they are placed below the script step? I am sending the *bld in attachment.

Thanks,

kinook
12-02-2009, 05:33 PM
Modifying the project within a build isn't recommended or explicitly supported, and the attached file wasn't complete and depends on another file, but building the attached modified version w/ VBP 7.2a has the expected result of:

12/2/2009 3:32:16 PM: --------------------Starting Build: 'visualbuildscript.bld'--------------------
12/2/2009 3:32:16 PM: Building project step 1 - Build...
12/2/2009 3:32:16 PM: Building project step 2 - Create Build and QA Steps for each App...
12/2/2009 3:32:16 PM: Building project step 3 - Run Regression...
12/2/2009 3:32:16 PM: Building project step 4 - Make VS...
Project/solution file test.sln does not exist
12/2/2009 3:32:16 PM: Step '4 - Make VS' failed
12/2/2009 3:32:16 PM: Building failure step 1 - ...
Appending to file C:\VisualBuild\LogFiles\StepsFailed.xml
12/2/2009 3:32:16 PM: Building project step 5 - Finalize...
12/2/2009 3:32:16 PM: Building project step 6 - Notify Email Sender App of Build Completion...
Appending to file c:\VisualBuild\LogFiles\VBPDailyCompletion.txt
12/2/2009 3:32:16 PM: Build successfully completed.