run BVT and all the automation cases

Download the test source

Download and install the software required

Precondition: publish the orchard site to IIS

  1. Open an elevated environment in Visual Studio Command Prompt
  2. Navigate to the directory c:\workspace\orchard.test\AutomationScripts
  3. Make sure seleniumServer is under c:\workspace\selenium-remote-control-1.0.3\selenium-server-1.0.3\selenium-server.jar

Part one: Run BVT tests

  1. Run bvt against windows platform :
    1. runBVTTestsOnChrome.bat http://localhost or
    2. runBVTTestsOnChrome.bat http://ip of orchard site server
    3. runBVTTestsOnFF.bat and runBVTTestsOnIE.bat have the same usage with runBVTTestsOnChrome.bat
  1. Run BVT against Mac platform:
    1. runBVTTestsOnSafari.bat MacIP Orchard server
      1. The first parameter means the Mac IP
      2. The second parameter means the site URL, should be http://ip of orchard site server

Part two: Run all automation tests

For windows platform:

  1. runallAutomationtests.bat http://localhost or
  2. runallAutomationtests.bat http://orchard site server name or IP

For Mac platform:

  1. runallAutomationtests.bat Mac IP Orchard server
    1. The first parameter means the Mac IP
    2. The second parameter means the site URL, should be http://orchard site server name or IP


Note: If you want to get the code coverage data combination of manual and automation cases. Run the manual cases at a client machine. After run over all of the cases, run the following scripts to stop the running:
..\orchard.test\scripts\stopcovermon.bat


Last edited Jul 14, 2011 at 10:13 AM by yozho, version 3

Comments

No comments yet.