title: how to write testcase of Appium automation testing for android and where to write? and how to execute the test case?
body: <p>I searched in google and see java code like:</p>
  
  <pre><code>DesiredCapabilities capabilities = new DesiredCapabilities();
  capabilities.setCapability(CapabilityType.BROWSER_NAME, "Android");
  capabilities.setCapability("device", "Android");
  capabilities.setCapability(CapabilityType.VERSION, "4.2");
  capabilities.setCapability(CapabilityType.PLATFORM, "Windows");
  capabilities.setCapability("app", "C:\\Android Apps\\Calculator.apk");      
  //This is path of your application
  capabilities.setCapability("app-package", "com.calculator");                   
   // This is package name of your app
  capabilities.setCapability("app-activity", "MainActivity");                          
  // This Launcher activity of your app
  RemoteWebDriver remoteWebDriver = new RemoteWebDriver(new URL("http://127.0.0.1:4723/wd/hub"), capabilities);  
  </code></pre>
  
  <p>But I am not understanding where to write the code and after that how to write the test case and execute. I will thankful if guide me step by step.                                        </p>