1.monkeyrunner
monkeyrunner is a automation tool which provides us to conduct BlackBox testing on android applications.
The monkeyrunner tool provides a Python API for writing programs that control an Android device or emulator from outside of Android code.
With monkeyrunner, you can write a Python program that installs an Android application or test package, runs it, sends keystrokes to it, takes screenshots of its user interface, and stores screenshots on the workstation.
The monkeyrunner tool is primarily designed to test applications and devices at the functional/framework level and for running unit test suites, but you are free to use it for other purposes.
2.What all we need before we get it started?
We need the below:
1. Windows 7/8 OS
2. Java 6
3. Eclipse
4. Android device running min android version 2.3.4
5. Python
6. Jython
7. Application to be tested
3.How to setup monkeyrunner in Eclipse?
1. First download Python from this site: http://www.python.org/getit/
2. Second download Jython.jar file from this site: http://www.jython.org/downloads.html
3. Download the Jython Installer from this site: https://wiki.python.org/jython/DownloadInstructions
3. After downloading the above files install Python.
4. Basic Install for Jython:
After downloading Jython installer, either double click the jython_installer-
2.5.2.jar
or run java with the -jar option
Quote:
java -jar jython_installer-2.5.2.jar
5. Now after completion of this we will move to Eclipse and download PyDev from Eclipse market place as shown below:
6. When finished install, Go to Window->Preferences->PyDev->Interpreters
- Jython interpreters : Click [new...] and got o the path where you have installed Jython.
For me it is at C:/jython/jython.jar
- Libraries : Click [New Jar/Zip(s)] and enter your ANDROID_SDK_PATH/tools/lib/monkeyrunner.jar
as shown below:
7. After this Go to Window->Preferences->PyDev->Interpreters->
- Python interpreters :
Click [new...] and got o the path where you have installed Python.
For me it is at C:/Python33/python.jar
as shown below:
4. How to write and execute monkeyrunner Script?
1. Go to File-> New -> PyDev Project -> Give any project Name and select Jython as shown below:
2. Now right click on the newly created project -> New -> PyDev Module
3. Give any Name to the project but leave the package field empty as shown below:
Tuesday, December 22, 2015
Friday, December 4, 2015
2015.12.04
I have created the database design document for Employee Management System. The Documentation is attached to my google drive.
2015.12.02/03
I learned about two load testing tools. That are WAPT and WebServer stress tool. I have installed these two tools on my computer easily and I have worked uisng WAPT.
WAPT
WAPT is a load and stress testing tool that lets you easily analyze the performance of your web site. It can be a mobile application, a web service or a customized ERP system. Web solutions of all sizes and technologies can be tested with WAPT just fine.
The test is created in a matter of minutes. A few clicks are required to make thousands virtual users execute concurrent sessions against your web application. In case you need to emulate reach client functionality in the data-driven mode, you can add variables and session-specific values. This is done with help of a convenient user interface that lets you browse and modify your test as a simple sequence of HTTP requests. No script programming is required unless you want to integrate complex calculations into your test.
Descriptive graphs and reports will let you analyze the performance characteristics of your system components under various load conditions, isolate and fix any bottlenecks and optimize your software and hardware configuration.
We help businesses test and adjust their web solutions, run all checks before going to production and eliminate risks of unexpected overload. If you are about to release a new or an updated application, WAPT will answer all the business-critical questions related to it:
How many concurrent users your web site can handle?
What response time your users will experience?
How frequently users will see errors and need to reconnect?
Will your site respond correctly to a stress load?
Can it get back to normal operation after that?
Web Server Stress Tool
Webserver Stress Tool is a powerful HTTP-client/server test application designed to pinpoint critical performance issues in your web site or web server that may prevent optimal experience for your site's visitors.
By simulating the HTTP requests generated by hundreds or even thousands of simultaneous users, you can test your web server performance under normal and excessive loads to ensure that critical information and services are available at speeds your end-users expect.
Detailed test logs and several easy to read graphs make analyzing results a snap. Webserver Stress Tool for Windows (2003 R2, Vista, 7, 2008) can benchmark almost any HTTP server (e.g. static pages, JSPs/ASPs, or CGIs) for performance, load, and stress-tests.
WAPT
WAPT is a load and stress testing tool that lets you easily analyze the performance of your web site. It can be a mobile application, a web service or a customized ERP system. Web solutions of all sizes and technologies can be tested with WAPT just fine.
The test is created in a matter of minutes. A few clicks are required to make thousands virtual users execute concurrent sessions against your web application. In case you need to emulate reach client functionality in the data-driven mode, you can add variables and session-specific values. This is done with help of a convenient user interface that lets you browse and modify your test as a simple sequence of HTTP requests. No script programming is required unless you want to integrate complex calculations into your test.
Descriptive graphs and reports will let you analyze the performance characteristics of your system components under various load conditions, isolate and fix any bottlenecks and optimize your software and hardware configuration.
We help businesses test and adjust their web solutions, run all checks before going to production and eliminate risks of unexpected overload. If you are about to release a new or an updated application, WAPT will answer all the business-critical questions related to it:
How many concurrent users your web site can handle?
What response time your users will experience?
How frequently users will see errors and need to reconnect?
Will your site respond correctly to a stress load?
Can it get back to normal operation after that?
Web Server Stress Tool
Webserver Stress Tool is a powerful HTTP-client/server test application designed to pinpoint critical performance issues in your web site or web server that may prevent optimal experience for your site's visitors.
By simulating the HTTP requests generated by hundreds or even thousands of simultaneous users, you can test your web server performance under normal and excessive loads to ensure that critical information and services are available at speeds your end-users expect.
Detailed test logs and several easy to read graphs make analyzing results a snap. Webserver Stress Tool for Windows (2003 R2, Vista, 7, 2008) can benchmark almost any HTTP server (e.g. static pages, JSPs/ASPs, or CGIs) for performance, load, and stress-tests.
Wednesday, December 2, 2015
2015.11.24/25/26
In these three days i Learned further more about Feature files. There I got to know about script outline and how to set a new driver for script.
27- leave
Subscribe to:
Comments
(
Atom
)





