Search This Blog

Friday, February 11, 2011

Wirtualne Laboratorium / Virtual Laboratory - test engineer portal

Some time ago I've written a portal in pure PHP for controlling test laboratory of C# applications. The whole testing process is based on a framework of our own production. TestSuites are run from Windows Scheduler that fires up AutoIt processes. AutoIt scripts clone a Virtual Machine. Later TestComplete 8.1 scripts are run on this VM. All actions are stored in Firebird Database engine.

The environment maintains a couple of Semaphores that are used for starting Virtual Machines. Clones are set up to start with a specific IP address that is later changed according to a dynamic list. Remote commands are sent to Windows guests via STAF (Software Testing Automation Framework). Semaphores prevent Virtual Machine clones to start at once and mix up their IP addresses and Host names.

The Virtual Laboratory portal includes:

- viewing running tests

- viewing today's tests

- viewing current week's tests

- viewing tests that ended with an error

- viewing tests from a specific time period

- viewing global testing log from today

- viewing global testing log from this week

- viewing the list of semaphores and their status

- viewing Virtual Laboratory statistics (run tests and their results, percantage of success etc)

  (all tests are divided into Test Suites that are divided into TestCases)

- viewing TestCase's/TestSuite's notes

- "count statistics" - fires up firebird's recalculation of indexes on "statistic's tables"

- help

running_tests

weekly_summ_tests

non_stand_summ_tests

tests_log

statistics

statistics2

StatistickForTestSuite

2 comments:

  1. Firebird is a good product. And all the sw I've been using firebird is very good too.

    ReplyDelete
  2. Yeah, I'd agree. Sometimes Firebird's SQL syntax is "a little" different from Oracle's and MySQL's and the performance of running Firebird inside Virtual Machines isn't mind blowing... but it's a very good Database engine.

    ReplyDelete

If you like this post, please leave a comment :)