College of Engineering
S – DESIGN
Project Report
Group No: 2
Members:
Balajadia, Jeric
Ballares, Lara
Daracan, Brenzon
Dela Cruz, Vincent Andrei
Enriquez, Liam
Fabillar, Jomari
Gamboa, Francis James
Golveo, Carlos John
Gonzales, Noah
Marquez, Christian
*** Settings ***
Library SeleniumLibrary
*** Variables ***
*** Test Cases ***
Should be able to add new customer
[Documentation] Creating account ordering a product
Set Selenium Speed .2s
Set Selenium Timeout 5s
Log Starting the final project!
Open Browser https://www.nationalbookstore.com/ chrome
Set Window Position x=8 y=8
Set Window Size width=1920 height=1080
#Opening NBS through Google Chrome
Click Element xpath://*[@id="_desktop_user_info"]/div/a/span/span[2]
#Creating new account
Click Element xpath://*[@id="content"]/div/a
Input Text id=field-firstname Nohs
Input Text id=field-lastname Ondot
Input Text id=field-email
[email protected] Input Text id=field-password SirDingal1!
Input Text id=field-confirm_password SirDingal1!
Select Checkbox
xpath://*[@id="customer-form"]/div/div[7]/div[1]/span/label/input
Click Button xpath://*[@id="customer-form"]/footer/button
#Front Page
Go To https://www.nationalbookstore.com/
#Ordering Item
Scroll Element Into View
xpath://*[@id="cloudsliders-1"]/div[1]/div/div/div/div[6]/article/div/div[2]/
h3/a
Click Link https://www.nationalbookstore.com/stationery/44915-skylar-
embroidery-kit-ed074-flower-bouquet-20cm-arts-crafts-supplies.html
Click Element
xpath://*[@id="product-add-to-cart-container"]/div[1]/button
Go To https://www.nationalbookstore.com/cart?action=show
Click Element xpath://*[@id="checkout-button-proceed-logged"]
#Shipping Confirmation
Input Text id=field-alias Dodong
Input Text id=field-address1 Sampaloc St.
Select From List By Value id=field-id_state 385
Select From List By Value id=field-city Bagumbayan
Select From List By Value id=field-barangay Santo Niño
Input Text id=field-postcode 9810
Scroll Element Into View xpath://*[@id="js-address-select"]/h2
Click Button xpath://*[@id="checkout-proceed-button-block"]/button
#Confirmation of Order
Input Text id=delivery_message Sir Dingal I-uno niyo na po kami
Click Element xpath://*[@id="checkout-proceed-button-block"]/button
#Mode of Payment
Click Element xpath://*[@id="payment-option-2"]
Click Element xpath://*[@id="conditions_to_approve[terms-and-
conditions]"]
Click Element xpath://*[@id="payment-confirmation"]/div[1]/button
Sleep 1000s
Close Browser