REPL Not Working

public void SearchBar()
{
app.Repl();
app.Screenshot("Welcome screen");
app.PressEnter();
app.Tap(x => x.Marked("AIDSearchBarButton"));
app.Screenshot("SearchBarButton Tap screen");
}

Tagged:

Answers

  • JamesLaveryJamesLavery GBBeta, University ✭✭✭✭✭
    Is this part of your UITest project? Does the test work without Repl?

    UITest is well supported via the support tool in App center.
  • ShantimohanElchuriShantimohanElchuri USMember ✭✭✭✭✭

    @Chetan333 said:
    public void SearchBar()
    {
    app.Repl();
    app.Screenshot("Welcome screen");
    app.PressEnter();
    app.Tap(x => x.Marked("AIDSearchBarButton"));
    app.Screenshot("SearchBarButton Tap screen");
    }

    REPL is an interactive utility. It appears that you have put it in a test routine. Wasn't its window opening? Did you check if it is hiding behind any active window?

  • Chetan333Chetan333 Member ✭✭

    @JamesLavery Its an UI Test project only, i have run this command on CMD
    appcenter test run uitest --app "Mobile" --devices "Mobile/Version8-9" --app-path "C:\Users\ift_chetan\Desktop\App\Src\Mobastation\Mobastation.Android\bin\Debug\jp.mcinc.mobastation.apk" --test-series "master" --locale "en_US" --build-dir "C:\Users\ift_chetan\Desktop\App\Src\Mobastation.UITest\bin\Debug" --uitest-tools-dir "C:\Users\ift_chetan.nuget\packages\xamarin.uitest\2.2.4\tools" .

    REPL not showing Tree Structure, it simply execute the project.

  • Chetan333Chetan333 Member ✭✭

    @ShantimohanElchuri There was no hiding windows of the REPL tree structure.

  • jezhjezh Member, Xamarin Team Xamurai

    You can reach out to App Center support by logging into https://appcenter.ms/apps

    and clicking the chat icon in the lower right corner of the screen. We support Xamarin.UITest there.

    Here's a screenshot if you're having trouble finding the chat icon: https://www.screencast.com/t/uF8S5o0o0

  • JamesLaveryJamesLavery GBBeta, University ✭✭✭✭✭

    @Chetan333 said:
    @JamesLavery Its an UI Test project only, i have run this command on CMD
    appcenter test run uitest --app "Mobile" --devices "Mobile/Version8-9" --app-path "C:\Users\ift_chetan\Desktop\App\Src\Mobastation\Mobastation.Android\bin\Debug\jp.mcinc.mobastation.apk" --test-series "master" --locale "en_US" --build-dir "C:\Users\ift_chetan\Desktop\App\Src\Mobastation.UITest\bin\Debug" --uitest-tools-dir "C:\Users\ift_chetan.nuget\packages\xamarin.uitest\2.2.4\tools" .

    REPL not showing Tree Structure, it simply execute the project.

    That is expected behaviour. You are running the test remotely. Repl is only relevant when running tests locally in the IDE.

Sign In or Register to comment.