Test a registration page using selenium

Assignment Help Software Engineering
Reference no: EM133673704

Software Quality and Testing

Task: Test a registration page using Selenium

Overview
You have learned how to use Selenium APIs to open a webpage, locate HTML elements by various attributes (such as id, name and xpath) and populate HTML input elements by your own choice of values. In this task, you will use Selenium APIs to open a customer registration webpage, locate input elements and populate with your own values and finally submit the form. In addition, repeat the process for an alternative website's registration page other than the one mentioned below in the submission details. Comment on your experience dealing with two separate websites.

Submission details
Use the instructions on the following page to carry out this task's steps. Submit the following files to OnTrack.
The screenshot taken of the officework's filled and submitted registration page using Selenium screenshot API. Make sure you fail only the password requirement, so the page does not submit successfully and contains errors.
Repeat the above step for an alternative website's registration page.
Highlight your key finding and experience dealing with registration page of 2 separate sites.
Your program's source code (SeleniumOperations.java and the function you created for the alternative website).
A screenshot of your GitHub page where your latest project folder is pushed.
You want to focus on the following key ideas, and make sure you can explain them in relation to your program.
Selenium web­driver's locator APIs to identify input element and buttons
Selenium web­driver's element interaction APIs to interact with input element and buttons.

Instructions
For this task you will need to

Download task2_1P.zip Java project and unzip it in a common folder (say, java_projects) which you will be using to store all the weekly projects.
Import the project (as a maven project) in Eclipse IDE.

Use the officeworks_registration_page(url) function in SeleniumOperations.java which opens an URL, finds input by id ‘firstname' and set content "Ahsan". Fill in the code to identify all the input elements, fill in your personal information (including the set firstname), identify ‘Create account' button and simulate a click action to submit form.

You have to run the Main.java file once the officeworks_registration_page(url) function is done, of course you can progress the registration function a bit and run Main.java to test periodically. Once done, capture Eclipse IDE's console output, store the screenshot captured using Selenium's screenshot function.

Repeat above steps to automate testing an alternative webpage's registration page. You can create a separate java file or create a new function in the existing SeleniumOperations.java file.

Upload your folder to your GitHub account as a private repository and take a screenshot. Find instructions in the unit site on how to create a new empty project (say, task2_1P_<studentID>) in GitHub and upload your Eclipse Maven project with the same name in the newly created GitHub empty project.

Your Task

Study the officeworks_registration_page (url) function in the SeleniumOperations.java and complete the functiion. Follow the instructions in the function definition in the java file.
Explore Selenium web­driver's locator and interaction APIs to understand how input elements are located.

Locate all the input fields and pass your personal information to fill in the registration form.
Locate the Create account button and simulate a click action.
Repeat above steps for an alternative website's registration page.
Share your experience explaining difficulties faced and lessons learned.
Use Selenium screenshot API to capture the chromium browser screen and save the image file.

Submit your work
When you are ready, login to OnTrack and submit your pdf which consolidates all the items mentioned in the submission detail section above. Remember to save and backup your work.

Complete your work
After your submission, your OnTrack reviewer (tutor) will review your submission and give you feedback in about 5 business days. Your reviewer may further ask you some questions on the weekly topics and/or about your submissions. You are required to address your OnTrack reviewer's questions as a form of task discussions. Please frequently login to OnTrack for the task Discuss/Demonstrate or Resubmit equivalent to fix your work (if needed) based on the feedback to get your task signed as Complete.

Reference no: EM133673704

Questions Cloud

Prepare an equivalence class test case : Prepare an equivalence class test case for any of Deakin's webpages (can include unit site, OnTrack or any other sitting within Deakin) ­ testing implementation
Introduced waste management : You were introduced to waste management. What we do with our garbage
Drive system running open loop : Objective:To investigate the operation of a drive system running open loop. Operation of a power processingunit will be explored.
Identify a target element with alternative relative locator : Identify a target element with alternative relative locator API functions. Locate the Create account button and simulate a click action
Test a registration page using selenium : You will use Selenium APIs to open a customer registration webpage, locate input elements and populate with your own values
Constructive criticism : Craft a email to Joe explaining that he did not get the job, and offer him constructive criticism.
Use selenium api to do several actions : In this task, you will use Selenium API to do several actions including starting the chromium browser, opening a URL, resizing it and finally closing it
Difference between individual and organizational values : Describe the difference between individual and organizational values. What happens if these two values are not aligned?
Identify your communication style : Identify your communication style and provide a specific example of how this style will affect the way you create and present your speech.

Reviews

Write a Review

Software Engineering Questions & Answers

  Research report on software design

Write a Research Report on software design and answer diffrent type of questions related to design. Report contain diffrent basic questions related to software design.

  A case study in c to java conversion and extensibility

A Case Study in C to Java Conversion and Extensibility

  Create a structural model

Structural modeling is a different view of the same system that you analyzed from a functional perspective. This model shows how data is organized within the system.

  Write an report on a significant software security

Write an report on a significant software security

  Development of a small software system

Analysis, design and development of a small software system.

  Systems analysis and design requirements

Systems Analysis and Design requirements

  Create a complete limited entry decision table

Create a complete limited entry decision table

  Explain flow boundaries map

Explain flow boundaries map the dfd into a software architecture using transform mapping.

  Frame diagrams

Prepare a frame diagram for the software systems.

  Identified systems and elements of the sap system

Identify computing devices, which could be used to support Your Improved Process

  Design a wireframe prototype

Design a wireframe prototype to meet the needs of the personas and requirements.

  Explain the characteristics of visual studio 2005

Explain the characteristics of Visual Studio 2005.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd