tc+template

Upload: qoffice123

Post on 06-Apr-2018

218 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/2/2019 TC+Template

    1/26

    TC ID Priority Scenarios

    GFL_10 1 Get the Default Folder List of the Remote Device

    GFL_20 2 Folder/Path having empty files/folder inside it

    GFL_30 1 Folder/Path having files and folders inside it

    GFL_40 2 Folder/path with multi level structure (as /sdcard/Folder/test)

    GFL_50 3Folder/path with Multi level having same Folder name with respect to

    parent folder (as /sdcard/Folder/Folder)

    GFL_60 2 Invalid Folder/path name

    GFL_70 3 Folder/Path having Long Name

    GFL_80 3 Folder/Path having Special Character

    GFL_90 2 Delete one folder/file and verify that list is refreshed

    GFL_100 2 Delete the folder Path and verify that list is refreshed

    GFL_110 2 Rename one file inside the path and verify that list is refreshed

    GFL_120 2 Valid Folder Path having only folders inside it

    GFL_130 2 Valid Folder Path having only files inside it

    Prerequisites -

    1. Below all unit test cases are checked-in at location - http://qo-merc/mx/android/cu

  • 8/2/2019 TC+Template

    2/26

    Test case Steps Expected

    Execute the testDefaultGetFolderList unit test case Unit test should be passed

    Execute the testEmptyGetFolderList unit test case Unit test should be passed

    Execute the testGetFolderList unit test case Unit test should be passed

    Execute the testGetFolderListMultilevel unit test case Unit test should be passed

    Execute the testGetFolderListMultilevel unit test case Unit test should be passed

    Execute the testInvalidGetFolderList unit test case Unit test should be passed

    Execute the testGetFolderListLongName unit test case Unit test should be passed

    Execute the testGetFolderListWithSpecialChar unit test case Unit test should be passed

    Execute the testGetFolderListAfterDeleteFolder unit test case Unit test should be passed

    Execute the testGetFolderListAfterDeletePath unit test case Unit test should be passed

    Execute the testGetFolderListAfterRenameFile unit test case Unit test should be passed

    Execute the testGetFolderListFolders unit test case Unit test should be passed

    Execute the testGetFolderListFiles unit test case Unit test should be passed

    rent/master/tests/src/com/quickoffice/mx/unit/sync/GetFolderListTest.java

    et Folder List feature

  • 8/2/2019 TC+Template

    3/26

    Result

    Pass/FailPass

    Pass

    Pass

    Pass

    Pass

    Pass

    Pass

    Pass

    Pass

    Pass

    Pass

    Pass

    Pass

  • 8/2/2019 TC+Template

    4/26

    Feature Name

    Environment Setup

    Scenarios TC ID Priority Pre condition

    RCP_10 1

    RCP_10 1

    Copy/Paste multiple file from one location to another location RCP_20 2

    Copy/Paste a file on same location RCP_30 3

    Copy/Paste a folder on same location RCP_30 3

    Copy/Paste Single folder having some files inside it from one

    location to another locationRCP_40 1

    Copy/Paste multiple folder from one location to another

    locationRCP_50 2

    Copy/Paste multiple folder and files from one location to

    another locationRCP_60 2

    Copy/Paste empty folder from one location to another

    locationRCP_70 3

    Copy/Paste from one location to another location when file is

    opened on source locationRCP_80 2

    Copy/Paste Single file from one location to another location

  • 8/2/2019 TC+Template

    5/26

    Perform Copy/paste operation, when we copy the file from

    portal and then delete from remote device and then paste it

    on portal

    RCP_90 3

    w.r.to above test case do the paste operation on the same

    locationRCP_100 3

    Verify copy/paste operation with Special characters

    files/folders nameRCP_110 3

    Verify copy/paste operation with long files/folders name RCP_120 3

  • 8/2/2019 TC+Template

    6/26

    Test case Test case Steps

    copy online1. Connect from portal to any remote device.

    2. Copy/paste one file from one location to another

    copy offline1. Connect from portal to any remote device.

    2. Copy/paste one file from one location to another

    1. Connect from portal to any remote device.

    2. Copy multi file from one location and paste it on anotherlocation

    1. Connect from portal to any remote device.

    2. Copy a file from one location and paste it on same location

    1. Connect from portal to any remote device.

    2. Copy a folder from one location and paste it on same location

    1. Connect from portal to any remote device.

    2. Copy a folder having some files inside it from one location and

    paste it to another location

    1. Connect from portal to any remote device.

    2. Copy multi folders from one location and paste it on another

    location

    1. Connect from portal to any remote device.

    2. Copy multi folder and files from one location and paste it on

    another location

    1. Connect from portal to any remote device.

    2. Copy empty folder from one location and paste it to another

    location

    1. Connect from portal to any remote device.

    2. Copy multi file from one location and paste it to another

    location

  • 8/2/2019 TC+Template

    7/26

    1. Connect from portal to any remote device.

    2. Copy one file from one location.

    3. Go to the remote device and cascade delete the above copied

    file from the remote device.

    4. Now from portal do the paste operation in any other location

    1. w.r.t above test case perform the first three step once again.

    2. Now from portal do the paste operation on same location

    from where we copied the file

    1. Connect from portal to any remote device.

    2. Copy/paste one file/folder (file name should consist of special

    character) from one location to another

    1. Connect from portal to any remote device.

    2. Copy/paste one file/folder (used long file name) from one

    location to another

  • 8/2/2019 TC+Template

    8/26

    Expected Result

    Actual

    Result

    Pass/Fail

    Comments

    Verify that on remote device file should be

    displayed on new as well as old location

    Verify that on remote device file should be

    displayed on new as well as old location

    Verify that on remote device all file should be

    displayed on new as well as old location

    Verify that on portal Error message dialog should

    be displayed saying that "File should not be paste

    on same location"

    Verify that on portal Error message dialog should

    be displayed saying that "Folder should not be

    paste on same location"

    Verify that on remote device folder with all file

    should be displayed on new as well as old location

    Verify that on remote device all folders should be

    displayed on new as well as old location

    Verify that on remote device all folders and files

    should be displayed on new as well as old location

    Verify that on remote device folder should be

    displayed on new as well as old location

    Verify that on remote device file should be

    displayed on new as well as old location

  • 8/2/2019 TC+Template

    9/26

    Verify that on remote device file should be

    displayed on new location only.

    Verify that on remote device file should be

    displayed on old location only.

    Verify that on remote device file should be

    displayed on new as well as old location

    Verify that on remote device file should bedisplayed on new as well as old location

  • 8/2/2019 TC+Template

    10/26

    TC ID Priority Scenario

    Acc_1 1 Create Account from smartphone

    Acc_2 1Acc_3

    Acc_4

    Acc_5

    Acc_6

    Acc_7

    Acc_8Acc_9

    Acc_10

    Acc_11

    Acc_12

    Acc_13

    Acc_14

    Access account created from smartphone through web port

    Sign in using existing account

    Behaviour of Forget Password Link

  • 8/2/2019 TC+Template

    11/26

    Login using Google Account

    Login using Facebook Account

    My Account section after login

  • 8/2/2019 TC+Template

    12/26

    Navigation Bar

    Live Dashboard

    Live Dashboard - Dashboard View

    Live Dashboard-Dashboard View - Most Recently updated

    Live Dashboard-Dashboard View - Most Edited Files

    Live Dashboard-Dashboard View - Most Recent Collaborator

  • 8/2/2019 TC+Template

    13/26

    Live Dashboard - Calendar View

    Live Dashboard - Notifications View

    Live Dashboard - Notifications View-available Folders remain

  • 8/2/2019 TC+Template

    14/26

    Scenarios

    Ckeck ' Create Account' link present on Home Page.

    Check 1st page layout for create account should be as per documentationValidations for Name (first name , last name)

    Validations for email id field on account creation page.

    Validation for password field.

    Validate 'Terms and Conditions' check box and link.

    New account validation

    Validate subscription plan for account created through mobile device

    View Account details and payment details for account created through mobile

    Login to office anywhere with account credentials

    Login to web portal , tablet, smartphone at sam time.

    Logout from office anywhere

    After successful login, come out of application and again launch app, instead of

    login screen , user should see dashboard screen.

    screen loac mechanisim given bt smartphone should work properly after office

    anywhere installation.

    Check forget password link on login screen.

    Click forget password link. Next page should have filed to put email add andsecurity password.

    Validate email add and security answer field.

  • 8/2/2019 TC+Template

    15/26

    Give valid values for email add and security ans . Click Submit.

    User should get emailat registered email address.

    ckech link for login using google /facebook should be present on login screen.

    click link , user will be presentated 2 options google/facebook on new screen.click link for google account. Google sign in page should come.

    validate email add, password filed on google acc login page.

    after login , check google account approved page should come.

    click thanks button on that. Check how it behaves.

    Click allow button on that page, it should redirect to dashboard of office

    anyehere.

    ckech link for login using google /facebook should be present on login screen.

    click link , user will be presentated 2 options google/facebook on new screen.

    click link for facebook account. facebook sign in page should come.

    validate email add, password filed on facebook acc login page.

    after login , check facebook account approved page should come.

    click don't allow button on that. Check how it behaves.

    Click allow button on that page, it should redirect to dashboard of office

    anyehere.

    check my account page mainly devides into account information, display

    prefenences, file update preferences,help/FAQ

    under account information section, all informaiton about user account should be

    displayed.

    file update preference section should have following three points like sync over

    Wi-Fi, sync over 2G/3G, do not sync over XGB

    try to sync device on Wi-Fi and put 2G/3G off on file update preference sectio .

    try to sync over 2G/3G network and put Wi-Fi off file update preference sectio.

    try to sync device with both Wi-Fi and 3G network off file update preference

    sectio.

    try to sync device over 2G/3G network and put 2G/3G off on file update

    preference sectio .

    try to sync device over Wi-Fi network and put Wi-Fi off on file update preference

    sectio .

    start sync on device with Wi-Fi network and put 2G/3G off on file update

    preference section .put device offline, sync should stop. Device comes online,

    sync should start again.

    start sync on device with 3G network and put Wi-fi off on file update preference

    section .put device offline, sync should stop. Device comes online, sync should

    start again.

    Do setting on file update preference section, come out of application to homescreen. Again launch app , setting should remain as it was.

  • 8/2/2019 TC+Template

    16/26

    Try do download data more than sync limit defned, user should get error.

    Try to upload data more than GB limit, user should be successful.

    Do validation for GB limit field.

    On Home screen, following icond sould be present Dashboard, Newfolders and

    invitations, Manage files,My cound accounts, My computers, My device,Mypeople, My Groups, My account,

    Badge count on 'New folders and Invitations' show number of invitations pending.

    To check this, login with other account, do add people for your account . Login by

    your accountm, should get 1 as badge count on New Folders and invitatons.

    My account icon shows a ! Badge whenever user action/input is required. (not

    finding proper example to test it)

    click dashboard, user should have following options browse files, add could

    account, add device, add people

    check on dashboard, icons to create different extension files, create folder shouldbe present.

    Create files and folders from dashboard, should success.

    check filters on dashboard is working fine.

    from dashboard, user should be able to search files from same device and even

    from other devices as well.

    click Home screen , homw screen should come.

    click dashboard view , corresponding page should open.

    click calander view, corresponding view should open.

    dshboard view screen should be devided into 'Most Recently Updated' , 'Most

    Edited Files', 'Most recent colaborations.'

    Check for most recently updated section has horizontal slider to see more files.

    update file , check file should come under Mosr Recently Updated.

    update folder (rename folder) , check folder name should come under Most

    Recently Updated section.

    Do all operations on file and folder one by one and check files and folders should

    come under Most Recently Updated section.

    Update file/folder from other device, check file/folder should come under 'Most

    Recently Updated' section.

    click file under 'Most Recently Updated' section, user can open and edit file.

    click folder under 'most Recently Updated' section , User can browse to that

    folder location.

    this section shows maximum number os edited files.

    edit one file 5 times and other file 4 times. File edited 5 times will come in top of

    list.

    edit file of ther device maximum number of times, that file will come on top of

    list.

    rename one file 4 times , that file will not come under this section.check this secton shows name of user who added or edited any file from any

    device.

  • 8/2/2019 TC+Template

    17/26

    create file from other device, user name will display under this section on your

    device.

    edit file from other device , user name will display under this section on your

    device.

    check time stamp is coming properly.

    these all sections will show latest 30 items . Check it.

    click calendar view, page should open.

    check user can view date wise file/foldre updates.

    check most recent actions will come on top of screen.

    update file/folder , your action should come on top of screen.

    check top 30 actions will come on screen. Click show more , you will see next 30

    actions on screen.

    check actions will cover date,file/folder level change, new comment posted.

    click notification view , page should open and should have 2 sections invitationand available folders.

    from other user add folder, add people(give your email id) to that foldre, publish

    offering , you should get invitation to subscribing to that offering. Check this

    invitation will come undre Invitation section.

    Create folder , add people (give email add of other user), publish offering. Check

    other user should get invitation.

    Check there should be 2 button 'Accept' 'Decline' infront of Invitaitons.

    click accept button, user will be able to syncronizr and view contents in that

    folder.

    click 'Decline' to skpi that invitation.

    click decline for invitation, from same second user send invitation, you should get

    invitation again.

    from thrid user , create folder , add people (add email add of second user only, do

    not give your email add), publish offering. Only second user should get invitation

    and you should not get invitation.

    available folders section shows global invitations or

  • 8/2/2019 TC+Template

    18/26

    Test case Steps

    1. Install Office Anywhere App on mobile. 2. Launch App. 3. Home Page should have ,Create Account'

    1. 4 text box for first name , last name , email address , password should be there. 2. 2 buttons with

    label 'Next' and 'Cancel' Should be there. 3. 1 check box to accept Terms And Conditions should be

    there.1. leave blank both first and last name filed and put other details. 2. Click 'submit'

    1. Give more than 32 chars for names filed . 2Fill other details on form. 3. Click Sumbit

    1. Give valid values for Names Field. 2. Fill other fields on page. 3. click Submit

    1. Give blank for email id. 2. Fill rest all information on the form. 3. Click submit button.

    1. Give wrong data like 'xtz' in email addr filed. 2. Fill rest all information on the form. 3. Click

    submit button.

    1. Give email addr which already exist in office anywhere. 2. Fill rest all information on the form. 3.

    Click submit button.1. Give valid non exist email address. 2. Fill rest all information on the form. 3. Click submit button.

    1. Give blank for pasword. 2. Fill rest all information on the form. 3. Click submit button.

    1. Give value in password filed.

    1. Give password leass than 6 chars. 2. Fill rest all information on the form. 3. Click submit button.

    1. Give more than 6 chars long password. 2. Fill rest all information on the form. 3. Click submit butt

    1. Check link for 'Terms and Conditions' should be there.2. Open that link , page with valid

    information should open.

    1. Keep uncheck the check box for 'Terms and Conditions' 2. Fill rest of the details. 3. Click submit

    1. Check check box for 'terms and Conditions'. 2. Fill rest of the details. 3. Click submit

    1.Create account through mobile. 2. check email should come to user on registered email address.

    1.Create account through mobile. 2. check email should contain link to 'Validate account'

    1.Create account through mobile. 2. click the link in email for account validation after 72 hrs of

    account creation

    1.Create account through mobile. 2. click the link in email for account validation in 72 hrs of

    account creation

    1. Create account from mobile device. 2. Login to web portal. 3. Check subscription plan for your acc

    1. craete account from mobile. 2. Go to upgrade account on web portal. 3. Change subscription plan

    1. create account through mobile. 2. Login to web portal with same account credentials. 3. Check ac

    1. Create account. 2. Come to login page .

    1. create account through smartphone. 2. Login using this account on web portal, smartphone and t

  • 8/2/2019 TC+Template

    19/26

  • 8/2/2019 TC+Template

    20/26

  • 8/2/2019 TC+Template

    21/26

  • 8/2/2019 TC+Template

    22/26

  • 8/2/2019 TC+Template

    23/26

  • 8/2/2019 TC+Template

    24/26

  • 8/2/2019 TC+Template

    25/26

  • 8/2/2019 TC+Template

    26/26

    Result

    Pass/Fail

    le to user.

    ave email addr , pass, fields. Login button. Forget my password link, button for login with google, facebook