qacafe - ip test solutions
Knowledge Base > BuddyWeb > How can I use BuddyWeb with my existing buddy scripts?

How can I use BuddyWeb with my existing buddy scripts?

Any scripts you have developed that are currently running buddy, can be converted to run buddyweb instead. This will allow you to view the results using buddyweb during and after the testing.

  • Convert the existing setup to a buddyweb setup by importing your configuration file and creating a new buddyweb package.
  • You may now run the buddyweb package from the commandline using the -package option.

Example:

/usr/bin/buddyweb -package "my_package"

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.

Example Script with -wait:

       #!/bin/sh
       buddyweb -package config_a -wait
       buddyweb -package config_b -wait
       buddyweb -package config_c -wait

While the script is running, you may use the BuddyWeb interface to monitor the results.

NOTE: BuddyWeb will still prompt the user to restart the device under test unless a Restart script has been configured. See the related help note.