WEbtest and GUI sample code