xamarin-automation-service / uitest-pop-example Goto Github PK
View Code? Open in Web Editor NEWA cross-platform UITest example that uses the Page-Object Pattern (POP)
A cross-platform UITest example that uses the Page-Object Pattern (POP)
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);
}
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 ?
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
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);
}
]
Hi. It was already written about it in the comment under your video about this package.
After installing nuget package no additional files added to project, only readme.
It was done on Mac Os, using Rider IDE. At least it's good, that those files are available directly, so thanks for that.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.