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

  Create a time line history for knowledge based engineering

Create a Time line history for knowledge based engineering and Are there some knowledge based engineering applications in your respective organizations/company?

  Describe the calling mechanisms just mentioned and discuss

describe the calling mechanisms just mentioned and discuss why most modern programming languages provide only call by value.(c) Discuss the reasons why language

  Designing and implementing an information system

Understand the methods and techniques involved in designing, implementing and maintaining an information system, in particular using an object-oriented approach

  Coach currently uses a multi-channel distribution strategy

coach currently uses a multi-channel distribution strategy. the products are sold through direct mail catalogs on-line

  Decided to build a system for an online file hosting system

Assume you decided to build a system for an Online File Hosting System. You are required to design a Class Diagram for the system.

  Choose one of the media articles or case studies listed

All the claims shown on the Rationale diagram must appear in the essay, and all claims made in the essay must appear on the Rationale diagram. The essay must present all the detailed information that the Rationale diagram cannot.

  Evaluate the intended audience

Question: In order for technical communication to be effective, the writer must evaluate the intended audience, its characteristics, knowledge base, expectations, and needs.

  Create a web-based online networking system

ITECH3108 Dynamic Web Programming Assignment - Shared Interest Day, Federation University Australia. Create a web-based online networking system

  How could core erp components aid improve business operation

How could core ERP components aid improve business operations at college? How could extended ERP components aid improve business operations at the college.

  Naming conventions in programming language

Discuss and explain why naming conventions are important and why programmers should consistently follow them. Include in this discussion problems that could arise in naming variables if one convention is not followed.

  Compare different software development approaches

Explain and use key programming constructs to create correct and efficient programs and Critique and compare different software development approaches

  Gui based program to write data to a sequential data file

Design a GUI Based program with a WriteButton used to write data to a sequential information file. Then make another ReadData button to read information from the file created and display it in a JTable on the GUI.

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