anshuman-mathur / AppStudio-Testing

0 stars 0 forks source link

Test Case: Email Composer Sample #6

Open anshuman-mathur opened 6 years ago

anshuman-mathur commented 6 years ago

The test is to verify the functionality of the Email Composer sample.

Steps to perform:

  1. Open AppStudio desktop and sign in with your ArcGIS Online credentials.
  2. Create a new app from the Email Composer sample.
  3. Run the app from AppStudio Desktop to and confirm that you are able to take a screenshot and email it using the app.
  4. Build your app using the Make tool and run it on your mobile device. Confirm the the functionality works as expected.
  5. Select the app and Click on Edit in the side panel of AppStudio desktop. This will open the code of the app in Qt Creator.
  6. Modify the code to display error messages from the EmailComposer component. You can refer to the help for the EmailComposer component by highlighting the 'EmailComposer' and then pressing F1 key.
  7. Try to simulate situations which should throw errors with the Email Composer. Confirm that the errors are getting captured and displayed as expected. Some of the ways to introduce error can be:
    • Providing an incorrect path to a file being attached
    • Mail client not configured on the device
    • Trying to send an email while the device is in Air plane mode and does not have network connectivity.
mahiran commented 6 years ago

I confirmed that this sample works fine. AppStudio Desktop: Version 3.1.116 (Windows 64 bit) + Cloud Make (Windows 64 bit) My E-mail app: Microsoft Outlook 2016

geoholix commented 6 years ago

There is no Subject title when sending email from apps on laptop (windows os). however subject title is appeared when sending email through mobile device (android)

mahiran commented 6 years ago

On my test, probably no problem for Subject title. 2018-08-17_10h53_00 composed email

anshuman-mathur commented 6 years ago

@geoholix are you facing this issue with a built app, or while running in from AppStudio or Player?

geoholix commented 6 years ago

facing this when running in from AppStudio

geoholix commented 6 years ago

I used windows 10 Pro

mahiran commented 6 years ago

I'm using Windows 10 Pro 1709)

anshuman-mathur commented 6 years ago

@geoholix Ok that is great. This is something we should be investigating and fixing before our release. Could you please create a separate issue as a bug report in this repo. In the bug report can you also copy paste the exact code that you have implemented. That might help to narrow down the cause for the Subject not appearing.

anshuman-mathur commented 6 years ago

Also have tried to simulate any error as described in steps 6 and 7 yet?

mahiran commented 6 years ago

I'll try to test step 6 and 7 on this afternoon.

geoholix commented 6 years ago

trying to make wrong picture path in android image

click button - still give response to send email image

email doesn't contain anything image

close email client, then I got error message image

in my opinion, it should be error message first, then I can continue to send email.

mahiran commented 6 years ago

I'm sorry, certainly I don't have enough time for testing step 6 and 7 today.

anshuman-mathur commented 6 years ago

@geoholix I agree. The app should show an error message first and then let the user decide if the email should be sent without the attachment or not. Can you please create a bug report describing this issue? We will target to resolve this before the release.

anshuman-mathur commented 6 years ago

@mahiran that's ok. Please try to test as much as you comfortably can today. This repo will be accessible to everyone till Monday. Please feel free to provide any feedback in the next few days. Otherwise you can reach us on our GeoNet Forum at https://community.esri.com/groups/appstudio as well.