CLI on Web - Google Groups

3 downloads 149 Views 180KB Size Report
Jul 6, 2012 - Use Case. ❑Developers. ❑QA Engineers. Page 4. Technologies Investigated. ❑Frontend. ❑ Google Web T
CLI on Web Click to edit Master subtitle style Vibhav Mulay 6th July 2012 www.gslab.com

Project Definition System which will provide q Web Interface q Configure Test Suites q Configure Test Cases q Commands or Scripts q Criteria q Keywords q Return Codes q Execution q Immediate q Deferred

Use Case q Developers

q QA Engineers

Technologies Investigated q Frontend

q Google Web Toolkit (GWT) q Flex

q Backend q GSTAF (GSLab Test Automation Framework) q Django

Technologies Used q Frontend (UI) q Flex q Backend q Django q Database q PostgreSQL q Server q Apache on Linux

Working of the System (Overview)

Working of the System (contd.)

System Overview

Frontend - Login q Login (only once until logout) q Flash Cookies q No Reloading

Frontend – Requests and Validations q Request q Each request corresponds to one HTTPRequest object. q Validations q Validations are done at client side.

Backend - Connection q Interface for connection with the remote host. q Connectivity q ssh – for Linux-Linux connectivity q WinExe – for Linux-Windows connectivity

Backend – Connection (contd.) q Builder pattern Remotable

RemoteLinuxLinux

RemoteLinuxWindows

Backend - Scheduler

q Periodically check for test suite execution

q Based on Thread Polls

Backend – Execution and Mail

q Execution q Functions for immediate and deferred execution q Mail

q Interface for sending mail

Backend – MVC In Django – MVC -------> MTV

Request

Controller (View) (Defines Logic) Model (Model) (Defines Data)

Response

View (Templates) (Defines Output)

Demo

Requirements q Server-side: q Python ( >= 2.6) q Django (>=1.3) q psycopg2 q mod_python q sshpass q WinExe q Client-side: q Flash Player plugin for browser q Remote Host q Windows or Linux

Future Scope q Test Beds q Parallel Execution q User Management q HTTPS

THANK - YOU