An Architectural Review ofTAKEaTEST.NetAn Architectural Review ofTAKEaTEST.Net
Southern California Code CampSouthern California Code Camp
California State University, FullertonCalifornia State University, Fullerton
January 21-22, 2006January 21-22, 2006
Ben AminniaBen Aminnia
Pointer CorporationPointer Corporation
2
Primary GoalsPrimary Goals
Table-Driven Test Taking Tool onthe WebTable-Driven Test Taking Tool onthe Web
Conduct Multiple Test Styles, usingthe same Test EngineConduct Multiple Test Styles, usingthe same Test Engine
Define Test Groups Accessible byEach Login IDDefine Test Groups Accessible byEach Login ID
Define New Tests without CreatingNew Web PagesDefine New Tests without CreatingNew Web Pages
Store Test Results in DatabaseStore Test Results in Database
3
Test StylesTest Styles
Style - Multiple ChoiceStyle - Multiple Choice
Style - Rating Scale of through 5Style - Rating Scale of through 5
Style - Rating Scale with CustomHeadingsStyle - Rating Scale with CustomHeadings
Style - Rating Scale with 2-5 CustomHeadingsStyle - Rating Scale with 2-5 CustomHeadings
Style - Rating Scale of through withUser CommentsStyle - Rating Scale of through withUser Comments
Style - Rating Scale with 2-9 CustomHeadings and Optional User CommentsStyle - Rating Scale with 2-9 CustomHeadings and Optional User Comments
4
Test Style 1Multiple ChoiceTest Style 1Multiple Choice
style1
5
Test Style 2Rating Scale of through 5Test Style 2Rating Scale of through 5
style2
6
Test Style 3Rating Scale with Custom HeadingsTest Style 3Rating Scale with Custom Headings
style3
7
Test Style 4Rating Scale with 2-5 Custom HeadingsTest Style 4Rating Scale with 2-5 Custom Headings
style4
8
Test Style 5Rating Scale of through with UserCommentsTest Style 5Rating Scale of through with UserComments
style5
9
Test Style 6Rating Scale with 2-9 Custom Headings andOptional User CommentsTest Style 6Rating Scale with 2-9 Custom Headings andOptional User Comments
style6
10
Scoring StylesScoring Styles
Different Score for each Question(e.g. The Millionnaire)Different Score for each Question(e.g. The Millionnaire)
Order of Option ButtonOrder of Option Button
Reverse Order of Option Button (e.g.Priority Order)Reverse Order of Option Button (e.g.Priority Order)
NoneNone
11
Design DocumentsDesign Documents
Database E/R DiagramDatabase E/R Diagram
Web Page Navigation ChartWeb Page Navigation Chart
Sanity SaversSanity Savers
Session VariablesSession Variables
Stored Procedures SummaryStored Procedures Summary
12
Database E/R DiagramDatabase E/R Diagram
er
13
Web Page Navigation ChartWeb Page Navigation Chart
navigation
14
The Test Engine at Glance The Test Engine at Glance 
Interactive Entry viawww.TAKEaTEST.netInteractive Entry viawww.TAKEaTEST.net
Index.htmIndex.htm
Automated Entry viaAnother ApplicationAutomated Entry viaAnother Application
ASP.NET Test EngineASP.NET Test Engine
SQL Server DatabaseSQL Server Database
BD21298_
BD21298_
BD21298_
15
Different Ways to LaunchTAKEaTEST.NetDifferent Ways to LaunchTAKEaTEST.Net
From the Internet From the Internet 
Login with Shared ID (e.g. Guest)Login with Shared ID (e.g. Guest)
Login with Private ID (e.g. CodeCamp)Login with Private ID (e.g. CodeCamp)
DemoDemo
From Another ApplicationFrom Another Application
Necessary Information Passed viaArgumentsNecessary Information Passed viaArguments
No Login Page – Proceed to Test GroupNo Login Page – Proceed to Test Group
DemoDemo
16
DB TechnologyDB Technology
Original prototype was in MS Access!Original prototype was in MS Access!
Soon converted to SQL Server 2000Soon converted to SQL Server 2000
couple of in-line queriescouple of in-line queries
Mostly Stored-ProceduresMostly Stored-Procedures
17
DB ConnectionDB Connection
Mix of OLEDB and SQLConnectMix of OLEDB and SQLConnect
Logic to Identify Local vs. WWW(thus showing certain things in Localmode only)Logic to Identify Local vs. WWW(thus showing certain things in Localmode only)
Connection string housed inside thecode (NOT in web.config)Connection string housed inside thecode (NOT in web.config)
18
DeploymentDeployment
ApplicationApplication
Development: FP2003Development: FP2003
Production: Visual Studio Setup AppProduction: Visual Studio Setup App
DatabaseDatabase
Major Upgrades: ScriptMajor Upgrades: Script
Minor Upgrades: RedoMinor Upgrades: Redo
19
Email CapabilitiesEmail Capabilities
Send test results to designatedadministratorSend test results to designatedadministrator
Via SMTP (not Outlook)Via SMTP (not Outlook)
My SMTP or YoursMy SMTP or Yours
OptionalOptional
20
Under the Hood Under the Hood 
21
Speaker EvaluationSpeaker Evaluation
Login ID:codecampLogin ID:codecamp