Question about Model-Based Testing

Awesome read

Jeff Fry on Testing


First, a quick note on terms. I tend to use James Bach’s definition of Testing as “Questioning a product in order to evaluate it”. All test rely on /mental/ models of the application under test. The term Model-Based Testing though is typically used to describe programming a model which can be explored via automation. For example, one might specify a number of states that an application can be in, various paths between those states, and certain assertions about what should occur in on the transition between those states.
There are real costs here: building a useful model, creating algorithms for exploring it, logging systems that allow one to weed through for interesting failures, etc. Whether or not the costs are reasonable has a lot to do with *what are the questions you want to answer?* In general, start with “What do I want to know? And how can I…

View original post 902 more words


Android adb over Wifi

NoOb CoDeR

You can connect to Android device adb through TCP/IP (Wi-Fi) connection. This is very useful if you want to check usb connection or charging discharging feature while debugging. Your PC and device has to be in same network and you need to know the IP address of your device. To do this connect your device over usb. Check it is in debug mode by

Start the adb in TCP/IP mode in port 5555 (default port). You can use other port (8888, etc).

Then connect to your device over Wi-Fi

where xxx.yyy.zzz.ppp is the IP address of your device.

Then run

Then unplug the device over usb, and run

It should show the logs of your device.

To return back to usb mode, run

You may have to connect your device over usb to do this.

View original post

JMeter and WebDriver – 2 ways to combine them effectively

Technical Software Testing

In my previous post I wrote about why it can be useful to combine running load tests in combination with functional automated tests (checks). In this post I will go in a bit deeper and give some ways to combine the two effectively and efficiently. Apache JMeterplus-2-256Selenium Logo

2 ways to combine JMeter and WebDriver effectively

The two ways to combine Jmeter and WebDriver I will describe differ quite a bit. Depending on your situation you may want to choose one or the other for your purposes. Keep in mind, these are ideas of how I have used the two effectively together, this is not necessarily the best way for you!

Existing webdriver tests

Quite a lot of organisations already have a fairly solid base of testautomation in place, in various states of success. A relatively easy way to get performance metrics for your application is to add a timer to your existing webdriver automation…

View original post 511 more words

constructor in java


Constructors in Java

How to call a constructor? The constructor gets called when we create an object of a class (i.e. new keyword followed by class name). For e.g. Demo obj =  new Demo(); (here Demo() is a default constructor of Demo class).

How does it look?

Default constructor: It is also known as no-arg constructor. Constructor with no arguments is known as default constructor.

classDemo{publicDemo(){System.out.println("This is a default constructor");}}

Parameterized constructor: Constructor with argument list is known as parameterized constructor.

classDemo{publicDemo(int num,String str

View original post 951 more words

Sikuli integration with Selenium

This is supercool trick…


Sikuli – An introduction

SikuliXautomates anything you see on the screen of your desktop computer running on Windows/ Mac/Unix. It uses images patterns to identify and control GUI components.

This is useful when we try to automate a page developed using Flex, Adobe or Flash where the html DOM Structure is not defined easily.

That is why it is called as WYSIWYC – “what you see is what you script”

After reading the above introduction, my first impression as a selenium automation engg was “ May be sikuli is something very complex to learn and use in our day to day automation. Unless we spend some good amount of time in it, we can’t think of using Sikuli”

If your thoughts are similar to these, then you are the one to who is supposed to read this..

Let me give you quick step by step start on using sikuli…

View original post 429 more words

TestRunner – soapUI project execution from command line

Execute from command line…

Learn soapUI - Open Source

Folks, in this post i will be covering the use of test runner – by which you can execute your soapUI projects (from command line) without opening soapUI application.

This feature will by very useful when you want to perform the regression test on the newly deployed code & to store the response data in some files. And execution can be done by anyone (including people who don’t know “how to use soapUI”).

testrunner.bat (soapui_install_dir/bin folder) is a command line utility which is getting called whenever we execute our testcases with some predefined (or userdefined) conditions. In soapUI application, right click on any selected testcase/test suite and then select “launch test runner” from the context menu to call the test runner.bat file. This will open a new window wherein you can provide the required configuration data like, testcase/testsuite to be executed, endpoint url, folder to store the response, ignore the…

View original post 379 more words