automation of web-form creation - kinnera angadi – ms final defense guidance by – dr. daniel...

30
AUTOMATION OF WEB-FORM CREATION - KINNERA ANGADI – MS FINAL DEFENSE GUIDANCE BY – DR. DANIEL ANDRESEN

Upload: abel-harrell

Post on 31-Dec-2015

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: AUTOMATION OF WEB-FORM CREATION - KINNERA ANGADI – MS FINAL DEFENSE GUIDANCE BY – DR. DANIEL ANDRESEN

AUTOMATION OF WEB-FORM CREATION

- KINNERA ANGADI– MS FINAL DEFENSE

GUIDANCE BY – DR. DANIEL ANDRESEN

Page 2: AUTOMATION OF WEB-FORM CREATION - KINNERA ANGADI – MS FINAL DEFENSE GUIDANCE BY – DR. DANIEL ANDRESEN

PRESENTATION OVERVIEW

Introduction Motivation Challenge System Overview Features Modules Testing

Unit testing Performance testing

Project Metrics Time Frame Lessons Learnt Demo Conclusion

Page 3: AUTOMATION OF WEB-FORM CREATION - KINNERA ANGADI – MS FINAL DEFENSE GUIDANCE BY – DR. DANIEL ANDRESEN

INTRODUCTION Create any web form dynamically using a web interface Input – Form Questions

Page 4: AUTOMATION OF WEB-FORM CREATION - KINNERA ANGADI – MS FINAL DEFENSE GUIDANCE BY – DR. DANIEL ANDRESEN

INTRODUCTION (Cont’d..)

Output – Form Designed

Page 5: AUTOMATION OF WEB-FORM CREATION - KINNERA ANGADI – MS FINAL DEFENSE GUIDANCE BY – DR. DANIEL ANDRESEN

MOTIVATION

Creation of a new form every day by Code Form entries being saved to a database Advantages of this interface:

Creation in few clicks Form Entries - Save & e-mail Question Types Question Order Required Field Number of Characters

Page 6: AUTOMATION OF WEB-FORM CREATION - KINNERA ANGADI – MS FINAL DEFENSE GUIDANCE BY – DR. DANIEL ANDRESEN

CHALLENGE

Create everything dynamic. Dynamic binding. Mapping the actual form

controls to the form questions. Mapping all the form questions

and entries of a form in the database.

Reporting in 2 ways. Exporting to an

excel sheet.

Question order

User Order

Page 7: AUTOMATION OF WEB-FORM CREATION - KINNERA ANGADI – MS FINAL DEFENSE GUIDANCE BY – DR. DANIEL ANDRESEN

CHALLENGE (Contd..)

Page 8: AUTOMATION OF WEB-FORM CREATION - KINNERA ANGADI – MS FINAL DEFENSE GUIDANCE BY – DR. DANIEL ANDRESEN

SYSTEM OVERVIEW

Page 9: AUTOMATION OF WEB-FORM CREATION - KINNERA ANGADI – MS FINAL DEFENSE GUIDANCE BY – DR. DANIEL ANDRESEN

FEATURES

Automatic Creation No limit to the number of forms Reusability Flexibility Form entries to be both saved and e-mailed Reporting

Page 10: AUTOMATION OF WEB-FORM CREATION - KINNERA ANGADI – MS FINAL DEFENSE GUIDANCE BY – DR. DANIEL ANDRESEN

MODULES INVOLVED

Creation of a new web form Add/Edit/Delete Questions

Adding the form to that module Add/Copy/Delete forms

Reporting the form entries View by Questions Order View by User Order Export to an Excel Sheet

Page 11: AUTOMATION OF WEB-FORM CREATION - KINNERA ANGADI – MS FINAL DEFENSE GUIDANCE BY – DR. DANIEL ANDRESEN

FLOW CONTROL

Page 12: AUTOMATION OF WEB-FORM CREATION - KINNERA ANGADI – MS FINAL DEFENSE GUIDANCE BY – DR. DANIEL ANDRESEN

MODULE 1 -CREATE A NEW FORM

Step1. Form Information Form name, description, author

Step2. Add Form Items/Questions. a) Text Question b) Option Button List c) Check Box List

d) Dropdown List. Step3. Add/Edit Item/Question.

Question Text, Question Order, Answer data type, Number of characters.

Step4. Add/Edit Option Questions. Option text, Option Order. Edit options

Edit/ Update/ Delete Options Step5. Form Preview

Edit/ Update Questions/ Options

Page 13: AUTOMATION OF WEB-FORM CREATION - KINNERA ANGADI – MS FINAL DEFENSE GUIDANCE BY – DR. DANIEL ANDRESEN

MODULE 2- ADDING THE CREATED FORM TO A MODULE

Navigate to the form. Check the option (s) for the form entries to be either e-

mailed to a designated person, saved into the database, or both. Enter the e-mail address where the form entries have to be e-mailed.

Click the corresponding Add/Update button to add that form to the module. Once a form is added to the module it will be displayed on the first main page.

You can delete the form from your module. If you do so, your data entries will be lost.

Using copy function you can create a replica of an existing form and modify it the way you want.

Page 14: AUTOMATION OF WEB-FORM CREATION - KINNERA ANGADI – MS FINAL DEFENSE GUIDANCE BY – DR. DANIEL ANDRESEN

MODULE 2- ADDING THE CREATED FORM TO A MODULE

Page 15: AUTOMATION OF WEB-FORM CREATION - KINNERA ANGADI – MS FINAL DEFENSE GUIDANCE BY – DR. DANIEL ANDRESEN

MODULE 3- REPORTING THE FORM ENTRIES

View by Entry: This button will display the entries of the form based on entries.

If you need to export the data displayed to an excel file then click the button “Export to Excel”.

View by Question: This button will display the entries of the form based on question numbers.

Page 16: AUTOMATION OF WEB-FORM CREATION - KINNERA ANGADI – MS FINAL DEFENSE GUIDANCE BY – DR. DANIEL ANDRESEN

TESTING-ANTS LOAD

ANTS LOAD is used to predict a web application's behavior and performance under the stress of a multiple user load

I have used up to 25 concurrent users

Page 17: AUTOMATION OF WEB-FORM CREATION - KINNERA ANGADI – MS FINAL DEFENSE GUIDANCE BY – DR. DANIEL ANDRESEN

ANTS LOAD - RESULTS

The time to connect to the web page is not too high and hence the web page will not be abandoned by the users.

The time between the first byte and the last byte received is not too high when the application was tested from a dial up connection. Hence typically this application should perform with less level of “frustration” and “lost ness” while creating forms from typical networks speeds.

Page 18: AUTOMATION OF WEB-FORM CREATION - KINNERA ANGADI – MS FINAL DEFENSE GUIDANCE BY – DR. DANIEL ANDRESEN

TESTING- MATC

This is used to stress test web servers and analyze performance and scalability problems with web applications.

This type of testing is accomplished by opening multiple connections to the server and rapidly sending HTTP requests, thereby simulating a large group of users.

It’s a great tool that provides a lot of capability, and it’s “free”

It lets you simulate upto a large number of concurrent users. I have used up to 100 simultaneous users.

Page 19: AUTOMATION OF WEB-FORM CREATION - KINNERA ANGADI – MS FINAL DEFENSE GUIDANCE BY – DR. DANIEL ANDRESEN

TESTING- MATC - RESULTS

Page 20: AUTOMATION OF WEB-FORM CREATION - KINNERA ANGADI – MS FINAL DEFENSE GUIDANCE BY – DR. DANIEL ANDRESEN

PERFORMANCE-VIEW STATE ENABLED Vs VIEW STATE DISABLED

VIEW STATE ENABLED

VIEW STATE DISABLED

Page 21: AUTOMATION OF WEB-FORM CREATION - KINNERA ANGADI – MS FINAL DEFENSE GUIDANCE BY – DR. DANIEL ANDRESEN

TESTING – HARNESSIT-How it was performed

Test performed Result

Form DetailsChecking for the form

information The form information was validated. For example: form name, title, description

Form Question/OptionsTesting the form questions and answers, Question order, Question size, Required fields, Data Types – TB, RB, CB, DDL

The form questions and answers were obtained as expected. The test for the Question order, Question size, Required fields, Data Types – TB, RB, CB, DDL gave expected results.

Delete Form Questions/ Options

The form questions and options were deleted and checked for the correct functioning of the

delete mode

The results were expected as desired after the question was deleted.

Page 22: AUTOMATION OF WEB-FORM CREATION - KINNERA ANGADI – MS FINAL DEFENSE GUIDANCE BY – DR. DANIEL ANDRESEN

TESTING – HARNESSIT - RESULTS

Page 23: AUTOMATION OF WEB-FORM CREATION - KINNERA ANGADI – MS FINAL DEFENSE GUIDANCE BY – DR. DANIEL ANDRESEN

TESTING – HARNESSIT - RESULTS

Page 24: AUTOMATION OF WEB-FORM CREATION - KINNERA ANGADI – MS FINAL DEFENSE GUIDANCE BY – DR. DANIEL ANDRESEN

TESTING – HARNESSIT – TEST CASES

Page 25: AUTOMATION OF WEB-FORM CREATION - KINNERA ANGADI – MS FINAL DEFENSE GUIDANCE BY – DR. DANIEL ANDRESEN

PROJECT METRICS

Microsoft Visual Studio.NET 2003 ASP.NET, C# Oracle 10g Source Code Lines

Web Forms :2210 Web User Control :1570 Class File : 960 Total : ------------------

4740

----------------------

Page 26: AUTOMATION OF WEB-FORM CREATION - KINNERA ANGADI – MS FINAL DEFENSE GUIDANCE BY – DR. DANIEL ANDRESEN

TIME FRAME

October 05 – December -05 Data base Design, Analysis, System Architecture

January 06 – April 06 Implementation, Modules – Create form, Add form, Reporting

April 06 – June 06 Testing, Documentation

Page 27: AUTOMATION OF WEB-FORM CREATION - KINNERA ANGADI – MS FINAL DEFENSE GUIDANCE BY – DR. DANIEL ANDRESEN

LESSONS LEARNT

Usage of data grid item templates, properties, how to embed edit update cancel hyperlink columns into the data grid, how to dynamically bind text to data grid.

I have learnt the importance of user controls in ASP.NET. I have learnt the usage of Object oriented concepts in ASP.NET. Export results form a data grid to an excel sheet I have learnt auto e-mail generation. Validation of forms - usage of Regular expressions in ASP.NET. I have learnt to create stored procedures and packages. I have learnt

the usage of input output parameters used in the tables. I have also learnt nested queries, usage of sequence and triggers.

I have learnt the testing tools ANTS Load (version 1.7), HarnessIt and Microsoft Application test Center.

Page 28: AUTOMATION OF WEB-FORM CREATION - KINNERA ANGADI – MS FINAL DEFENSE GUIDANCE BY – DR. DANIEL ANDRESEN

DEMO!!

Page 29: AUTOMATION OF WEB-FORM CREATION - KINNERA ANGADI – MS FINAL DEFENSE GUIDANCE BY – DR. DANIEL ANDRESEN

CONCLUSION

Page 30: AUTOMATION OF WEB-FORM CREATION - KINNERA ANGADI – MS FINAL DEFENSE GUIDANCE BY – DR. DANIEL ANDRESEN

QUESTIONS???