®
WEBINAR: Automation Demystified
Part 2: Is Your Application Ready for Test
Automation?
• May 29th, 2019 – Alexey Grinevich, alexey@inflectra.com
We will be starting the webinar shortly, please stand by…
All phones will be automatically on mute until the Q&A.
®
2 | 5/30/2019 © Copyright 2006-2019 Inflectra Corporation
Webinar Series: Useful Information
 Webinar Series: Test Automation, Demystified
 Webinar Series Certificate Rules & FAQs
 Inflectra’s test automation platform: Rapise
 Youtube link to series is here:
 Series Presenters: Denis Markovtsev & Alexey Grinevich
 Twitter: @dmarkovtsev; @AlexeyGrinevich
 Email: denis@inflecta.com; alexey@Inflectra.com
®
3 | 5/30/2019 © Copyright 2006-2019 Inflectra Corporation
Hey, I am Alexey
• Working on Rapise test automation
tool @Inflectra
• 20 years in software development
• 10 years in test automation
• Twitter: @AlexeyGrinevich
• Email: alexey@Inflectra.com
®
4 | 5/30/2019 © Copyright 2006-2019 Inflectra Corporation
Topics
 Application Does Matter
 DevOps and Shift Left
 Developer’s View On Automation
 Where To Look At
 Control Libraries
 Show Cases
 Mini AUT
 32 Bit / 64 bit
 Try Yourself
®
5 | 5/30/2019 © Copyright 2006-2019 Inflectra Corporation
Application Does Matter
®
6 | 5/30/2019 © Copyright 2006-2019 Inflectra Corporation
Application Does Matter
®
7 | 5/30/2019 © Copyright 2006-2019 Inflectra Corporation
DevOps and ShiftLeft
®
8 | 5/30/2019 © Copyright 2006-2019 Inflectra Corporation
Developer’s View
®
9 | 5/30/2019 © Copyright 2006-2019 Inflectra Corporation
Developer’s View
®
10 | 5/30/2019 © Copyright 2006-2019 Inflectra Corporation
Where to Start From
 Usual Practice
 Record & Play
 Try Making One Scenario End-to-End
 Try Adding One More Scenario End-to-End
®
11 | 5/30/2019 © Copyright 2006-2019 Inflectra Corporation
Does or Doesn’t Work?
Usually you have one of these cases:
 Only One Scenario Works
 Stuck in the Beginning
 Flacky
®
12 | 5/30/2019 © Copyright 2006-2019 Inflectra Corporation
You May Do it Wiser
There is Limited number of Controls
 Date Pickers
 Popup Pickers
 Trees
 Menus
 Grids / Tables
 Graphs
 Output controls
®
13 | 5/30/2019 © Copyright 2006-2019 Inflectra Corporation
Let’s Try It:
SFDC
®
14 | 5/30/2019 © Copyright 2006-2019 Inflectra Corporation
Summary
• Grid
• Text Input
• Combo Box
• Date Picker
• Buttons
• Menu
®
15 | 5/30/2019 © Copyright 2006-2019 Inflectra Corporation
Find Control Library
 https://lightningdesignsystem.com/
 https://developer.salesforce.com/docs/component-
library/overview/components
 We have a ShowCase
 All in One Page
 Very Quick (no login required!)
 Compare with your App and show to dev team
 Show to Rapise Team
 Check Ideas, Automation tools
 Bypass bureacracy, NDA, paperwork
®
16 | 5/30/2019 © Copyright 2006-2019 Inflectra Corporation
Control Libraries:
Check out these UI Libraries
 https://hotframeworks.com/
 Windows Forms
https://visualstudiomagazine.com/articles/2015/09/01/9-top-
net-ui-component-collections.aspx
 WPF Controls
https://nugetmusthaves.com/article/top-wpf-libraries
®
17 | 5/30/2019 © Copyright 2006-2019 Inflectra Corporation
How Many Controls Are There, Anyway?
 Thousands of libraries (Web, WPF, WinForms, Java, many
others)
 Each has 1-100 controls. Average is 20
 Each has 1-10 controls affecting UI. Average 5.
 Each library has history with versions.
 So we get about 1000*5=5000 different widget types. Each
has few versions.
 Controls are of different quality.
®
18 | 5/30/2019 © Copyright 2006-2019 Inflectra Corporation
Bad News:
You are likely to encounter a
control that is not supported by
an automation tool
®
19 | 5/30/2019 © Copyright 2006-2019 Inflectra Corporation
Good News!
 Rapise is customizable
 Control support may be added!
 You just need to identify it
 Controls leave fingerprints.
®
20 | 5/30/2019 © Copyright 2006-2019 Inflectra Corporation
How to Identify Control
 Ask your Dev team
 Detect yourself.
 Try variations (will show today)
 Stuck? Send information and example of control to Rapise
dev team
®
21 | 5/30/2019 © Copyright 2006-2019 Inflectra Corporation
Dev Team on-hand?
 If possible ask for mini-AUT
 If not, find a library and get a showcase
®
22 | 5/30/2019 © Copyright 2006-2019 Inflectra Corporation
Decided To Detect Yourself?
Use a Spy Tool:
 Check Classes and Attributes
 Check Files
 Google the result
 Find ShowCase
 Compare
®
23 | 5/30/2019 © Copyright 2006-2019 Inflectra Corporation
Example 1
Book Table
®
24 | 5/30/2019 © Copyright 2006-2019 Inflectra Corporation
Example 2
 https://www.gwinnettcounty.com/web/gwinnett/calendar/gen
eral
®
25 | 5/30/2019 © Copyright 2006-2019 Inflectra Corporation
Example 3
 https://app.blinga.club/#/home
®
26 | 5/30/2019 © Copyright 2006-2019 Inflectra Corporation
Example 4
Cashflow Dashboard
®
27 | 5/30/2019 © Copyright 2006-2019 Inflectra Corporation
32 Bit vs 64 Bit
 If in doubt, always choose 32 Bit (x86)
®
28 | 5/30/2019 © Copyright 2006-2019 Inflectra Corporation
Check Downloads
https://www.microsoft.com/en-
us/download/details.aspx?id=58204
®
29 | 5/30/2019 © Copyright 2006-2019 Inflectra Corporation
Check Application Files
®
30 | 5/30/2019 © Copyright 2006-2019 Inflectra Corporation
CorFlags
 CorFlags.exe
 Part of MS developer pack:
 https://dotnet.microsoft.com/download/thank-you/net472-
developer-pack
 corflags appname.exe /32bit+ /force
®
31 | 5/30/2019 © Copyright 2006-2019 Inflectra Corporation
How 32 bit Differs
 PhotoViewer App
®
32 | 5/30/2019 © Copyright 2006-2019 Inflectra Corporation
Summary: How to Check an Application
 Direct way: Record Scenario end-to-end
 Quick way: Identify controls
 Research your app before recording a real scenario (i.e.
32/64) for the best results
Important knowledge:
Even large applications use just several controls.
®
33 | 5/30/2019 © Copyright 2006-2019 Inflectra Corporation
Summary: How to Find Controls
 Spy
 Check Classes and Attributes
 Check Files
 Find Control Vendor
 Find ShowCase
Important Knowledge:
Showcases are mostly always available for free and are
redistributable.
®
34 | 5/30/2019 © Copyright 2006-2019 Inflectra Corporation
Send Questions to:
 Twitter: @AlexeyGrinevich
 Email: alexey@inflectra.com
 Web: https://www.inflectra.com/Rapise/
®
35 | 5/30/2019 © Copyright 2006-2019 Inflectra Corporation
Thank You
Subscribe to Inflectra’s Youtube Channel for More Videos on Software Testing And Automation

Is Application Ready For Test Automation? - A Webinar Presentation

  • 1.
    ® WEBINAR: Automation Demystified Part2: Is Your Application Ready for Test Automation? • May 29th, 2019 – Alexey Grinevich, alexey@inflectra.com We will be starting the webinar shortly, please stand by… All phones will be automatically on mute until the Q&A.
  • 2.
    ® 2 | 5/30/2019© Copyright 2006-2019 Inflectra Corporation Webinar Series: Useful Information  Webinar Series: Test Automation, Demystified  Webinar Series Certificate Rules & FAQs  Inflectra’s test automation platform: Rapise  Youtube link to series is here:  Series Presenters: Denis Markovtsev & Alexey Grinevich  Twitter: @dmarkovtsev; @AlexeyGrinevich  Email: denis@inflecta.com; alexey@Inflectra.com
  • 3.
    ® 3 | 5/30/2019© Copyright 2006-2019 Inflectra Corporation Hey, I am Alexey • Working on Rapise test automation tool @Inflectra • 20 years in software development • 10 years in test automation • Twitter: @AlexeyGrinevich • Email: alexey@Inflectra.com
  • 4.
    ® 4 | 5/30/2019© Copyright 2006-2019 Inflectra Corporation Topics  Application Does Matter  DevOps and Shift Left  Developer’s View On Automation  Where To Look At  Control Libraries  Show Cases  Mini AUT  32 Bit / 64 bit  Try Yourself
  • 5.
    ® 5 | 5/30/2019© Copyright 2006-2019 Inflectra Corporation Application Does Matter
  • 6.
    ® 6 | 5/30/2019© Copyright 2006-2019 Inflectra Corporation Application Does Matter
  • 7.
    ® 7 | 5/30/2019© Copyright 2006-2019 Inflectra Corporation DevOps and ShiftLeft
  • 8.
    ® 8 | 5/30/2019© Copyright 2006-2019 Inflectra Corporation Developer’s View
  • 9.
    ® 9 | 5/30/2019© Copyright 2006-2019 Inflectra Corporation Developer’s View
  • 10.
    ® 10 | 5/30/2019© Copyright 2006-2019 Inflectra Corporation Where to Start From  Usual Practice  Record & Play  Try Making One Scenario End-to-End  Try Adding One More Scenario End-to-End
  • 11.
    ® 11 | 5/30/2019© Copyright 2006-2019 Inflectra Corporation Does or Doesn’t Work? Usually you have one of these cases:  Only One Scenario Works  Stuck in the Beginning  Flacky
  • 12.
    ® 12 | 5/30/2019© Copyright 2006-2019 Inflectra Corporation You May Do it Wiser There is Limited number of Controls  Date Pickers  Popup Pickers  Trees  Menus  Grids / Tables  Graphs  Output controls
  • 13.
    ® 13 | 5/30/2019© Copyright 2006-2019 Inflectra Corporation Let’s Try It: SFDC
  • 14.
    ® 14 | 5/30/2019© Copyright 2006-2019 Inflectra Corporation Summary • Grid • Text Input • Combo Box • Date Picker • Buttons • Menu
  • 15.
    ® 15 | 5/30/2019© Copyright 2006-2019 Inflectra Corporation Find Control Library  https://lightningdesignsystem.com/  https://developer.salesforce.com/docs/component- library/overview/components  We have a ShowCase  All in One Page  Very Quick (no login required!)  Compare with your App and show to dev team  Show to Rapise Team  Check Ideas, Automation tools  Bypass bureacracy, NDA, paperwork
  • 16.
    ® 16 | 5/30/2019© Copyright 2006-2019 Inflectra Corporation Control Libraries: Check out these UI Libraries  https://hotframeworks.com/  Windows Forms https://visualstudiomagazine.com/articles/2015/09/01/9-top- net-ui-component-collections.aspx  WPF Controls https://nugetmusthaves.com/article/top-wpf-libraries
  • 17.
    ® 17 | 5/30/2019© Copyright 2006-2019 Inflectra Corporation How Many Controls Are There, Anyway?  Thousands of libraries (Web, WPF, WinForms, Java, many others)  Each has 1-100 controls. Average is 20  Each has 1-10 controls affecting UI. Average 5.  Each library has history with versions.  So we get about 1000*5=5000 different widget types. Each has few versions.  Controls are of different quality.
  • 18.
    ® 18 | 5/30/2019© Copyright 2006-2019 Inflectra Corporation Bad News: You are likely to encounter a control that is not supported by an automation tool
  • 19.
    ® 19 | 5/30/2019© Copyright 2006-2019 Inflectra Corporation Good News!  Rapise is customizable  Control support may be added!  You just need to identify it  Controls leave fingerprints.
  • 20.
    ® 20 | 5/30/2019© Copyright 2006-2019 Inflectra Corporation How to Identify Control  Ask your Dev team  Detect yourself.  Try variations (will show today)  Stuck? Send information and example of control to Rapise dev team
  • 21.
    ® 21 | 5/30/2019© Copyright 2006-2019 Inflectra Corporation Dev Team on-hand?  If possible ask for mini-AUT  If not, find a library and get a showcase
  • 22.
    ® 22 | 5/30/2019© Copyright 2006-2019 Inflectra Corporation Decided To Detect Yourself? Use a Spy Tool:  Check Classes and Attributes  Check Files  Google the result  Find ShowCase  Compare
  • 23.
    ® 23 | 5/30/2019© Copyright 2006-2019 Inflectra Corporation Example 1 Book Table
  • 24.
    ® 24 | 5/30/2019© Copyright 2006-2019 Inflectra Corporation Example 2  https://www.gwinnettcounty.com/web/gwinnett/calendar/gen eral
  • 25.
    ® 25 | 5/30/2019© Copyright 2006-2019 Inflectra Corporation Example 3  https://app.blinga.club/#/home
  • 26.
    ® 26 | 5/30/2019© Copyright 2006-2019 Inflectra Corporation Example 4 Cashflow Dashboard
  • 27.
    ® 27 | 5/30/2019© Copyright 2006-2019 Inflectra Corporation 32 Bit vs 64 Bit  If in doubt, always choose 32 Bit (x86)
  • 28.
    ® 28 | 5/30/2019© Copyright 2006-2019 Inflectra Corporation Check Downloads https://www.microsoft.com/en- us/download/details.aspx?id=58204
  • 29.
    ® 29 | 5/30/2019© Copyright 2006-2019 Inflectra Corporation Check Application Files
  • 30.
    ® 30 | 5/30/2019© Copyright 2006-2019 Inflectra Corporation CorFlags  CorFlags.exe  Part of MS developer pack:  https://dotnet.microsoft.com/download/thank-you/net472- developer-pack  corflags appname.exe /32bit+ /force
  • 31.
    ® 31 | 5/30/2019© Copyright 2006-2019 Inflectra Corporation How 32 bit Differs  PhotoViewer App
  • 32.
    ® 32 | 5/30/2019© Copyright 2006-2019 Inflectra Corporation Summary: How to Check an Application  Direct way: Record Scenario end-to-end  Quick way: Identify controls  Research your app before recording a real scenario (i.e. 32/64) for the best results Important knowledge: Even large applications use just several controls.
  • 33.
    ® 33 | 5/30/2019© Copyright 2006-2019 Inflectra Corporation Summary: How to Find Controls  Spy  Check Classes and Attributes  Check Files  Find Control Vendor  Find ShowCase Important Knowledge: Showcases are mostly always available for free and are redistributable.
  • 34.
    ® 34 | 5/30/2019© Copyright 2006-2019 Inflectra Corporation Send Questions to:  Twitter: @AlexeyGrinevich  Email: alexey@inflectra.com  Web: https://www.inflectra.com/Rapise/
  • 35.
    ® 35 | 5/30/2019© Copyright 2006-2019 Inflectra Corporation Thank You Subscribe to Inflectra’s Youtube Channel for More Videos on Software Testing And Automation

Editor's Notes

  • #4 Thea, thank you for the intro. Thanks everyone for joining today. My name is Denis! I create software products for about 20 years. Last 10 years I do it in test automation field. Currently I am in love with Rapise – test automation tool we develop at Inflectra. Follow me on Twitter and send questions by email. You are very welcome.
  • #35 Thanks for listening. We are now opening for questions.