Giter VIP home page Giter VIP logo

uitest-pop-example's People

Contributors

ethanis avatar matissehack avatar sweekriti91 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

uitest-pop-example's Issues

Failed to Execute Error

When I try to run the tests I get:

failed to execute: adb.exe -s emulator-5554 uninstall "com.xamarin.samples.taskydroid" - exit code: -1

image

How to find out how many elements Listview have

Hello,

I am been struggling to tap on the element in my list. Simply I get to the list view and nothing happens, Have tried to set different background just to make sure that the AutId is correct.
I have tried to change the number of element. Also I have tried to use Index and Sibling. Still no luck.

Is there a way to find out how many elements is visible in my list? I have tried to to ass .Length as count doesn't allow me and I can see one element being present. I actually once got through but every other time I tried the app crashes.

I have tried .All() but that doesn't seem to work.

private readonly Query _listOfSessions;
private readonly Query _firstTask;

  public OpenSession()
    {
        _listOfSessions  = x => x.Marked("ListOfSessions");
        _firstTask  = x => x.Marked("ListOfSessions").Child(0);
    }
    
  public void SelectTask()
    {
        
        app.WaitForElement(_listOfSessions);
        app.Tap(_firstTask);
   
    }

Start up of tests

Hello,

I have a question regarding the startup. Our application has First two Welcome pages with privacy policy etc. displayed only after the instalation. When using the UI test, sometimes it happens that I get to these pages when not needed which causes the test to fail. Even if I set getting through these pages in the setup, if they are not displayed the test will fail. I have tried to wait for the element so to control if its present but it failed the test if not present.

Is there a way to determine when the test wil start the app from the instalation mode displayed on Welcome page or the user usage mode ?

Assert on Page method

Hello,

I have a question when it comes to method Assert on page. I am having issues that once the page is loaded I always get even if the page is loaded

Unable to verify on page: EulaPage
Expected: No Exception to be thrown
But was: (Trait not set for current platform)

I have followed the example so ia m not very sure where am I making mistake.

Kind Regards,
Denisa

How to deal with native elements when ui testing

Hello,

I have a question related to native elements such as pop up and giving permissions. For example I have test case where I can either take a picture or upload it from Gallery and display it on my page. However when the test runs for the first time I need to give permission to access the camera and gallery. I have tried to use real to find out the elements of the page, but I can't see anything useful. Could you advice please how to deal with this?

Also after I return the test and I want click on the picture from gallery I have added some coordinates so I add the picture, but I assume that this will be different on every device?

[  
  public void AddImage()
  {
    app.Tap(_attachmentsViewList);
    app.Tap(Gallery);
    app.TapCoordinates(280,350);
    app.WaitForElement(_bin);
  }
]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.