Sunday, 8 February 2015

Android sample Test Case using Appium

1)Most important step here set proper enviromment variables for Java and Android.
2)Install TestNg in eclipse http://beust.com/eclipse
3)More info on TestNg http://testng.org/doc/download.html
4)Install Appium sever https://bitbucket.org/appium/appium.app/downloads/
5)Install Selenium Jar http://docs.seleniumhq.org/download/


Sample Test Project
----------------------------------
1)Create a java project in eclipse(Sample Test Project using Appium)
2)SampleTestProject Source Code
3)In sample test project you give path to your main project which is to be tested
ProjectUnderTest source code
4)Include all the jars in the build path of the test project(selenium jar , selenium stand alone jar and rest of the jars present in selenium zip)
5)Start the server by clicking Appium.exe
6)Select Run as TestNg testcase for test project

Pass a HashMap from Angular Client to Spring boot API

This example is for the case where fileData is very huge and in json format   let map = new Map<string, string>()      map.set(this.ge...