Graphic User Interface

Features

BB Test (Black Box Testing) is designed for testing TV devices

supports two types of tests:

  • semi-automatic (user decides whether the test has passed or failed)
  • automatic (during test creation, software grabs picture and sound files and uses them as reference in process of testing. In test execution, it compares currently grabbed output with reference picture and sound, and decides upon given criteria whether the test has passed )

supports execution of:

  • single tests
  • collection of tests (when larger numbers of tests need to be executed)

Main application window

main_window

Application start up

Configuration. In order to configure the application, there are following files:
test_env.ini – contains description of each interfaces and device used in BBTest
*_ext.ini – contains commands for specific devices (e.g. fluke_ext.ini, quantum_ext.ini)

If some of the ports can not be opened, application will work with the rest of devices which ports are opened.
Info box is shown bellow:

BBT Application 2

Configuration dialog

For reconfiguration of working environment, using above mentioned *.ini files, select Config button or press Alt+O on keyboard.

BBT Application 3

  • Test directory - path of working directory which is root of the tree directory structure (folder with defined tests)
  • test_env.ini - path of test_env.ini configuration file which purpose is described above
  • Results.dbf - path and name of output file for storing test results in file *.dbf
  • Results.html - path and name of output file for storing test results in file *.html

For LVDS mode it is possible to choose between JEIDA8 and VESA8 (type of LVDS signals from tested platform).

Creating tests and test groups

For creating a new group of tests, Add Group button should be pressed or Alt+G. In field Group Name, name of the group needs to be entered. After selecting OK application creates directory with the same name as the group name. This directory is created in appropriate position of the project tree directory structure.

In order to create test, in already created group of tests, the group in tree view needs to be selected and then pressed Add Test button (Alt+T). Following dialog is shown on next slide.

  • Test ID - unique number which represents test ID
  • Test Name - unique test name. If the given name already exists, existing test with the same name will be overwritten
  • Test Description - short test description

BBT Application 4

After pressing Next button, following dialog is visible:

BBT Application 5

In this dialog user defines sequence of commands which needs to be executed during the test. Each command field contains command description and following buttons:

  • Add step - to add command with specified parameter at the end of steps list
  • Insert step (before) - to insert command between two existing steps, before selected step
  • Delete step - to remove selected step from the step list
  • Update step - to change selected step

After pressing Next button, confirmation dialog appears with the sequence of commands chosen in earlier step. It is designed to assure user that the proper sequence of commands is chosen.

After selecting Finish button, the test with *.tst extension is created and inserted in marked group in tree view.

Commands

All device present in system (initialized during application start) will be shown in Device combo box.

From this combo box you can select required device.

Device interpretation will be shown below

Grab

For controlling capture device. It is only used for automatic tests. During test creation, this command is used for creating reference picture. Selecting Preview, user can see how captured picture looks like.

Remote

For remote control commands. Pressing the Show/Hide Remote Control button, visual remote control is shown. The remote control command is chosen, pressing the appropriate button on the visual remote control. If the command needs to be repeated, the number of repetition can be typed in Repeat field.

  • Quantum Data
  • Fluke
  • Astro
  • Manual
  • Processing
  • Comparator

Step eddying for selected device:

In Variable combo box all device variables can be chosen.

In Value edit/combo box, appropriate value for selected variable can be set or selected.

In Cmd combo box command type can be selected

For each device Delay time can be set (delay after step execution)

Device name and description will be present on screen

After pressing Next button, following dialog is visible.

BBT Application 6

Finish button will save created test to file.

Creating projects

Project button can be used or Alt+P from keyboard. After that, following dialog is shown:

Using Browse button the path for project saving can be chosen. Project file has extension *.bbp and the name of the file is name of the project. Tests can be also added using drag&drop action.

Remove Test button removes selected test from the project.

After selecting test in test tree, pressing Delete Test button will completely remove the test.

When group of tests is selected, pressing Delete Test will erase whole group of tests and appropriate directories and files in them.

Running Tests

Running single test. Run Test button pressed or Alt+R from keyboard. Execution of test starts immediately, and new dialog is shown. Test details can be also visible, pressing Show details at the bottom of the window:

BBT Application 7

Running project. Project button should be pressed and appropriate project selected. After that, with pressing Run Project button, dialog bellow occurs.

  • Tester - user name
  • Build - version of software which is currently tested
  • Hardware - brief description of hardware that is currently testing

It is possible to repeat collection of tests, checking Repeat project option. After pressing OK button, execution of project starts.
After project execution, results are stored in file format *.dbf (e.g. Results.dbf).