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