I want to know how I can write a UI test that will test my signature capture.
@LeonLu So following your suggestion of using gestures, I just did the app.SwipeLeftToRight() which draws a line across my signature pad, allowing me to mimic some sort of input. I just needed to move through this step for my test flow.
What is your operation to execute the signature capture? Such as a Signature Pad, you have the tap, drag and drop operations in your app.
You should test these operation in your UITest.
For these operation, you can achieve it with gestures
For example, If you want to test the double click.You can achieve it with following code.
You can refer to this link.https://docs.microsoft.com/en-us/appcenter/test-cloud/uitest/working-with-gestures
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies