Professional Documents
Culture Documents
1. GUNASEKHAR REDDY-18MIS0333;6383333195
2. SRIKAR KOTRA-18MIS0369;
3. VENKATA MOHAN-18MIS0370;9652492054
LITERATURE REVIEW:
The testing of software is an important way of assessing the software to
demonstrate its quality. Testing require 40 - 50% of development efforts, and
consumes more effort for systems that require higher levels of reliability, it is a
cogent part of the software engineering
Nowadays various tools are used to test web applications. For example
Selenium,Waitr,Sahi etc. Today we will have a look at one of the best Open
Source Web Testing Tool called Windmill.
Windmill is no longer actively maintained but still available for download from
GitHub
Windmill provides a cross-browser recorder and an interactive shell to automate
web browsers. It provides various useful features which are given below.
EXISTING SYSTEM:
The technique which tests web applications is called as Web Application
testing. Web Application testing consists of different techniques like
Compatibility testing, Functionality testing, Security testing, Interface testing,
Performance testing and Usability testing.
So the methods of measuring the quality are software testing tools. This paper
presents a study on various automated testing tools that used on different
platforms. It takes time and effort and having a software testing goal to know
which tool is the best to use given the type of software testing needs.
Automation testing tools helps the tester to easily automate the testing process.
Automation testing improves the accuracy and also save time of the tester as
compared to the manual testing. The intention of this research is to carry out a
comparing and studying the concepts, builds and features of automated tools
PROPOSED SYSTEM:
It takes time and effort and having a software testing goal to know which tool is the
best to use given the type of software testing needs.Automation testing tools helps the
tester to easily automate the testing process. Automation testing improves the
accuracy and also save time of the tester as compared to the manual testing.The
intention of this research is to carry out a comparing and studying the concepts, builds
and features of automated tools
SAMPLE TEST CASES:
Sl.no Scenario Test case Expected Actual output
output
1 Create a 1. Minimum number of 1.If sample 1.question file
sample copy questions =20 copy is is loaded
of questions 2. Proper intendation has satisfactory, 2.else display
to be maintained load the “error in
3. Last line should be question file. question file”.
END OF LINE. 2.Else display
“error in
question file”.
2 Answer to 1.Avoid punctuation and 1.Answer is
be entered capitals in answers 1.An answer is analysed.
2.An appropriate answer entered.
format need to be provided
• We can save the test suite in multiple formats. For example in python,
json and javascript.
• Windmill supports multiple browsers but supports only Python,
JavaScript and Ruby languages.
• Windmill has integrated debugging tools like Firebug and Firebug Lite.
• Test recorder for all browser platforms.
• Visual Studio or Eclipse is not required since the tests can be directly
written in the Windmill IDE.
Command Line
• Mozilla browser
There are two ways you can run windmill.
windmill firefox http://www.yoursitelink.com
windmill –m http://www.yoursitelink.com
• Chrome browser
windmill chrome http://www.yoursitelink.com
• Safari browser
windmill safari http://www.yoursitelink.com
windmill –shttp://www.yoursitelink.com
• Two windows will be opened. One will contain the application you want
to test (http://yourwebsitelink.com) and the other will contain Windmill IDE.
• Record Tests – Click on record button to start recording.
• Play Tests – Click on play button to run the test.
• Save Tests – Click on save button to save the test.
Windmill Settings
We can change the Windmill Settings from the Settings tab. For example:
• Format of saving the Test suite.
• Auto Scroll action.
• To suppress JavaScript alerts.
• Break on Failure.
• Full debug
• To use XPath only for recorder or explorer.
• Click sensitivity while recording.
• Play action
• windmill firefox
test=./path_to_your_scripts_folder/http://www.yoursitelink.com
Table of Contents
1.Introduction
1.1 Purpose of this document
1.2 Scope of the development project
1.3 Definitions, acronyms and abbreviations
1.4 References
1.5 overview of document
2.Design Considerations
2.1 operating environment
2.2 Fault tolerant design
2.3 Design Conventions
3.System Architecture
3.1 Architecture Diagram
3.2 Class diagram
3.3 Description for Component
3.4 Dynamic Behaviour of Component n
3.4.1 Interaction diagram
3.4.2 State chart Diagram
3.4.3Activity Diagram
4.Database Schema
The fundamental point of the task is to give utility to keep up everyday activities
of lofts. This product assist them with storing all exchanges electronically in a
framework, which thusly spares parcel time, cash and vitality. This undertaking
is created for a rumoured development organization in the city. This
organization manufactured numerous lofts in the city and they have an
arrangement to build numerous different flats in the city.
Likewise sending mails if the bills are not paid. This SRS will take into
consideration an entire comprehension of what is normal from the recently
acquainted framework which is with be built. The reasonable comprehension of
the framework and its usefulness will take into account the right programming
to be created for the end client and will be utilized for the advancement of
things to come phases of the task.
1.4 References
1. http://yourwebsitelink.com
2. windmill –m http://www.yoursitelink.com
3. http://www.yoursitelink.com
4. https://github.com/windmill/windmill
5. The art of Software Testing,3rd edition by Glenford J.Myers,Corey
Sandler,Tom Badgett
2. Design Considerations
3. System Architecture
3.1 Architecture Diagram
3.2 Class Diagram
3.3 Description for Component n
3.4 Dynamic Behaviour of Component n
ER Diagram
CODE:
package newproject;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
//comment the above line and uncomment below line to use Chrome
//import org.openqa.selenium.chrome.ChromeDriver;
public class PG1 {
/*
* compare the actual title of the page with the expected one and p
rint
* the result as "Passed" or "Failed"
*/
if (actualTitle.contentEquals(expectedTitle)){
System.out.println("Test Passed!");
} else {
System.out.println("Test Failed");
}
}
5. User Interface Design
WEB APPLICATION TESTING:
WINDMILL INTRODUCTION PAGE:
LOADING QUESTION FILE:
STARTING TEST:
GIVING THE ANSWER TO RANDOM QUESTION :