Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Igor Cernopolc - Http authentication in automated testing - presentation

  • Login to see the comments

Igor Cernopolc - Http authentication in automated testing - presentation

  1. 1. HTTP authentication in automated testing – problems and solutionsIgor CernopolcEndavaigor.cernopolc@gmail.com
  2. 2. Usage Intranet portals Back office applications Cross domain authentication (basic)
  3. 3. Main problems Non – HTML dialog
  4. 4. Main problems Non – HTML dialogDifferent interface/implementationsalong the browsers
  5. 5. Main problems Non – HTML dialogDifferent interface/implementations along thebrowsers Consequence?
  6. 6. Consequence Lots of workarounds for handling authenticationdialogs during automated web testing
  7. 7. Solutions Brow Passing the username/password ser in the HTTP request based (http://user:pass@domain.com)Browser based
  8. 8. Solutions Brow Passing the username/password ser in the HTTP request based (http://user:pass@domain.com) BrowBrowser ser Firefox profiles based based
  9. 9. Solutions Brow Passing the username/password ser in the HTTP request based (http://user:pass@domain.com) BrowBrowser ser Firefox profiles based based Brow ser Setting the appropriate cookie based
  10. 10. Solutions Brow ser Firefox AutoAuth addon basedExternal
  11. 11. Solutions Brow ser Firefox AutoAuth addon based BrowExternal ser java.awt.Robot class based
  12. 12. Solutions Brow ser Firefox AutoAuth addon based BrowExternal ser java.awt.Robot class based Brow ser Autoit, Siculi scripts based
  13. 13. My Solution Webdriver Java
  14. 14. My Solution Webdriver Java + AutoitX
  15. 15. My Solution Webdriver Java + = AutoitX
  16. 16. My Solution
  17. 17. My Solution
  18. 18. My Solution
  19. 19. My Solution
  20. 20. My Solution
  21. 21. My Solution
  22. 22. My Solution
  23. 23. My Solution
  24. 24. Limitations Windows based Selenium Grid
  25. 25. Limitations Windows based → Siculi? Selenium Grid → .exe script based calls? → duplicate workspace?
  26. 26. Conclusions Don’t be afraid of using multiple tools when it is required. Combine and innovate and you will succeed.
  27. 27. Thank you Please don’t forget to fill in the evaluation form 
  28. 28. Diamond SponsorsPlatinum Sponsors Gold SponsorsTraining Partners Media Partners Other Partners

×