selenium ide is making a comeback can codeless testing
play

Selenium IDE Is Making a Comeback - Can Codeless Testing - PDF document

T8 Test Automation Thursday, October 3rd, 2019 11:15 AM Selenium IDE Is Making a Comeback - Can Codeless Testing Scale? Presented by: Moshe Milman


  1. T8 ¡ Test ¡Automation ¡ Thursday, ¡October ¡3rd, ¡2019 ¡11:15 ¡AM ¡ Selenium ¡IDE ¡Is ¡Making ¡a ¡ Comeback - Can ¡Codeless ¡Testing ¡ Scale? ¡ Presented ¡by: ¡ Moshe ¡Milman ¡ Applitools ¡ Brought ¡to ¡you ¡by: ¡ 888 -­‑-­‑-­‑ 268 -­‑-­‑-­‑ 8770 ¡ ·√·√ ¡904 -­‑-­‑-­‑ 278 -­‑-­‑-­‑ 0524 ¡-­‑ ¡info@techwell.com ¡-­‑ ¡http://www.starwest.techwell.com/ ¡

  2. ¡ ¡ ¡ ¡ Moshe ¡Milman ¡ ¡ Moshe ¡Milman ¡is ¡the ¡cofounder ¡of ¡Applitools, ¡a ¡cloud ¡service ¡for ¡automated ¡visual ¡ testing. ¡As ¡part ¡of ¡his ¡role ¡at ¡Applitools, ¡he ¡helps ¡dozens ¡of ¡companies ¡across ¡the ¡ industry ¡implement ¡state-­‑of-­‑the-­‑art ¡test ¡automation ¡suites. ¡Moshe ¡is ¡passionate ¡ about ¡software ¡testing ¡and ¡frequently ¡gives ¡talks ¡about ¡it ¡in ¡various ¡conferences ¡ around ¡the ¡globe. ¡Before ¡starting ¡Applitools, ¡he ¡served ¡at ¡various ¡VP ¡roles ¡ overseeing ¡product, ¡QA, ¡and ¡professional ¡services. ¡Moshe ¡holds ¡a ¡bachelor’s ¡degree ¡ in ¡information ¡systems ¡from ¡the ¡Technion€”Israel ¡Institute ¡of ¡Technology ¡and ¡an ¡ MBA ¡from ¡IDC ¡(Wharton ¡Business ¡School's ¡Global ¡Consulting ¡Practicum). ¡ ¡

  3. SELENIUM IDE IS BACK!!! CAN CODELESS TESTING SCALE??? Moshe Milman Co-Founder @ Applitools @MosheMilman

  4. INTRODUCTIONS WHO WHO AM I • Co-Founder of Applitools • Spent the last years working with multiple companies on software development and testing/automation projects 2

  5. AGENDA • Codeless Testing • Codeless Testing Tools • Pros and Cons of Codeless Testing • Visual Testing • Codeless Visual Testing 3

  6. 4

  7. http://bit.ly/rise-of-no-code 5 5

  8. Your Brand Is Digital Microservices OS Types Browser Versions Devices & Screen Types 6

  9. AUTONOMOUS TESTING? 7

  10. AUTONOMOUS TESTING? 8

  11. CODELESS TESTING • Record-Playback • Selenium IDE • Katalon • List of other commercial tools J • Self generated tests TEST = INTERACTION + VALIDATION 9

  12. CODELESS TOOLS? 10

  13. http://bit.ly/10-features-codeless 11

  14. TOP 10 6. Reusable steps 1. Smart element locators 7. Cross-browser support 2. Conditional waiting 8. Reporting 3. Control structures 9. Ability to insert code 4. Easy assertions 10. Continuous integration 5. Modification w/o redo 12

  15. Selenium m IDE is Back! IDE is Back! 13

  16. NEW MODERN UI 14

  17. SMART ELEMENT LOCATORS 15

  18. SMART ELEMENT LOCATORS 16

  19. REUSABLE STEPS 17

  20. REUSABLE STEPS 18

  21. 19

  22. MODIFICATION WITHOUT REDO 20

  23. MODIFICATION WITHOUT REDO 21

  24. CONTROL STRUCTURES 22

  25. CONTROL STRUCTURES 23

  26. CONTROL STRUCTURES Conditionals Loops

  27. CONTROL STRUCTURES Conditionals

  28. 26

  29. CONTROL STRUCTURES Loops

  30. 28

  31. CI INTEGRATION + CROSS-BROWSER SUPPORT • Test runner to easily integrate with CI § Parallel execution § Grid execution § E2E test framework … 29

  32. 30

  33. ABILITY TO INSERT CODE 31

  34. CODE EXPORT Code Export Core Java JUnit Java TestNG Ruby RSpec Python pytest etc. 32

  35. 3 3

  36. WHAT’S NEW IN SELENIUM IDE? • Test cases sharing between multiple suites groups • Takes care of waiting for you • Smart and stable selectors • Recording on Chrome and Firefox • All of your project is portable within a single file • Selenium code export 34

  37. WHAT’S NEXT IN SELENIUM IDE? • WebDriver compatibility • Export to additional languages (C#, JavaScript, etc...) • Data driven testing • Improved UI/UX • Moving to a native app • Make it work for wonky websites 💰 • Internationalization (i18n) 35

  38. Ca Can Cod Codel eles ess Sc Scale ale??? 36

  39. Testers should write code. Record playback tools are bad because they encourage the exact opposite. 37

  40. Yeah, whatever, when will Selenium IDE be supported again? 38

  41. PROS OF CODELESS TOOLS • No need to develop a complex automation framework • Quickly author automated tests • Require no programming effort or language specific skills • Multiple stakeholders can contribute to the automation effort 39

  42. CONS OF CODELESS TOOLS • Flaky tests / unstable selectors • No test reuse • Dependency in specific tool • Linear test flow • Hard to do highly conditional automation • Difficult to handle complex validation logic 40

  43. SO … WHAT DO YOU THINK? • Code is still my first recommendation • Not a knockout victory • Codeless can win some rounds • Codeless Visual Testing can change the equation for some apps 41

  44. VISU VISUAL AL TESTING? TESTING?

  45. Spot The Differences

  46. SPOT THE DIFFERENCES

  47. WHAT IS VISUAL TESTING? • Visual Testing is the process of validating all the visual aspects of an application’s UI on all platforms • Goes beyond functional testing tools like Selenium to ensure things like colors, fonts, buttons appear correctly 45

  48. VISUAL BUG EXAMPLE #1 46

  49. VISUAL BUG EXAMPLE #2 47

  50. VISUAL BUG EXAMPLE #3 48

  51. WORKFLOW FOR VISUAL TESTING Step 2 Step 1 Compare screenshots with Drive the AUT and take baseline images screenshots Step 3 Step 4 Report differences Update the baseline 49

  52. C O D E L E S S C O D E L E S S V I S U V I S UA L A L T E S T I N G T E S T I N G

  53. 51

  54. CONS OF CODELESS TOOLS • Flaky tests / unstable selectors • Difficult to handle complex validation logic • Hard to do highly conditional automation • No test reuse • Linear test flow • Dependency in specific tool 52

  55. Something for everyone 53

  56. JUST GETTING STARTED Step 2. Run them Step 1. Author tests (in parallel, cross- browser, on CI) 54

  57. ALREADY ON YOUR WAY Bootstrap manual Code export & exploratory testing 55

  58. TAKEAWAYS • Using code for automation is still a good choice • Record playback tools are becoming smarter and innovative (and in some cases open source!) • Visual Testing super charges your tests • Codeless Visual Testing diminishes the impact of not using code and can actually scale! • Selenium IDE is back! 56

  59. https://testautomationu.com 57

  60. Thank You Stay in touch! @MosheMilman 58

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend