Ideas & Feature Requests

Share your ideas on how Test Cloud can better help you deliver higher quality apps faster.

Upgrade scenario support

Current UI automation doesn't work when verification migration scenario. The user data was cleaned when deploying the new version app.

 

[TestFixture]

public class MigrationTests

{

    public static AndroidAppConfigurator CurrentAppConfig = ConfigureApp.Android.ApkFile(@"xxxxx.apk").ApiKey("3b180b4c0c9dea9385fe85657ec2e799");

    public static AndroidAppConfigurator PreviousAppConfig = ConfigureApp.Android.ApkFile(@"xxxx.apk").ApiKey("3b180b4c0c9dea9385fe85657ec2e799");

   [Test]

   public void UpdateApp()

   {

       app = MigrationTests.PreviousAppConfig.StartApp(); ====> deploy and start the old app

       this.Login(app); ====> do testing to create user data System.

       Threading.Thread.Sleep(10 * 1000);

        app = MigrationTests.CurrentAppConfig.StartApp(AppDataMode.DoNotClear); ====> deploy and start the new app, but the user data was cleared

   }

}

  • Guest
  • Oct 27 2015
Device Manufacturer
Device Model Name
Operating System Version
  • Attach files
  • Gravatar