
Any scripts you have developed that are currently running CDRouter tests using the buddy CLI can be converted to run as BuddyWeb-based test runs as well. This will allow you to view and manage the results using BuddyWeb during and after the testing.
#!/bin/sh
/usr/bin/buddyweb -package my_package
Note that multiple BuddyWeb packages may also be run from the same script using the -wait option. This instructs BuddyWeb to wait until the package has finished before executing the next package.
#!/bin/sh
/usr/bin/buddyweb -package config_a -wait
/usr/bin/buddyweb -package config_b -wait
/usr/bin/buddyweb -package config_c -wait
Tags can be specified from the command line. To learn more about tags, please see this App Note.
#!/bin/sh
/usr/bin/buddyweb -package config_a -tags "new firmware"
/usr/bin/buddyweb -package config_b -tags v1.1,rc2
/usr/bin/buddyweb -package config_c -tags tester-$USERNAME
While the script is running, you may use the BuddyWeb interface to monitor the results.
Note that BuddyWeb will still prompt the user to restart the device under test unless a Restart script has been configured. Please see this Knowledge Base article for more information on skipping the restart prompt at startup.
For more information on developing an automated test environment based on CDRouter, please see this Application Note.