An open API service indexing awesome lists of open source software.

https://github.com/chatgthb/testingproject_03_selenium_junit

Selenium and JUnit-based automated testing project for e-junkie shop demo site. Includes test cases for adding items to cart, applying promo codes, validating payment fields, and submitting contact forms.
https://github.com/chatgthb/testingproject_03_selenium_junit

java junit-test selenium testing-automation testing-practices ui-testing

Last synced: 8 months ago
JSON representation

Selenium and JUnit-based automated testing project for e-junkie shop demo site. Includes test cases for adding items to cart, applying promo codes, validating payment fields, and submitting contact forms.

Awesome Lists containing this project

README

          

# TestingProject_03_Selenium_JUnit

[EN]

➢ Java and Selenium libraries will be used
➢ JUnit will be used

Testing Project 3

Test Case 1:

➢ Go to https://shopdemo.e-junkie.com/
➢ Click the E-book add to cart button. ➢ Click the Add promo code button and enter data.
➢ Click the Apply button. ➢ Verify that Invalid promo code is displayed

Test Case:2

➢ Go to https://shopdemo.e-junkie.com/
➢ Click the E-book add to cart button. ➢ Click on Pay using debit card. ➢ Click on the Share button.
➢ Verify that Invalid Email, Invalid Email, invalid billing name messages are displayed.

Test Case:3

➢ Go to https://shopdemo.e-junkie.com/
➢ Click the E-book add to cart button. ➢ Click on Pay using debit card. ➢ Enter “1111 1111 1111 1111” on the Card number
➢ Verify that the message “Your card number is invalid” appears.

Test Case: 4

➢ Go to https://shopdemo.e-junkie.com/
➢ Click the E-book add to cart button.
➢ Click on Pay using debit card.
➢ Enter Email, confirm Email, name, phone, company, Card number(“4242 4242 4242 4242”),
Fill in the expdate, cvc code information
➢ Click on the Share button
➢ “Your order is confirmed. Thank you!” Verify that the message is seen

Test Case:5

➢ Go to https://shopdemo.e-junkie.com/
➢ You clicked the ContactUs button
➢ Fill in Name, Email, Subject and message sections
➢ Click the Send button
➢ Verify that the alert is seen and turn alert I off

==========================================================================

[TR]

➢ Java ve Selenium kütüphaneleri kullanılacak
➢ JUnit kullanılacak

Test Projesi 3

Test Case 1:

➢ https://shopdemo.e-junkie.com/ sitesine gidiniz
➢ E-book add to cart butonuna tıklatınız. ➢ Add promo code butonuna tıklatıp veri giriniz.
➢ Apply butonuna tıklayınız. ➢ Invalid promo code yazısının görüldüğünü doğrulayınız

Test Case:2

➢ https://shopdemo.e-junkie.com/ sitesine gidiniz
➢ E-book add to cart butonuna tıklatınız. ➢ Pay using debit card a tıklatınız. ➢ Pay butonuna tıklatınız.
➢ Invalid Email, Invalid Email, invalid billing name mesajlarının görüldüğünü doğrulayınız.

Test Case:3

➢ https://shopdemo.e-junkie.com/ sitesine gidiniz
➢ E-book add to cart butonuna tıklatınız. ➢ Pay using debit card a tıklatınız. ➢ Card numarasına “1111 1111 1111 1111” giriniz
➢ “Your card number is invalid” mesajının görüldüğünü doğrulayınız.

Test Case: 4

➢ https://shopdemo.e-junkie.com/ sitesine gidiniz
➢ E-book add to cart butonuna tıklatınız.
➢ Pay using debit card a tıklatınız.
➢ Email, confirm Email, name, telefon, company, Card number(“4242 4242 4242 4242” ) giriniz,
expdate, cvc kodu bilgilerini doldurunuz
➢ Pay butonuna tıklayınız
➢ “your order is confirmed. Thank you!” mesajının görüldüğünü doğrulayınız

Test Case:5

➢ https://shopdemo.e-junkie.com/ sitesine gidiniz
➢ ContactUs butonuna tıklattınız
➢ Name, Email, Subject ve mesaj kısımlarını doldurun
➢ Send butonuna tıklatın
➢ Alert in görüldüğünü doğrulayın ve alert I kapatın