Hi, i am facing regularly this error on appium studio while running the script

org.openqa.selenium.WebDriverException: unknown error (An unknown server-side error occurred. status=‘false’. Failed to complete internal method: ‘closeKeyboard args: null’, details: Failed to execute close keyboard. Command C:Program Files (x86)ExperitestAppiumStudiobinadbadb.exe -s NE1GAM4782036608 shell dumpsys input_method | grep mInputShown got timed-out after 10000) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 11.78 seconds Build info: version: ‘2.45.0’, revision: ‘5017cb8’, time: ‘2015-02-26 23:59:50’ System info: host: ‘DESKTOP-VLC1JOI’, ip: ‘192.168.86.2’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_111’ Driver info: io.appium.java_client.android.AndroidDriver Capabilities [{appPackage=com.mobile.producersonline, device.majorVersion=9, dontGoHomeOnQuit=false, device.os=Android, noReset=false, dontStopAppOnReset=false, reservationDuration=240, reportFormat=xml, deviceName=XUV3Y18725041617, fullReset=false, platform=ANY, deviceUDID=NE1GAM4782036608, install.only.for.update=false, desired={app=E:Appapp-release_2_29_103_prod.apk, appPackage=com.mobile.producersonline, appActivity=com.mobile.producersonline.SplashActivity, platformName=Android, platformversion=8.0.0, deviceName=XUV3Y18725041617}, device.serialNumber=NE1GAM4782036608, locationServicesAuthorized=false, device.version=9, reportDirectory=reports, autoWebview=false, platformName=Android, udid=NE1GAM4782036608, testName=mobile test 11/15/19 05:37 AM, device.screenSize=720x1280, useKeystore=false, app=E:Appapp-release_2_29_103_prod.apk, test.type=Mobile, device.manufacture=HMD Global, instrumentApp=false, appiumVersion=1.8.0, device.category=PHONE, autoDismissAlerts=false, reportUrl=C:UsersAdminappiumstudio-reportsreportstest22105, newSessionWaitTimeout=300, keystorePath=~/.android/debug.keystore, appActivity=com.mobile.producersonline.SplashActivity, waitForDeviceTimeout=120000, device.model=TA-1032, device.name=TA-1032, autoGrantPermissions=false, takeScreenshots=true, platformversion=8.0.0, projectName=, autoAcceptAlerts=false}] Session ID: 8d890541-aecc-4e6c-9e5f-b20e71275b2d at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:204) at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:156) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:599) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:180) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:185) at io.appium.java_client.AppiumDriver.hideKeyboard(AppiumDriver.java:257) at Prod.BuyerLoginAddSaleEntryCases.AddproductWithEmptyBagNumber(BuyerLoginAddSaleEntryCases.java:609) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84) at org.testng.internal.Invoker.invokeMethod(Invoker.java:714) at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901) at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231) at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111) at org.testng.TestRunner.privateRun(TestRunner.java:767) at org.testng.TestRunner.run(TestRunner.java:617) at org.testng.SuiteRunner.runTest(SuiteRunner.java:334) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291) at org.testng.SuiteRunner.run(SuiteRunner.java:240) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224) at org.testng.TestNG.runSuitesLocally(TestNG.java:1149) at org.testng.TestNG.run(TestNG.java:1057) at org.testng.TestNG.privateMain(TestNG.java:1364) at org.testng.TestNG.main(TestNG.java:1333)

Are you using closeKeyboard command specifically in the test ?

yes, i am using every test using close keyboard command

in case i gave the close key board in before method is some times is not working

Can you paste the the code how are you using it ?
Please also paste the instance reference.

Example:
SeeTestClient seetest = new (driver);
seetest.closeKeyboard();

This code is i am facing syntax error

I am asking you to paste your code with Reference, I just gave you an example the intention was not to use it.

Please paste your code.

package src.Production;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.Test;
import org.testng.annotations.BeforeMethod;
import io.appium.java_client.MobileElement;
import io.appium.java_client.TouchAction;
import io.appium.java_client.android.AndroidDriver;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.List;
import java.util.concurrent.TimeUnit;

import javax.security.sasl.SaslClient;

import org.openqa.selenium.By;
import org.openqa.selenium.Keys;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.lift.WebDriverTestContext;
import org.openqa.selenium.remote.DesiredCapabilities;
//import org.testng.annotations.AfterMethod;
//import org.testng.annotations.BeforeMethod;
//import org.testng.annotations.Test;
import org.openqa.selenium.remote.RemoteWebElement;

public class ProfileCases {

private AndroidDriver driver;
private Object ExpectedConditions;

@BeforeMethod
public void setUp() throws MalformedURLException {
DesiredCapabilities desiredCapabilities = new DesiredCapabilities();
desiredCapabilities.setCapability(“platformName”, “Android”);
desiredCapabilities.setCapability(“platformversion”, “8.0.0”);
desiredCapabilities.setCapability(“deviceName”, “XUV3Y18725041617”);

desiredCapabilities.setCapability("app", "D:\\App\\app-release_2_29_103_prod.apk");

// desiredCapabilities.setCapability(“app”, “D:\App\app-release_2_25_98_prod.apk”);

desiredCapabilities.setCapability("appPackage", "com.mobile.producersonline");
desiredCapabilities.setCapability("appActivity", "com.mobile.producersonline.SplashActivity");


URL remoteUrl = new URL("http://localhost:4723/wd/hub");

driver = new AndroidDriver(remoteUrl, desiredCapabilities);
driver.manage().timeouts().implicitlyWait(80, TimeUnit.SECONDS);

 
}

// private void setCapability(String string, String string2) {
// TODO Auto-generated method stub

//}
@Test
public void UpdateProfilePageinNameandemail() throws InterruptedException {

  MobileElement allow = (MobileElement) driver.findElementById("com.android.packageinstaller:id/permission_allow_button");
  allow.click();	Thread.sleep(3000);

MobileElement Buyer = (MobileElement) driver.findElementByXPath("//*[@text='BUYER']");
Buyer.click();Thread.sleep(6000);

   
  //enter valid user id
  MobileElement Userid = (MobileElement) driver.findElementById("com.mobile.producersonline:id/edtEmailOrPhone");
  Userid .sendKeys("ONLINEP");
  	Thread.sleep(1000);
  	//enter valid password
  	MobileElement Password = (MobileElement) driver.findElementById("com.mobile.producersonline:id/edtPassword");
  	Password.sendKeys("12345");	Thread.sleep(1000);
  	 driver.hideKeyboard();
     driver.hideKeyboard();
  	 driver.scrollTo("R");
  	//click on submit button
  	MobileElement Signinbtn = (MobileElement) driver.findElementById("com.mobile.producersonline:id/btnSignIn");
  	Signinbtn.click();	Thread.sleep(1000);

  	//click on allow msg
  
  //click on navigation button
  MobileElement navigate = (MobileElement) driver.findElementByAccessibilityId("Open navigation drawer");
  navigate.click();
  //click on profile button
  MobileElement profile = (MobileElement) driver.findElementByXPath("/hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.support.v4.widget.DrawerLayout/android.widget.FrameLayout/android.support.v7.widget.RecyclerView/android.support.v7.widget.LinearLayoutCompat[4]/android.widget.CheckedTextView");
  profile.click();Thread.sleep(60000);
  

	 MobileElement element = (MobileElement) driver.findElementByXPath("//*[@text='My Profile']");
 boolean isDisplayed = element.isDisplayed();Thread.sleep(2000);


  //enter mobile number

// MobileElement mobileno = (MobileElement) driver.findElementById(“com.mobile.producersonline:id/edtPhonenumber”);
// mobileno.sendKeys(“9182985239”);Thread.sleep(6000);
driver.hideKeyboard();
driver.hideKeyboard();
//click on update button
// MobileElement updatebtn1 = (MobileElement) driver.findElementById(“com.mobile.producersonline:id/checkboxSelling”);
// updatebtn1.click();Thread.sleep(6000);
driver.scrollTo(“R”);

  MobileElement updatebtn = (MobileElement) driver.findElementByXPath("//*[@text='UPDATE AND LOGOUT']");
  updatebtn.click();Thread.sleep(6000);
   //click on ok button
  MobileElement clickok = (MobileElement) driver.findElementById("com.mobile.producersonline:id/btnInfoOk");
  clickok.click();	  Thread.sleep(6000);

}
@Test
public void OpenProfilePage() throws InterruptedException {

  MobileElement allow = (MobileElement) driver.findElementById("com.android.packageinstaller:id/permission_allow_button");
  allow.click();	Thread.sleep(3000);

MobileElement Buyer = (MobileElement) driver.findElementByXPath("//*[@text='BUYER']");
Buyer.click();Thread.sleep(6000);


  //enter valid user id
  MobileElement Userid = (MobileElement) driver.findElementById("com.mobile.producersonline:id/edtEmailOrPhone");
  Userid .sendKeys("ONLINEP");
  	Thread.sleep(1000);
  	//enter valid password
  	MobileElement Password = (MobileElement) driver.findElementById("com.mobile.producersonline:id/edtPassword");
  	Password.sendKeys("12345");	Thread.sleep(1000);
  	 driver.hideKeyboard();
     driver.hideKeyboard();
  	 driver.scrollTo("R");
  	//click on submit button
  	MobileElement Signinbtn = (MobileElement) driver.findElementById("com.mobile.producersonline:id/btnSignIn");
  	Signinbtn.click();	Thread.sleep(1000);

  	//click on allow msg
  	//click on navigation button
    MobileElement navigate = (MobileElement) driver.findElementByAccessibilityId("Open navigation drawer");
	  navigate.click();
	  //click on profile button
	  MobileElement el1 = (MobileElement) driver.findElementById("com.mobile.producersonline:id/lytHeader");
	  el1.click();Thread.sleep(10000);
	  

		 MobileElement element = (MobileElement) driver.findElementByXPath("//*[@text='My Profile']");
	 boolean isDisplayed = element.isDisplayed();Thread.sleep(2000);

}

@Test
public void logout() throws InterruptedException {

 MobileElement allow = (MobileElement) driver.findElementById("com.android.packageinstaller:id/permission_allow_button");
  allow.click();	Thread.sleep(3000);

MobileElement Buyer = (MobileElement) driver.findElementByXPath("//*[@text='BUYER']");
Buyer.click();Thread.sleep(6000);


 //enter valid user id
  MobileElement Userid = (MobileElement) driver.findElementById("com.mobile.producersonline:id/edtEmailOrPhone");
  Userid .sendKeys("ONLINEP");
  	Thread.sleep(1000);
  	//enter valid password
  	MobileElement Password = (MobileElement) driver.findElementById("com.mobile.producersonline:id/edtPassword");
  	Password.sendKeys("12345");	Thread.sleep(1000);
  	 driver.hideKeyboard();
     driver.hideKeyboard();
  	 driver.scrollTo("R");
  	//click on submit button
  	MobileElement Signinbtn = (MobileElement) driver.findElementById("com.mobile.producersonline:id/btnSignIn");
  	Signinbtn.click();	Thread.sleep(1000);
  	//click on allow msg
  	//click on navigation button
  MobileElement navigate = (MobileElement) driver.findElementByAccessibilityId("Open navigation drawer");
  navigate.click();Thread.sleep(2000);
  //click on profile button
  MobileElement el1 = (MobileElement) driver.findElementById("com.mobile.producersonline:id/lytHeader");
  el1.click();Thread.sleep(60000);
  

	 MobileElement element = (MobileElement) driver.findElementByXPath("//*[@text='My Profile']");
 boolean isDisplayed = element.isDisplayed();Thread.sleep(2000);


  
  MobileElement mobileno = (MobileElement) driver.findElementById("com.mobile.producersonline:id/edtPhonenumber");
  mobileno.click();
  driver.hideKeyboard();
  driver.hideKeyboard();
	
	driver.scrollTo("R");
	//clcik on logout button
  	MobileElement logoutbtn = (MobileElement) driver.findElementByXPath("//*[@text='UPDATE AND LOGOUT']");//*[@text='UPDATE AND LOGOUT']
  	logoutbtn.click();Thread.sleep(2000);

  }

@Test
public void LoginwithGmailinMenuBarHeaderNameanduserid() throws InterruptedException{

 MobileElement allow = (MobileElement) driver.findElementById("com.android.packageinstaller:id/permission_allow_button");
  allow.click();	Thread.sleep(3000);

MobileElement Buyer = (MobileElement) driver.findElementByXPath("//*[@text='BUYER']");
Buyer.click();Thread.sleep(6000);

MobileElement googlebtn = (MobileElement) driver.findElementByXPath("/hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.view.ViewGroup/android.widget.ScrollView/android.widget.LinearLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.Button");
googlebtn.click();Thread.sleep(1000);
//click on your account email
MobileElement clickmail = (MobileElement) driver.findElementByXPath("//[@text=‘sudhironline0@gmail.com’]");
clickmail.click();Thread.sleep(5000);
MobileElement back = (MobileElement) driver.findElementByXPath("//
[@contentDescription=‘Navigate up’]");
back.click();Thread.sleep(6000);

//	  MobileElement back1 = (MobileElement) driver.findElementByXPath("//*[@contentDescription='Navigate up']");
//		back1.click();Thread.sleep(6000);

//click on allow permission

MobileElement navigate = (MobileElement) driver.findElementByAccessibilityId(“Open navigation drawer”);
navigate.click();Thread.sleep(1000);

 // MobileElement element = (MobileElement) driver.findElementByXPath("//*[@text='sudhir.yalla92@gmail.com']");
 //  boolean isDisplayed = element.isDisplayed();Thread.sleep(2000);

  //click on profile button



//*[@text='My Profile']

}
@Test
public void LoginwithNormalinMenuBarHeaderNameandUsername() throws InterruptedException{

 MobileElement allow = (MobileElement) driver.findElementById("com.android.packageinstaller:id/permission_allow_button");
  allow.click();	Thread.sleep(3000);

MobileElement Buyer = (MobileElement) driver.findElementByXPath("//*[@text='BUYER']");
Buyer.click();Thread.sleep(6000);


  //enter valid user id
	  MobileElement Userid = (MobileElement) driver.findElementById("com.mobile.producersonline:id/edtEmailOrPhone");
	  Userid .sendKeys("ONLINEP");
	  	Thread.sleep(1000);
	  	//enter valid password
	  	MobileElement Password = (MobileElement) driver.findElementById("com.mobile.producersonline:id/edtPassword");
	  	Password.sendKeys("12345");	Thread.sleep(1000);
	  	 driver.hideKeyboard();
	     driver.hideKeyboard();
	  	 driver.scrollTo("R");
	 	MobileElement Signinbtn = (MobileElement) driver.findElementById("com.mobile.producersonline:id/btnSignIn");
	  	Signinbtn.click();	Thread.sleep(1000);
	
	  
	//click on allow permission 
	 MobileElement navigate = (MobileElement) driver.findElementByAccessibilityId("Open navigation drawer");
  navigate.click();

//  MobileElement element = (MobileElement) driver.findElementByXPath("//*[@text='ONLINEP']");
 //  boolean isDisplayed = element.isDisplayed();Thread.sleep(2000);







}

@Test
public void UpdateSellingandBuying() throws InterruptedException {

 MobileElement allow = (MobileElement) driver.findElementById("com.android.packageinstaller:id/permission_allow_button");
  allow.click();	Thread.sleep(3000);

MobileElement Buyer = (MobileElement) driver.findElementByXPath("//*[@text='BUYER']");
Buyer.click();Thread.sleep(6000);

   
  //enter valid user id
  MobileElement Userid = (MobileElement) driver.findElementById("com.mobile.producersonline:id/edtEmailOrPhone");
  Userid .sendKeys("ONLINEP");
  	Thread.sleep(1000);
  	//enter valid password
  	MobileElement Password = (MobileElement) driver.findElementById("com.mobile.producersonline:id/edtPassword");
  	Password.sendKeys("12345");	Thread.sleep(1000);
  	 driver.hideKeyboard();
     driver.hideKeyboard();
  	 driver.scrollTo("R");
  	//click on submit button
  	MobileElement Signinbtn = (MobileElement) driver.findElementById("com.mobile.producersonline:id/btnSignIn");
  	Signinbtn.click();	Thread.sleep(1000);
	  	//click on allow msg
  
  //click on navigation button
  MobileElement navigate = (MobileElement) driver.findElementByAccessibilityId("Open navigation drawer");
  navigate.click();
  //click on profile button
  MobileElement profile = (MobileElement) driver.findElementByXPath("/hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.support.v4.widget.DrawerLayout/android.widget.FrameLayout/android.support.v7.widget.RecyclerView/android.support.v7.widget.LinearLayoutCompat[4]/android.widget.CheckedTextView");
  profile.click();Thread.sleep(6000);
  

	 MobileElement element = (MobileElement) driver.findElementByXPath("//*[@text='My Profile']");
 boolean isDisplayed = element.isDisplayed();Thread.sleep(2000);


  
  //enter mobile number
 MobileElement mobileno = (MobileElement) driver.findElementById("com.mobile.producersonline:id/edtPhonenumber");
  mobileno.sendKeys("9182985239");Thread.sleep(6000);
  driver.hideKeyboard();
   driver.hideKeyboard();
   //click on update button
   
	  driver.scrollTo("R");

// MobileElement updatebtn1 = (MobileElement) driver.findElementById(“com.mobile.producersonline:id/checkboxSelling”);
// updatebtn1.click();Thread.sleep(6000);
// MobileElement updatebtn2 = (MobileElement) driver.findElementById(“com.mobile.producersonline:id/checkboxBuying”);
// updatebtn2.click();Thread.sleep(6000);

  MobileElement updatebtn = (MobileElement) driver.findElementByXPath("//*[@text='UPDATE AND LOGOUT']");
  updatebtn.click();Thread.sleep(6000);
   //click on ok button
  MobileElement clickok = (MobileElement) driver.findElementById("com.mobile.producersonline:id/btnInfoOk");
  clickok.click();	  Thread.sleep(6000);

}

@Test
public void BuyerProfileupdateandLogout() throws InterruptedException {

 MobileElement allow = (MobileElement) driver.findElementById("com.android.packageinstaller:id/permission_allow_button");
  allow.click();	Thread.sleep(3000);

MobileElement Buyer = (MobileElement) driver.findElementByXPath("//*[@text='BUYER']");
Buyer.click();Thread.sleep(6000);


 //enter valid user id
  MobileElement Userid = (MobileElement) driver.findElementById("com.mobile.producersonline:id/edtEmailOrPhone");
  Userid .sendKeys("ONLINEP");
  	Thread.sleep(1000);
  	//enter valid password
  	MobileElement Password = (MobileElement) driver.findElementById("com.mobile.producersonline:id/edtPassword");
  	Password.sendKeys("12345");	Thread.sleep(1000);
  	 driver.hideKeyboard();
     driver.hideKeyboard();
  	 driver.scrollTo("R");
  	//click on submit button
  	MobileElement Signinbtn = (MobileElement) driver.findElementById("com.mobile.producersonline:id/btnSignIn");
  	Signinbtn.click();	Thread.sleep(1000);
	  	
  	//click on allow msg
  	//click on navigation button
  MobileElement navigate = (MobileElement) driver.findElementByAccessibilityId("Open navigation drawer");
  navigate.click();Thread.sleep(2000);
  //click on profile button
  MobileElement el1 = (MobileElement) driver.findElementById("com.mobile.producersonline:id/lytHeader");
  el1.click();Thread.sleep(60000);
  

	 MobileElement element = (MobileElement) driver.findElementByXPath("//*[@text='My Profile']");
 boolean isDisplayed = element.isDisplayed();Thread.sleep(2000);


  
  MobileElement mobileno = (MobileElement) driver.findElementById("com.mobile.producersonline:id/edtPhonenumber");
  mobileno.click();
  driver.hideKeyboard();
  driver.hideKeyboard();
	
	driver.scrollTo("R");
	//clcik on logout button
  	MobileElement logoutbtn = (MobileElement) driver.findElementByXPath("//*[@text='UPDATE AND LOGOUT']");//*[@text='UPDATE AND LOGOUT']
  	logoutbtn.click();Thread.sleep(2000);

  	MobileElement clickok = (MobileElement) driver.findElementById("com.mobile.producersonline:id/btnInfoOk");
	  clickok.click();	  Thread.sleep(6000);

  	 MobileElement element1 = (MobileElement) driver.findElementByXPath("//*[@class='android.widget.LinearLayout' and ./*[@class='android.widget.ImageView'] and ./*[@text='Signin with']]");
	  boolean isDisplayed1 = element1.isDisplayed();Thread.sleep(2000);

		
  	
  }

@Test
public void SellerProfileupdateandLogout() throws InterruptedException {

  MobileElement allow = (MobileElement) driver.findElementById("com.android.packageinstaller:id/permission_allow_button");
  allow.click();	Thread.sleep(3000);
  MobileElement BR = (MobileElement) driver.findElementByXPath("//*[@text='SELLER']");
  	BR.click();	Thread.sleep(1000);
  	MobileElement allow3 = (MobileElement) driver.findElementById("com.android.packageinstaller:id/permission_allow_button");
	  allow3.click();	Thread.sleep(3000);
    MobileElement el2 = (MobileElement) driver.findElementById("com.mobile.producersonline:id/edtPhonenumber");
  el2.sendKeys("9014272946");
  MobileElement el3 = (MobileElement) driver.findElementById("com.mobile.producersonline:id/edtFirstName");
  el3.sendKeys("Sudhir Kumar");Thread.sleep(6000);
  MobileElement lg = (MobileElement) driver.findElementByXPath("//*[@text='LOGIN']");
  	lg.click();	Thread.sleep(30000);
    MobileElement Continue1 = (MobileElement) driver.findElementByXPath("//*[@text='CONTINUE']");
  	Continue1.click();	Thread.sleep(30000);
	
    MobileElement back = (MobileElement) driver.findElementByXPath("//*[@contentDescription='Navigate up']");
  	back.click();	Thread.sleep(30000);
  	

  	//click on allow msg
  	//click on navigation button
  MobileElement navigate = (MobileElement) driver.findElementByAccessibilityId("Open navigation drawer");
  navigate.click();Thread.sleep(2000);
  //click on profile button
  MobileElement el1 = (MobileElement) driver.findElementById("com.mobile.producersonline:id/lytHeader");
  el1.click();Thread.sleep(60000);
  

	 MobileElement element = (MobileElement) driver.findElementByXPath("//*[@text='My Profile']");
 boolean isDisplayed = element.isDisplayed();Thread.sleep(2000);


  
  MobileElement mobileno = (MobileElement) driver.findElementById("com.mobile.producersonline:id/edtPhonenumber");
  mobileno.click();
  driver.hideKeyboard();
  driver.hideKeyboard();
	
	driver.scrollTo("R");
	//clcik on logout button
  	MobileElement logoutbtn = (MobileElement) driver.findElementByXPath("//*[@text='UPDATE AND LOGOUT']");//*[@text='UPDATE AND LOGOUT']
  	logoutbtn.click();Thread.sleep(2000);

  	 MobileElement clickok = (MobileElement) driver.findElementById("com.mobile.producersonline:id/btnInfoOk");
	  clickok.click();	  Thread.sleep(6000);

  	 MobileElement element1 = (MobileElement) driver.findElementByXPath("//*[@class='android.widget.LinearLayout' and ./*[@class='android.widget.ImageView'] and ./*[@id='edtPhonenumber']]");
	  boolean isDisplayed1 = element1.isDisplayed();Thread.sleep(2000);


  	
  }

@Test
public void LoggedinwiththBbuyeranclosetheAppandReopen() throws InterruptedException {

  MobileElement allow = (MobileElement) driver.findElementById("com.android.packageinstaller:id/permission_allow_button");
  allow.click();	Thread.sleep(3000);

MobileElement Buyer = (MobileElement) driver.findElementByXPath("//*[@text='BUYER']");
Buyer.click();Thread.sleep(6000);

   
  //enter valid user id
  MobileElement Userid = (MobileElement) driver.findElementById("com.mobile.producersonline:id/edtEmailOrPhone");
  Userid .sendKeys("ONLINEP");
  	Thread.sleep(1000);
  	//enter valid password
  	MobileElement Password = (MobileElement) driver.findElementById("com.mobile.producersonline:id/edtPassword");
  	Password.sendKeys("12345");	Thread.sleep(1000);
  	 driver.hideKeyboard();
     driver.hideKeyboard();
  	 driver.scrollTo("R");
  	//click on submit button
  	MobileElement Signinbtn = (MobileElement) driver.findElementById("com.mobile.producersonline:id/btnSignIn");
  	Signinbtn.click();	Thread.sleep(8000);

  	driver.closeApp();

  	 driver.swipe(351, 897, 460, -68, 470);
        driver.findElement(By.xpath("//*[@text='Producers Online']")).click();
        
        
        MobileElement element = (MobileElement) driver.findElementByXPath("//*[@text='Dashboard']");
		  boolean isDisplayed = element.isDisplayed();Thread.sleep(2000);

}

@Test
public void LoggedinwiththSelleranclosetheAppandReopen() throws InterruptedException {

 MobileElement allow = (MobileElement) driver.findElementById("com.android.packageinstaller:id/permission_allow_button");
  allow.click();	Thread.sleep(3000);
  MobileElement BR = (MobileElement) driver.findElementByXPath("//*[@text='SELLER']");
  	BR.click();	Thread.sleep(1000);
  	MobileElement allow3 = (MobileElement) driver.findElementById("com.android.packageinstaller:id/permission_allow_button");
	  allow3.click();	Thread.sleep(3000);
    MobileElement el2 = (MobileElement) driver.findElementById("com.mobile.producersonline:id/edtPhonenumber");
  el2.sendKeys("9014272946");
  MobileElement el3 = (MobileElement) driver.findElementById("com.mobile.producersonline:id/edtFirstName");
  el3.sendKeys("Sudhir Kumar");Thread.sleep(6000);
  MobileElement lg = (MobileElement) driver.findElementByXPath("//*[@text='LOGIN']");
  	lg.click();	Thread.sleep(30000);
    MobileElement Continue1 = (MobileElement) driver.findElementByXPath("//*[@text='CONTINUE']");
  	Continue1.click();	Thread.sleep(30000);

  	driver.closeApp();

  	 driver.swipe(351, 897, 460, -68, 470);
  	 
        driver.findElement(By.xpath("//*[@text='Producers Online']")).click();
        
        
   	 MobileElement element = (MobileElement) driver.findElementByXPath("//*[@text='My Products']");
	  boolean isDisplayed = element.isDisplayed();Thread.sleep(2000);

}

@Test
public void GmailLoginandLogout() throws InterruptedException{

  //click on google
 MobileElement allow = (MobileElement) driver.findElementById("com.android.packageinstaller:id/permission_allow_button");
  allow.click();	Thread.sleep(3000);

MobileElement Buyer = (MobileElement) driver.findElementByXPath("//*[@text='BUYER']");
Buyer.click();Thread.sleep(6000);
//click on allow msg

  
 
  MobileElement googlebtn = (MobileElement) driver.findElementByXPath("/hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.view.ViewGroup/android.widget.ScrollView/android.widget.LinearLayout/android.widget.LinearLayout/android.widget.FrameLayout/android.widget.Button");
  googlebtn.click();Thread.sleep(1000);

  //click on your account email
  MobileElement clickmail = (MobileElement) driver.findElementByXPath("//*[@text='sudhironline0@gmail.com']");
  clickmail.click();Thread.sleep(1000);
  
  MobileElement back = (MobileElement) driver.findElementByXPath("//*[@contentDescription='Navigate up']");
	back.click();Thread.sleep(6000);
	
	// MobileElement back2 = (MobileElement) driver.findElementByXPath("//*[@contentDescription='Navigate up']");
//		back2.click();Thread.sleep(6000);
  
    MobileElement el1 = (MobileElement) driver.findElementByAccessibilityId("Open navigation drawer");
  	el1.click();Thread.sleep(3000);
  	 MobileElement ele = (MobileElement) driver.findElementById("com.mobile.producersonline:id/lytHeader");
	  ele.click();Thread.sleep(60000);
	  

		 MobileElement element = (MobileElement) driver.findElementByXPath("//*[@text='My Profile']");
	 boolean isDisplayed = element.isDisplayed();Thread.sleep(2000);


	  
	  MobileElement mobileno = (MobileElement) driver.findElementById("com.mobile.producersonline:id/edtPhonenumber");
	  mobileno.click();
	  driver.hideKeyboard();
	  driver.hideKeyboard();
		
		driver.scrollTo("R");
		//clcik on logout button
	  	MobileElement logoutbtn = (MobileElement) driver.findElementByXPath("//*[@text='UPDATE AND LOGOUT']");//*[@text='UPDATE AND LOGOUT']
	  	logoutbtn.click();Thread.sleep(2000);
	  	
	  	 MobileElement element2 = (MobileElement) driver.findElementByXPath("//*[@class='android.widget.LinearLayout' and ./*[@class='android.widget.ImageView'] and ./*[@text='Signin with']]");
		  boolean isDisplayed2 = element.isDisplayed();Thread.sleep(2000);

}

private void threed(int i) {
// TODO Auto-generated method stub

}

@AfterMethod

public void tearDown() {
driver.quit();
}
}

So is there any specific reason for calling the hidekeyboard twice?

Anyway, use https://docs.experitest.com/display/TC/AS-+Collect+Support+Data
and support data and share it via google drive shareable link.

no specific reason some time not closed in my mobile

is there any issue

For one of the hideKeyboard there is a timeout happening. It could be possible that after one call keyboard is closed and another may have been timeout. Please try and check what happens , this may or may not be the root cause.

Please use https://docs.experitest.com/display/TC/AS-+Collect+Support+Data
and support data and share it via google drive shareable link.

hello sir,

i am regularly facing this error, while running the script in appium studio some times i am getting this error

[RemoteTestNG] detected TestNG version 6.8.2
[TestNG] Running:
C:\Users\User\AppData\Local\Temp\testng-eclipse–475160261\testng-customsuite.xml

FAILED CONFIGURATION: @AfterMethod tearDown
org.openqa.selenium.remote.SessionNotFoundException: invalid session id (A session is either terminated or not started (1a2c9a39-8eae-4613-aa3d-f819ddd84001), A session could be terminated due to the end of timeout specified by newCommandTimeout https://docs.experitest.com/display/AS/Timeout+Capabilities) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 15 milliseconds
Build info: version: ‘2.45.0’, revision: ‘5017cb8’, time: ‘2015-02-26 23:59:50’
System info: host: ‘DESKTOP-GHH97TE’, ip: ‘192.168.146.2’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_201’
Driver info: io.appium.java_client.android.AndroidDriver
Capabilities [{appPackage=com.mobile.producersonline, device.majorVersion=9, dontGoHomeOnQuit=false, device.os=Android, noReset=false, dontStopAppOnReset=false, reservationDuration=240, reportFormat=xml, deviceName=XUV3Y18725041617, fullReset=false, platform=ANY, deviceUDID=NE1GAM4782036608, install.only.for.update=false, desired={app=D:\App\app-release_03_Dec.apk, appPackage=com.mobile.producersonline, appActivity=com.mobile.producersonline.SplashActivity, platformName=Android, platformversion=8.0.0, deviceName=XUV3Y18725041617}, device.serialNumber=NE1GAM4782036608, locationServicesAuthorized=false, device.version=9, reportDirectory=reports, autoWebview=false, platformName=Android, udid=NE1GAM4782036608, testName=mobile test 12/03/19 05:16 PM, useKeystore=false, app=D:\App\app-release_03_Dec.apk, test.type=Mobile, device.manufacture=HMD Global, instrumentApp=false, appiumVersion=1.8.0, device.category=PHONE, autoDismissAlerts=false, reportUrl=C:\Users\User\appiumstudio-reports\reports\test9186, newSessionWaitTimeout=600, keystorePath=~/.android/debug.keystore, appActivity=com.mobile.producersonline.SplashActivity, installOnlyForUpdate=false, waitForDeviceTimeout=120000, device.model=TA-1032, device.name=TA-1032, autoGrantPermissions=false, takeScreenshots=true, platformversion=8.0.0, projectName=, autoAcceptAlerts=false}]
Session ID: 1a2c9a39-8eae-4613-aa3d-f819ddd84001
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:204)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:162)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:599)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:180)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:185)
at org.openqa.selenium.remote.RemoteWebDriver.quit(RemoteWebDriver.java:468)
at src.Production.ProfileCases.tearDown(ProfileCases.java:641)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:564)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:786)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
at org.testng.TestRunner.privateRun(TestRunner.java:767)
at org.testng.TestRunner.run(TestRunner.java:617)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
at org.testng.SuiteRunner.run(SuiteRunner.java:240)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:115)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:251)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:77)

SKIPPED CONFIGURATION: @BeforeMethod setUp
SKIPPED CONFIGURATION: @AfterMethod tearDown
SKIPPED CONFIGURATION: @BeforeMethod setUp
SKIPPED CONFIGURATION: @AfterMethod tearDown
SKIPPED CONFIGURATION: @BeforeMethod setUp
SKIPPED CONFIGURATION: @AfterMethod tearDown
SKIPPED CONFIGURATION: @BeforeMethod setUp
SKIPPED CONFIGURATION: @AfterMethod tearDown
SKIPPED CONFIGURATION: @BeforeMethod setUp
SKIPPED CONFIGURATION: @AfterMethod tearDown
SKIPPED CONFIGURATION: @BeforeMethod setUp
SKIPPED CONFIGURATION: @AfterMethod tearDown
SKIPPED CONFIGURATION: @BeforeMethod setUp
SKIPPED CONFIGURATION: @AfterMethod tearDown
SKIPPED CONFIGURATION: @BeforeMethod setUp
SKIPPED CONFIGURATION: @AfterMethod tearDown
SKIPPED CONFIGURATION: @BeforeMethod setUp
SKIPPED CONFIGURATION: @AfterMethod tearDown
SKIPPED CONFIGURATION: @BeforeMethod setUp
SKIPPED CONFIGURATION: @AfterMethod tearDown
SKIPPED CONFIGURATION: @BeforeMethod setUp
SKIPPED CONFIGURATION: @AfterMethod tearDown
FAILED: BuyerProfileupdateandLogout
org.openqa.selenium.remote.SessionNotFoundException: invalid session id (A session is either terminated or not started (1a2c9a39-8eae-4613-aa3d-f819ddd84001), A session could be terminated due to the end of timeout specified by newCommandTimeout https://docs.experitest.com/display/AS/Timeout+Capabilities) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 22 milliseconds
Build info: version: ‘2.45.0’, revision: ‘5017cb8’, time: ‘2015-02-26 23:59:50’
System info: host: ‘DESKTOP-GHH97TE’, ip: ‘192.168.146.2’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_201’
Driver info: io.appium.java_client.android.AndroidDriver
Capabilities [{appPackage=com.mobile.producersonline, device.majorVersion=9, dontGoHomeOnQuit=false, device.os=Android, noReset=false, dontStopAppOnReset=false, reservationDuration=240, reportFormat=xml, deviceName=XUV3Y18725041617, fullReset=false, platform=ANY, deviceUDID=NE1GAM4782036608, install.only.for.update=false, desired={app=D:\App\app-release_03_Dec.apk, appPackage=com.mobile.producersonline, appActivity=com.mobile.producersonline.SplashActivity, platformName=Android, platformversion=8.0.0, deviceName=XUV3Y18725041617}, device.serialNumber=NE1GAM4782036608, locationServicesAuthorized=false, device.version=9, reportDirectory=reports, autoWebview=false, platformName=Android, udid=NE1GAM4782036608, testName=mobile test 12/03/19 05:16 PM, useKeystore=false, app=D:\App\app-release_03_Dec.apk, test.type=Mobile, device.manufacture=HMD Global, instrumentApp=false, appiumVersion=1.8.0, device.category=PHONE, autoDismissAlerts=false, reportUrl=C:\Users\User\appiumstudio-reports\reports\test9186, newSessionWaitTimeout=600, keystorePath=~/.android/debug.keystore, appActivity=com.mobile.producersonline.SplashActivity, installOnlyForUpdate=false, waitForDeviceTimeout=120000, device.model=TA-1032, device.name=TA-1032, autoGrantPermissions=false, takeScreenshots=true, platformversion=8.0.0, projectName=, autoAcceptAlerts=false}]
Session ID: 1a2c9a39-8eae-4613-aa3d-f819ddd84001
*** Element info: {Using=xpath, value=//*[@text=‘My Profile’]}
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:204)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:162)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:599)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:180)
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:352)
at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:449)
at src.Production.ProfileCases.BuyerProfileupdateandLogout(ProfileCases.java:386)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
at org.testng.TestRunner.privateRun(TestRunner.java:767)
at org.testng.TestRunner.run(TestRunner.java:617)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
at org.testng.SuiteRunner.run(SuiteRunner.java:240)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:115)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:251)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:77)

SKIPPED: GmailLoginandLogout
SKIPPED: LoggedinwiththBbuyeranclosetheAppandReopen
SKIPPED: LoggedinwiththSelleranclosetheAppandReopen
SKIPPED: LoginwithGmailinMenuBarHeaderNameanduserid
SKIPPED: LoginwithNormalinMenuBarHeaderNameandUsername
SKIPPED: OpenProfilePage
SKIPPED: PasswordMethodSellerProfileupdateandLogout
SKIPPED: SellerProfileupdateandLogout
SKIPPED: UpdateProfilePageinNameandemail
SKIPPED: UpdateSellingandBuying
SKIPPED: logout

===============================================
Default test
Tests run: 12, Failures: 1, Skips: 11
Configuration Failures: 1, Skips: 22

===============================================
Default suite
Total tests run: 12, Failures: 1, Skips: 11
Configuration Failures: 1, Skips: 22

[TestNG] Time taken by org.testng.reporters.jq.Main@649d209a: 92 ms
[TestNG] Time taken by org.testng.reporters.JUnitReportReporter@7e0babb1: 100 ms
[TestNG] Time taken by org.testng.reporters.XMLReporter@5a01ccaa: 31 ms
[TestNG] Time taken by [FailedReporter passed=0 failed=0 skipped=0]: 38 ms
[TestNG] Time taken by org.testng.reporters.SuiteHTMLReporter@2aaf7cc2: 953 ms
[TestNG] Time taken by org.testng.reporters.EmailableReporter2@45c8e616: 5 ms

Sorry, This is not the logs which we requested https://docs.experitest.com/display/TC/AS-+Collect+Support+Data

From what I can understand the problem nothing related to Appium Studio and due to the fact that in some conditions (via driver.quit maybe because of find or some other exception) session is closed,

What is the code which corresponds to
src.Production.ProfileCases.BuyerProfileupdateandLogout(ProfileCases.java:386) ?

This is not in the code which you have pasted before.

What is the code which corresponds to
src.Production.profile cases.BuyerProfileupdateandLogout(ProfileCases.java:386) ?

@Test
public void BuyerProfileupdateandLogout() throws InterruptedException {

 MobileElement allow = (MobileElement) driver.findElementById("com.android.packageinstaller:id/permission_allow_button");
  allow.click();	Thread.sleep(3000);

MobileElement Buyer = (MobileElement) driver.findElementByXPath("//*[@text='BUYER']");
Buyer.click();Thread.sleep(6000);


 //enter valid user id
  MobileElement Userid = (MobileElement) driver.findElementById("com.mobile.producersonline:id/edtEmailOrPhone");
  Userid .sendKeys("ONLINEP");
  	Thread.sleep(1000);
  	//enter valid password
  	MobileElement Password = (MobileElement) driver.findElementById("com.mobile.producersonline:id/edtPassword");
  	Password.sendKeys("12345");	Thread.sleep(1000);
  	 driver.hideKeyboard();
   
  	 driver.scrollTo("R");
  	//click on submit button
  	MobileElement Signinbtn = (MobileElement) driver.findElementById("com.mobile.producersonline:id/btnSignIn");
  	Signinbtn.click();	Thread.sleep(1000);
	  	
  	//click on allow msg
  	//click on navigation button
  MobileElement navigate = (MobileElement) driver.findElementByAccessibilityId("Open navigation drawer");
  navigate.click();Thread.sleep(20000);
  //click on profile button
  MobileElement el1 = (MobileElement) driver.findElementById("com.mobile.producersonline:id/lytHeader");
  el1.click();Thread.sleep(60000);
  

	 MobileElement element = (MobileElement) driver.findElementByXPath("//*[@text='My Profile']");
 boolean isDisplayed = element.isDisplayed();Thread.sleep(2000);


  
  MobileElement mobileno = (MobileElement) driver.findElementById("com.mobile.producersonline:id/edtPhonenumber");
  mobileno.click();
	  driver.hideKeyboard();
	
	driver.scrollTo("R");
	//clcik on logout button
  	MobileElement logoutbtn = (MobileElement) driver.findElementByXPath("//*[@text='UPDATE AND LOGOUT']");//*[@text='UPDATE AND LOGOUT']
  	logoutbtn.click();Thread.sleep(2000);

  	MobileElement clickok = (MobileElement) driver.findElementById("com.mobile.producersonline:id/btnInfoOk");
	  clickok.click();	  Thread.sleep(6000);

  	 MobileElement element1 = (MobileElement) driver.findElementByXPath("//*[@class='android.widget.LinearLayout' and ./*[@class='android.widget.ImageView'] and ./*[@text='Signin with']]");
	  boolean isDisplayed1 = element1.isDisplayed();Thread.sleep(2000);

		
  	
  }

Thanks.
Please provide the corresponding line number matching to this … BuyerProfileupdateandLogout(ProfileCases.java:386) in above code.

Please also share the support data
https://docs.experitest.com/display/TC/AS-+Collect+Support+Data

Thanks.
Please provide the corresponding line number matching to this … BuyerProfileupdateandLogout(ProfileCases.java:386) in above code.

Please also share the support data
https://docs.experitest.com/display/TC/AS-+Collect+Support+Data

hi sir,

the above script once observe that total 12 test cases there , how to time wait one test execution after another test execution.