https://github.com/chatgthb/testingproject_02_selenium_junit_actions
Automated testing project for demowebshop.tricentis.com using Selenium, Java, and JUnit. Includes registration, login, and order scenarios with positive and negative test cases for user interactions.
https://github.com/chatgthb/testingproject_02_selenium_junit_actions
java-selenium-junit testing-automation ui-testing
Last synced: about 2 months ago
JSON representation
Automated testing project for demowebshop.tricentis.com using Selenium, Java, and JUnit. Includes registration, login, and order scenarios with positive and negative test cases for user interactions.
- Host: GitHub
- URL: https://github.com/chatgthb/testingproject_02_selenium_junit_actions
- Owner: ChatGTHB
- Created: 2023-03-04T20:52:31.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-11-07T17:41:48.000Z (over 1 year ago)
- Last Synced: 2024-11-16T11:10:07.727Z (5 months ago)
- Topics: java-selenium-junit, testing-automation, ui-testing
- Language: Java
- Homepage: http://demowebshop.tricentis.com/
- Size: 27.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TestingProject_02_Selenium_JUnit_Actions
[EN]
Test Project 2
url: http://demowebshop.tricentis.com/
➢ Java and Selenium library will be used
➢ Action class will be used
➢ JUnit will be usedTest Scenarios
Scenario 1: Record creation Test
➢ Go to the site
➢ Click on the Register button
➢ Fill in the personal information and click the register button
➢ Verify that you have successfully registeredScenario 2: Negative registration Test
➢ Go to site
➢ Click on the Register button
➢ Try to register with the email you registered above
➢ Click on the Register button
➢ Verify that the message “The specified email already exists” appearsScenario 3: Login Test
➢ Go to the site
➢ Click on the Login button
➢ Enter valid email and password I
➢ Click the Login button and verify that you are logged inScenario 4: Negative Login Test
➢ Go to the site
➢ Click on the Login button
➢ Enter an invalid email or password
➢ Click the Login button and verify that you cannot loginScenario 5: Order Test
➢ Go to the site
➢ Sign in
➢ Under Computers>Notebook, click on the product named “14.1-inch Laptop”
➢ Click the Add to Cart button and verify that the product has been successfully added
➢ Click on the shopping cart button to go to your cart and verify that the product is visible there
➢ Click the Agree check box and accept the terms
➢ Click the Checkout button
➢ Fill in all the information on the page that opens and click the confirm order button.
➢ “Your order has been successfully processed!” Verify that the message is seen===================*******************************===================
[TR]
Test Projesi 2
url: http://demowebshop.tricentis.com/
➢ Java ve Selenium kütüphanesini kullanılacak
➢ Action class kullanılacak
➢ JUnit kullanılacakTest Senaryoları
Senaryo 1: Kayıt oluşturma Testi
➢ Siteye gidiniz
➢ Register butonuna tıklayınız
➢ Kişisel bilgileri doldurun ve register butonuna tıklayınız
➢ Başarılı bir şekilde kaydolduğunuzu doğrulayınızSenaryo 2: Negatif kayıt Testi
➢ Siteye gidin
➢ Register butonuna tıklayınız
➢ Yukarda kaydolduğunuz email ile kaydolmaya çalışınız
➢ Register butonuna tıklayınız
➢ “The specified email already exists” mesajının görüldüğünü doğrulayınızSenaryo 3: Login Test
➢ Siteye gidiniz
➢ Login butonuna tıklayınız
➢ Geçerli email ve password I giriniz
➢ Login butonuna tıklatınız ve login olduğunuzu doğrulayınızSenaryo 4: Negatif Login Test
➢ Siteye gidiniz
➢ Login butonuna tıklayınız
➢ Geçersiz email veya password giriniz
➢ Login butonuna tıklatınız ve login olamadığınızı doğrulayınızSenaryo 5: Order Test
➢ Siteye gidiniz
➢ Login olunuz
➢ Computers>Notebook un altında “14.1-inch Laptop” adli ürüne tıklatınız
➢ Add to Cart butonuna tıklatınız ve urunun başarılı bir şekilde eklendiğini doğrulayınız
➢ Shopping cart butonuna tıklatıp sepetinize gidin ve urunun orda görüldüğünü doğrulayınız
➢ Agree check box tıklatıp şartları kabul ediniz
➢ Checkout butonuna tıklatınız
➢ Açılan sayfada tüm bilgileri doldurun ve confirm order butonuna tıklatınız
➢ “Your order has been successfully processed!” mesajının görüldüğünü doğrulayınız