Lab Assignment:: 5 - GayathreeIyer/Advanced-Software-Engineering GitHub Wiki
Name: Gayathree Natarajan Iyer
UMKC ID: 16227784
Class ID: 20
Lab Assignment 5::
Question 1: Create a basic login with 2 buttons “Login” and “Register”
On clicking “Login” button, user should be navigated to “Home” page On clicking “Register” button, user should be navigated to “Registration” page
Answer:
--> Ionic run android.
--> Build Successful and Launching application.
--> Index page created using Ionic Framework.
--> Login page created using Ionic Framework.
--> Filled Login page using Ionic Framework.
--> Registration page created using Ionic Framework.
--> Filled Registration page using Ionic Framework.
Question 2: Home page should have a Mashup using at least Two Web Services (refer to the web services from the following link). One of them should be from the list of knowledge services and they should be different from the two services you used in your Lab 3 assignment.
Answer:
--> Main Page: I have kept the application name as 'Find Fashion'. User will enter the city name and the cloth item they want to buy. They will receive a list of Boutiques from where they can chose one. Then using U-Classify GenderAnalyzer API the user can determine how many portion of males and females have already searched for this cloth item. In the 3rd assignment i had used: Speech to text API and Alchemy API. I using 2 different API this time.
##1st Example
--> If user enters the boutique location as Kansas city and the cloth item as 'Tshirts', user can receive a list of Tshirt boutiques in Kansas city.
--> Now, using U-Classify Gender Analyzer API, user can determine how many males and females have already searched for tshirts.
##2nd Example
--> If user enters the boutique location as Houston and the cloth item as 'Tops',
--> User can receive a list of Tops boutiques in Houston.
--> Now, using U-Classify Gender Analyzer API, user can determine how many males and females have already searched for Tops.
##3rd Example
--> If user enters the boutique location as Virginia and the cloth item as 'Shirts',
--> User can receive a list of Shirt boutiques in Virginia.
--> Now, using U-Classify Gender Analyzer API, user can determine how many males and females have already searched for Shirts.
Question 3: Design a good UI using a wireframe tool.
Answer:
WIREFRAMES
--> Index Page- Wireframe
--> Login Page- Wireframe
--> Registration Page- Wireframe
--> MainPage -Wireframe
--> Detailed Main Page -Wireframe
Question 4: Write at least 3 unit test cases related to your application.
Answer:
--> Unit Testing
--> PhantomJs
-->Karma init
--> Karma config
--> 3 unit test cases.
-
**Test Case:**Successful User Authentication
**DEscription:**The user should login with correct username and password. **Expected Outcome:**Successful Login **Result:**Pass
-
**Test Case:**Registration by new user
**DEscription:**The user should register with a new username and password. Then, user should be able to login with that credentials. **Expected Outcome:**Successful Registration **Result:**Pass
-
**Test Case:**Confirm Password
**Description:**Confirm password should match earlier entered password in registration page. Then only user is allowed to proceed. **Expected Outcome:**Successful Registration **Result:**Pass