Contact Us
+1.831.460.7010

Transcript for this video

There are two ways to automate testing in SilverCreek.

Method 1: You can automate testing by using our command-line interface API.

Let’s take a look at the documentation supplied with SilverCreek.

In the SilverCreek directory, it’s located under doc.

The SilverCreek developer guide describes the application programming interface (API) in detail.

Let’s open the SilverCreek cookbook to see an example of using the API for a common task.

On page 13, we see “How do I start my testing at midnight tonight so I get the test results when I get to the office at 9 a.m.?”

Notice we have the Windows solution spelled out here, showing the commands you would need.

Then, at the bottom of page 14, we see the Linux solution showing the commands you would need.

Method 2: The second way to automate testing in SilverCreek is using the Automation Wizard.

The Automation Wizard can be used to create and run scripts that automate the testing process.

Once created, these scripts can be run through SilverCreek’s GUI or by using a Tcl shell.

Open the Test menu, then click Automation Wizard.

Select New to begin creating a new script.

You will need to select a saved context file for the agent that you would like to test.

For more information on saving a context file, see the lesson “Connecting to Your SNMP Agent.”

Click Next and choose how you would like your test results to be saved.

You will then be prompted to choose a filename.

Do so, and click Next again.

In the final configuration window, you will choose the individual test or test suites that you would like to run.

Click Add New Tests.

Next, highlight a category in the left frame and choose Add All Tests to add all tests for that category.

Alternately, highlight the tests of your choice in the right frame and click Add Selected to add only those highlighted tests.

When finished, click Ok, then click Next.

Click Done to exit the wizard, and choose a filename for your new script.

To run your newly created script, you simply need to highlight it in the Automation Wizard window and click Run All.

Thanks for watching.


 

Want to Know More?

 

Find more videos How to buy Contact an Expert