Test Execution became very slow after updating to 11.x

Hi,

I am facing big performance issue with Appium Studio 11.x.

Test execution became very slow each and every action on mobile app testing performing with Appium studio.

It was very speed till 10.x after updated to 11.x its became very slow.

I tried commenting reporting part in capabilities .but no change in performance

I tried debugging with all Java_client jar files from 3.x to latest 5.0beta …Where i can see is creating session which is taking time …(Please refer screen shot attached) – Due to this test execution taking time.

Could you please resolve this issue .Kindly resolve this issue ASAP

Thanks in advance.

hi

can you please collect and upload the support data?

https://docs.experitest.com/display/AS/Collect+Support+Data

I created and uploaded support data.

Thanks

where did you store the support data? can you share with me the link? :slight_smile:

btw, can I please ask that you’ll try adding the capabiliy

dc.setCapabiltiy("report.disable",true)
1 Like

I tried this, Still issue available.

I tried debugging issue and found issue is with Driver.

Before 10.x driver was Seetest Driver and 11.x is changed to iOS and Android driver , due to this execution became very slow.

I tried running my scripts with Seetest driver in seetest tool, execution happens works very fast .

I tried same script with Appium studio 11.x with iOS driver , execution is very slow.

Could you please fix this issue.

Thanks in advance.

can you please share the code you are trying to execute?

Hi Tom,

please find the code below…

@Before
public void setUp() throws MalformedURLException {
dc.setCapability(“reportDirectory”, reportDirectory);
dc.setCapability(“reportFormat”, reportFormat);
dc.setCapability(“testName”, testName);
dc.setCapability(MobileCapabilityType.UDID, “5b2761f0406819974038c256afea7fd82667a318”);
dc.setCapability(IOSMobileCapabilityType.BUNDLE_ID, “com.Fueled.MGMResorts”);
driver = new IOSDriver(new URL(“http://localhost:8889/wd/hub”), dc);
}

@Test
public void testUntitled() {
driver.executeScript(“client:client.launch(“com.Fueled.MGMResorts”)”);
driver.findElement(By.xpath("//[@text=‘M LIFE’]")).click();
driver.findElement(By.xpath("//
[@text=‘SIGN UP’]")).click();
driver.findElement(By.xpath("//[@placeholder=‘First Name’]")).sendKeys(“John”);
driver.findElement(By.xpath("//
[@placeholder=‘Last Name’]")).sendKeys(“Smith”);
driver.findElement(By.xpath("(//[@class=‘UIAToolbar’]/[@text=‘Next’])[1]")).click();
driver.findElement(By.xpath("(//[@class=‘UIAToolbar’]/[@text=‘Next’])[1]")).click();
driver.findElement(By.xpath("//[@placeholder=‘Email Address’]")).sendKeys("johnsmith5@test.com");
driver.findElement(By.xpath("(//
[@class=‘UIAToolbar’]/[@text=‘Next’])[1]")).click();
driver.findElement(By.xpath("//
[@placeholder=‘Phone Number’]")).sendKeys(“8508425887”);
driver.findElement(By.xpath("(//[@class=‘UIAToolbar’]/[@text=‘Next’])[1]")).click();
driver.findElement(By.xpath("//[@placeholder=‘Create a Password’]")).sendKeys(“Tejsdhfjh12345”);
driver.findElement(By.xpath("(//
[@class=‘UIAToolbar’]/[@text=‘Next’])[1]")).click();
driver.findElement(By.xpath("(//
[@class=‘UIAToolbar’]/[@text=‘Next’])[1]")).click();
driver.findElement(By.xpath("//
[@placeholder=‘Address’]")).sendKeys(“uweysdf”);
driver.findElement(By.xpath("(//[@class=‘UIAToolbar’]/[@text=‘Next’])[1]")).click();
driver.findElement(By.xpath("//*[@placeholder=‘ZIP/Postal Code’]")).sendKeys(“89102”);
}