O slideshow foi denunciado.
Seu SlideShare está sendo baixado. ×

UI Test Cases With CloudStack

Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Anúncio
Carregando em…3
×

Confira estes a seguir

1 de 38 Anúncio

UI Test Cases With CloudStack

Baixar para ler offline

Each Cloudstack update is a critical process to prevent production issues. At DIMSI, we aim to reduce downtimes and regressions as much as possible for our end users. We are now implementing automated UI Tests to cover all main use cases whenever a new release is published. Navid and Magali give an overview of how it is being done, and the next steps, including potential integration inside the code project.

Magali Pervan

Senior Scrumaster, DIMSI partner, Magali is in charge of agility at DIMSI. She helps all project teams to work together in a smooth and efficient atmosphere When not delivering projects on track and on time, she loves traveling around the world to discover other cultures.

Navid Abdoul

Junior platform engineer, Navid joined DIMSI last summer to help us provide maximum performance and uptime to our customers He is dedicated to guaranteeing fast and reliable customer VM’s backup When not playing with video games, Navid is watching action movies.

-----------------------------------------

CloudStack Collaboration Conference 2022 took place on 14th-16th November in Sofia, Bulgaria and virtually. The day saw a hybrid get-together of the global CloudStack community hosting 370 attendees. The event hosted 43 sessions from leading CloudStack experts, users and skilful engineers from the open-source world, which included: technical talks, user stories, new features and integrations presentations and more.

Each Cloudstack update is a critical process to prevent production issues. At DIMSI, we aim to reduce downtimes and regressions as much as possible for our end users. We are now implementing automated UI Tests to cover all main use cases whenever a new release is published. Navid and Magali give an overview of how it is being done, and the next steps, including potential integration inside the code project.

Magali Pervan

Senior Scrumaster, DIMSI partner, Magali is in charge of agility at DIMSI. She helps all project teams to work together in a smooth and efficient atmosphere When not delivering projects on track and on time, she loves traveling around the world to discover other cultures.

Navid Abdoul

Junior platform engineer, Navid joined DIMSI last summer to help us provide maximum performance and uptime to our customers He is dedicated to guaranteeing fast and reliable customer VM’s backup When not playing with video games, Navid is watching action movies.

-----------------------------------------

CloudStack Collaboration Conference 2022 took place on 14th-16th November in Sofia, Bulgaria and virtually. The day saw a hybrid get-together of the global CloudStack community hosting 370 attendees. The event hosted 43 sessions from leading CloudStack experts, users and skilful engineers from the open-source world, which included: technical talks, user stories, new features and integrations presentations and more.

Anúncio
Anúncio

Mais Conteúdo rRelacionado

Semelhante a UI Test Cases With CloudStack (20)

Mais de ShapeBlue (20)

Anúncio

Mais recentes (20)

UI Test Cases With CloudStack

  1. 1. UI Test Cases with CloudStack From November 14 to 16, 2022
  2. 2. Navid ABDOUL System & Cloud Administrator Network and System Security Expert Magali PERVAN Agile Coach Scrum Enthusiast A junior plateform engineer, Navid joined DIMSI last summer to help us provide maximum performance and uptime to our customers. He is dedicated to guaranteeing fast and reliable customer VM’s backups. Your Speakers A senior Agile Coach, Magali has been working for one year at Dimsi, helping teams get organized throughout their busy days. Using the Agile "Scrum" framework, Magali helps them reach their goals by providing regular and valuable deliveries.
  3. 3. Who are we ?
  4. 4. Who are we? About DIMSI and your speakers Why should we automate? Why we think that automated UI test cases is a good idea Why we choose Selenium to automate? Why Selenium is a perfect fit for UI test cases on CloudStack Our UI test cases on Cloudstack Demo Outline
  5. 5. • Automated Software Testing Saves Time and Money • Vastly Increases Your Test Coverage • Testing Improves Accuracy • Automation Does What Manual Testing Cannot • Automated QA Testing Helps Developers and Testers • Better mood for QA and Dev Team Why should we automate? Why we think that automated UI test cases is a good idea Once we've said that, what’s advantages and disadvantages of AT?
  6. 6. Why should we automate? Why we think that automated UI test cases is a good idea Advantages: • Reliable: less human error • Reusable • Better quality software • Fast • Less expensive Disadvantages: • High investment and training for the tools • High requirement for tests preparations • Some areas left uncovered
  7. 7. At Dimsi, we choose not too much care about disadvantages, for one reason: We know, thanks to the agile methods we have put in place, that commitment and time we feel we are losing sometimes, is most certainly time we will gain later. Why should we automate? Why we think that automated UI test cases is a good idea
  8. 8. Starting from an existing code on GitHub - developed about ten years ago, by @sebgoa - we updated the requirements (Firefox, Python, HTLM/TestRunner in their most recent versions) and chose the most adapted solution for automated tests. We believe that the open-source Selenium solution is the most competitive for Automated Tests. Why Selenium is a perfect fit for UI test cases on CloudStack Why we choose Selenium to automate?
  9. 9. Why Selenium is a perfect fit for UI test cases on CloudStack Why we chose Selenium to automate? Selenium Selenium is tool kit to automate web browsers. • Browser based Web Application testing tool • Open-Source License • Extensible Framework • Mobile Testing Android/iOS support • Write Test Cases using Language of choice Java, C#, Python, Ruby & HTML • Native Browser Testing support
  10. 10. Why Selenium is a perfect fit for UI test cases on CloudStack Why we chose Selenium to automate? choose Selenium • It's a reference on this technology • This is the solution that was originally implemented on CloudStack • Multi operating system, multi browsers, multi languages • Supports parallel test execution • Open source • The fastest solution
  11. 11. Why Selenium is a perfect fit for UI test cases on CloudStack Why we chose Selenium to automate?
  12. 12. Why Selenium is a perfect fit for UI test cases on CloudStack Why we chose Selenium to automate? Let’s build a Selenium test case example based on the first test scenario. Test Scenario: To authenticate as admin user on apachecloudstack. Test Steps: • The admin user navigates to the apachecloudstack sign-in page. • In the "Login" field, the user enters their registered admin login apachecloudstack. • The user enters the registered password. • The user clicks "Login". Prerequisites: A registered login ADMIN CloudStack given at the installation.
  13. 13. Why Selenium is a perfect fit for UI test cases on CloudStack Why we chose Selenium to automate? Browser: Chrome, Firefox or others... Test Data: Legitimate admin login and password. Expected/Intended Results: Once admin login and password are entered, the web page redirects to the admin’s dashboard. Actual Results: As Expected or not Test Status: Pass/Fail
  14. 14. Demo Our UI test cases on Cloudstack • Automatic login in admin mode • Account creation on CloudStack • Logout from admin mode • Login with the created account • Log out of the created account • Automatic login in admin mode • Delete test account User's account creation
  15. 15. Demo Our UI test cases on Cloudstack • Automatic creation of a VM • Verification of the VM creation • Deletion of the VM Creation of a virtual machine
  16. 16. Demo Our UI test cases on Cloudstack ACCOUNT CREATION USER'S
  17. 17. Automatic login in admin mode
  18. 18. Account creation on CloudStack
  19. 19. Logout from admin mode
  20. 20. Login with the created account
  21. 21. Log out of the created account
  22. 22. Automatic login in admin mode
  23. 23. Delete test account
  24. 24. OF A VIRTUAL MACHINE CREATION Our UI test cases on Cloudstack Demo
  25. 25. Automatic creation of a VM
  26. 26. Verification of the VM creation
  27. 27. Deletion of the VM
  28. 28. A N Y Q U E S T I O N S ?
  29. 29. Thank You !
  30. 30. www.dimsi.fr | contact@dimsi.fr | (+33) 01 75 43 89 66 4 Avenue Laurent Cély Hall D, 92600 Asnières-sur-Seine

×