Xamarin UITest: UITest for camera

I have to do a UITest for android camera, Email and Skype.How can I do it?please help?

Best Answer

  • ana_riana_ri ✭✭
    Accepted Answer

    @kingleroyg said:

    • camera will use a mock image (only for android, iOS will not work)
    • Email is a text Entry
    app.Tap(x => x.Marked("EntryEmail"));
    app.EnterText(x => x.Marked("EntryEmail"), "[email protected]");
    
    • Skype You cannot , its an external app and you have no control what happens

    Thanks for answering and can you explain me it a little bit more.

    In Skype can I just checked that if I click on button it will open skype app?

    In camera, what you mean by mock image?

Answers

  • kingleroygkingleroyg ZAMember ✭✭
    • camera will use a mock image (only for android, iOS will not work)
    • Email is a text Entry
    app.Tap(x => x.Marked("EntryEmail"));
    app.EnterText(x => x.Marked("EntryEmail"), "[email protected]");
    
    • Skype You cannot , its an external app and you have no control what happens
  • ana_riana_ri Member ✭✭
    Accepted Answer

    @kingleroyg said:

    • camera will use a mock image (only for android, iOS will not work)
    • Email is a text Entry
    app.Tap(x => x.Marked("EntryEmail"));
    app.EnterText(x => x.Marked("EntryEmail"), "[email protected]");
    
    • Skype You cannot , its an external app and you have no control what happens

    Thanks for answering and can you explain me it a little bit more.

    In Skype can I just checked that if I click on button it will open skype app?

    In camera, what you mean by mock image?

Sign In or Register to comment.