Mastering Take a look at Automation with Andrew Knight

21 min read

Welcome to an thrilling episode of the knowledgeable interview collection that includes Andrew Knight, famously often called “The Automation Panda.” Andrew is a famend advocate for software program high quality, dedicating his ardour and experience to BDD, check automation, software program testing, and software program improvement. Andrew is a sought-after worldwide speaker, partaking audiences at conferences, webinars, and workshops. His software program weblog, AutomationPanda.com, serves as a worthwhile useful resource for these navigating the complexities of software program high quality.

Andrew presently serves because the Principal Architect at Cycle Labs, based mostly in Raleigh, North Carolina. On this hybrid position, he contributes to optimizing enterprise processes within the provide chain and warehouse area utilizing the Cycle testing platform. Be a part of us as we unwind Andrew’s journey, insights, and the evolving panorama of software program high quality.

? How did you provide you with the thought of Automation Panda (1:03)

Reply – Nice query so again in 2016 gosh so way back now laborious to consider I had not too long ago joined Lexus Nexus and it was the primary time that I develop into a senior engineer so I used to be like oh fancy I’ve arrived at a giant profession purpose a milestone I’m now senior, individuals must be listening to me lastly proper and I requested myself what’s subsequent like what’re the following steps of my profession proper and what I noticed is that up till that time just about all of my work had been behind closed firm doorways and so even you recognize generic Wiki pages about finest practices they had been all caught internally to some firm and I’m like wait a minute that stuff is pretty generic proper there’s nothing proprietary about it it’s actually cool if I may share that extra broadly as a result of I began see seeing different individuals within the software program improvement and testing area you recognize they’ve blogs they communicate at conferences I’m like why can’t I do this.

So I made a decision as a New 12 months’s decision for 2017 that I used to be going to start out writing a Weblog and so I didn’t know what I used to be doing I had concepts to write down about however I used to be like okay so how do I make my web site like what do I do I discovered wordpress.com tremendous easy they maintain every part it’s like brainless proper you simply go in there and sort stuff I’m like cool straightforward proper pay somewhat cash increase.

I’m like okay I would like a reputation as a result of no one is aware of my title Andrew Knight and if you happen to Google Android Knight there’s like a ton of Android knights on the earth I’m like I would like one thing catchy and so it’s like all proper the development in software program proper now could be you’ve a undertaking you title it after a vegetable or an animal effectively I like pandas and all people likes pandas they’re cute they’re cuddly all that stuff what am I going to speak about check automation Panda increase proper registered the area title and there we had been subsequent factor you recognize it’s like like as soon as per week.

I used to be writing a brand new article as a result of I used to be into it after which right here we’re at this time good that’s fairly a narrative.

Have Blogs acquired out of fashion?

I might say that blogs haven’t gone out of fashion as a result of once you write articles it’s text-based content material and so text-based content material could be very straightforward to unfold and to devour it’s additionally acquired a a lot decrease barrier to entry to provide you recognize if you happen to’re doing video manufacturing you recognize you want a superb digicam you want the lights like I spent like $400 on these lights which can be on me proper now I look good proper however lots of people aren’t keen or in a position to leap into that plus you want a superb microphone and then you definately acquired to tune it and tweak it and also you’re by no means glad with the manufacturing.

You’re at all times making an attempt to do it higher the place’s a Weblog you want a keyboard proper and then you definately push the publish button and it’s on the market and it’s straightforward to devour and likewise like all of the chat gpts and AIS they choose it up now so it’s like proper making the life simpler now precisely so I might say it’s not that blogs have develop into outdated or gone out of fashion it’s simply there are other forms of content material and so they nonetheless have their.

?‍? How did you transition from being a Software program QA Engineer to your present position as a Principal Architect at Cycle Labs? (4:32)

Reply – Effectively as a software program high quality Champion if you happen to may name it that you recognize, I had been software program engineering check proper and at all times Constructing Options to testing issues and it was I by no means recognized a lot as a tester as only a software program engineer targeted on a selected area and that area occurred to be testing and that’s why I used to be very heavy into automation versus handbook or exploratory testing as a result of I like coding I like constructing issues I’m a builder at coronary heart and so being that software program engineer in check for a few decade or so it’s such as you you’re primarily a developer proper.

You’re Constructing scalable programs it’s a must to you recognize consider clear code practices it’s a must to be testing your exams it’s a must to fear about scale proper you recognize all these sorts of issues after which you recognize on the facet I might do other forms of tasks too like I’m very concerned within the python Neighborhood you recognize.

I’ve constructed internet apps on the facet utilizing issues like Jango flask and quick API proper and a few years in the past I transitioned from being a software program engineering check to being a developer Advocate at App Instruments Proper in that position you recognize I wasn’t accountable everyday for ensuring that exams are working and protection is occurring that type of freed me up somewhat bit to do other forms of issues after which coming into cycle Labs.

I truly had a bit of non-public historical past with the corporate and the individuals behind it, they’re positioned right here in Raleigh North Carolina the place I reside I’ve identified this staff for a very long time, in truth, the CEO of the corporate discovered me by means of my weblog automation panda.com again in 2018 that’s how we first met and so the timing was proper and so I joined cycle labs and so they wished me to primarily be like their principal engineer the one who’s guiding the product improvement from a technical side proper figuring out what we have to construct into this platform as a result of produces a check automation platform for provide chain Warehouse so it’s like I’m in a single sense I’m type of again in that software program engineer and check position.

I’m Constructing Options to testing issues it’s simply relatively than being the one liable for the execution of exams for some firm I’m constructing the platform that different corporations use for his or her testing proper that’s I’m nonetheless constructing a testing platform it’s simply in a distinct type of context in order that’s type of how that that transition occurred than and the way do the job like I imply is it extra handy does it give extra time to you oh my gosh I like my new job it’s great it’s it’s actually cool as a result of I really feel empowered to do the fitting issues for the platform you recognize I don’t need to battle as many you recognize inside political battles as a result of I’m trusted I’ve identified these people for without end and so they know me and so they they belief me which is very nice and so like I’ve type of Taken possession of the product street map for our platform and I’m I’m already engaged on some cool tasks I don’t need to share them but as a result of they’re not launched however they’re they’re coming quickly and stuff we’re doing is admittedly cool so with the ability to be fingers on creating that and to have the ability to you recognize ship it it’s going to be actually

? As a former Director of Take a look at Automation College (TAU), what motivated the creation of TAU, and the way did it contribute to the testing group? (8:13)

Reply – thrilling certain nice query so T gosh that began the primary programs got here out in 2019 okay it t is run by Apple instruments which is my earlier employer I used to be not the one who created ta that that pre-existed me it was it was the brainchild of individuals at appls and Angie Jones was the one who actually spearheaded it different man Raja he was type of within the background serving to I do know this as a result of I noticed his names on all of the credentials proper however nevertheless it at from its launch for the primary I assume 1923 years it was actually pushed laborious by Angie Jones she was was the one you recognize main it she was the one working with the instructors mapping out the programs for the content material and all and so I first discovered about it as a result of I had labored with Angie Jones beforehand and so you recognize I adopted her on LinkedIn and Twitter and I see she’s pumping out this T factor I’m like wow that’s so cool that’s wonderful I want I could possibly be a part of it after which in Spring of 2019 I feel it was she reached out to me and he or she was like hey Andy do you need to publish a course on ta and I’m like completely sure proper and so my first course on ta was internet aspect locator methods which was how do you write like an X move the CSS selectors and the way do you select to make use of IDs or one thing else proper and it was as a result of I’ve written an article on the panda weblog about internet aspect locators after which she learn it she’s like this may make an awesome due course.

I’m like certain after which later I had developed a collection of three programs on python testing there’s one on pest one on selenium and one on Pest bdd and so I printed these after which years later I truly labored at APPL instruments and as quickly as I joined Angie left and so I primarily turned I primarily took over ta proper so I turned director and so I used to be doing the issues that Angie was doing once I had left I feel there have been about 70 programs from about 50 totally different instructors and if you happen to have a look at the set of instructors it’s all very well-known revered leaders within the testing area you recognize we acquired individuals like Philip Ritz who who has finished the redid the Cypress studying path now we have rata Andrade who’s who’s did the playwright path you recognize we’ve acquired like Angie Jones herself has delivered quite a lot of programs I’m up there you recognize and the checklist checklist goes on and on and on and also you’re like wow that is it is a Star studed action-packed platform ja Avengers yeah yeah precisely precisely it’s just like the Avengers it’s the Avengers of check automation it’s fairly

?️ Might you share your expertise with instruments like Cypress and Playwright? What do you discover most beneficial about these instruments within the context of check automation? (11:02)

Reply – unimaginable certain certain so I imply as everyone knows there’s this nearly like this battle raging between the totally different browser automation instruments proper now I imply personally I my favourite one is is playright I used to be the primary playwright Ambassador now there’s about 10 of us however what I actually like about play proper particularly is to start with its pace how briskly it runs I imply they they’ve actually actually optimized that I like how the the syntax could be very consumer pleasant particularly coming from that extra conventional selenium background previously I really feel like as I’m writing my playr code is like web page locator increase click on proper it simply type of flows with me that’s extra of a private factor I do know some individuals are like I don’t prefer it positive you recognize it really works in my thoughts and the best way my thoughts works proper and I additionally like that that it has a number of language bindings you recognize the the core implementation isn’t any JS nevertheless it does present bindings for Java C and python so you recognize it’s you don’t need to study JavaScript simply to make use of playright which is which is admittedly very nice okay the opposite instruments are all nonetheless good too it’s not like I hate these different instruments it’s it’s that of of a toolbox of superb instruments.

I’ve one among desire nevertheless it doesn’t imply that the others will not be good I feel Cypress can also be superb what I respect about Cypress is that it was the primary actually fashionable internet testing framework proper it it’s the the framework that put developer expertise on the Forefront that that it could pop up this window and type of Step you thru step-by-step as your check is working you possibly can see how your check is working may debug very simply and and it it made it simpler to write down exams in a and it wasn’t as heavy weight as say you recognize conventional selenium check Automation and it turned the darling of entrance finish builders as a result of now they’ve a device that’s already utterly of their stack of their browser with them and so it made their finish to finish testing quite a bit simpler to the purpose the place Cypress testing turned synonymous with endtoend testing prefer it’s the PE there was a sure phase of individuals couldn’t even think about so utilizing selenium anymore in order that was that was one thing that that was very impactful that Cypress did that that to this present day nonetheless lws respect and there’s nothing improper with selenium both I imply it’s it’s basic it’s it’s it nonetheless works it’s pretty performing if you happen to can tune it proper it’s simply you want to have layers on high of it since you shouldn’t simply be making uncooked cenum

? How ought to somebody begin studying? (13:54)

Reply – calls what I might say is initially it’s is it’s way more vital so that you can study good programming expertise than to study no matter device or framework is is scorching proper now as a result of if you happen to can learn to do programming effectively you’re going to develop into a a lot better Downside Solver and also you’re not going to get caught over foolish little issues and I might say choose one of many main languages in check automation after all if if you happen to’re making an attempt to orient in the direction of a selected job do this however I imply Java is a stable Selection javascript’s a stable Selection C is a stable selection and python is a stable Selection what what I’ve seen is that Java and JavaScript are dominant C and python are are second within the wing and after that like the opposite languages aren’t actually used for for heavy check automation you recognize you may like each language has a unit check framework proper however so far as individuals utilizing a programming language for for main blackbox finish to finish check automation you simply don’t see it you recognize Ruby previously was however I’ve seen the metrics on that prefer it it crashed laborious you recognize.

So I might stick with a kind of 4 large languages after which after you get good with programming or if you happen to’re already good with programming then once you choose up a selected device or framework to study once more like rules matter greater than mechanics proper just be sure you’re aware of the way you mannequin your interactions effectively that you just’re choosing the right sorts of locators that you just’re you’re you’re ready for parts to be prepared on the web page appropriately that type of factor and from there if you happen to can maintain these rules in thoughts the device finally doesn’t matter as a lot you’re simply making an attempt to study some syntax and so there are a wealth of sources on the market to learn to use a device for what check automation College could be the primary factor I might suggest proper as a result of there are total studying paths about selenium Cyprus and

?? As a global speaker, what are the important thing messages or subjects you discover resonate most along with your viewers? (16:11)

Reply – playright I type of proper now I’ve like a a set of talks that I sometimes give I discuss quite a bit about play rights proper and and once I discuss playright I don’t need to simply be like right here’s how click on a button right here’s the way you scrape textual content what I need individuals to know with playwright is how it is a fashionable internet testing framework like it’s one thing that meets our wants for at this time it it’s one thing that not solely can deal with our exams however can may also help us shift how we strategy testing internet apps proper and so I stroll by means of what that appears like after which I I often do like a a reside demo of the device I’ve spoken quite a bit about totally different sorts of check technique like how do you go about constructing good check circumstances good check Suites that type of factor there’s a a well known discuss I’ve given the place I examine my software program testing convictions to Japanese woodblock artwork as you may see just like the Japanese artwork on the again of my wall I’m a giant fan and and the way you recognize like these Japanese artists again within the day they had been masters of The Craft and the way they put such top quality into their work what can we study from that proper.

I’ve spoken about check knowledge particularly managing the check knowledge nightmare as a result of it’s an underserved drawback that everyone suffers proper what are the ways in which we will deal with it like ought to we be getting ready knowledge forward of time or ought to we be dynamically creating new knowledge as our check run you recognize ought to we be cloning databases or strolling issues like going strolling by means of all these methods weighing the professionals and cons and giving suggestions there in truth at this time I’m I’m giving a chat proper after our session with the check tribe as you recognize I’m I’m large into the python group and I like python testing and so I’m giving a reside introduction to python testing with py check the place there there no slides there’s no script there’s a terminal and vs code and I am going present individuals right here’s how you employ py check W proper you recognize from the bottom up in order that’s a superb get a superb little bit of my talks I’m most likely I feel I’ve talked about different issues I simply can’t keep in mind off the highest of my head have these data now we have these you recognize recorded talks yeah there sure in truth if you happen to go to automation panda.com talking I’ve your complete historical past with hyperlinks as recordings have been

? How do you keep up to date on the newest developments in software program testing? (18:44)

Reply – Oh my gosh it’s so laborious as a result of there’s a lot taking place on a regular basis dayto day I keep plugged into LinkedIn and X previously often called Twitter as a result of I’ve my feed there the place I can see the place all of the individuals within the area are and what they’re doing I additionally am intentional to go to a number of testing occasions and conferences all year long as you recognize as you simply I communicate quite a bit so I get round quite a bit however once I’m at these occasions I not solely is it there for me to talk nevertheless it’s there for me to study proper and so I attend different talks to listen to what’s taking place what are individuals doing what applied sciences are on the market what platforms are developing and likewise so if they’ve an expo corridor I am going discuss to the distributors to see what they’re making an attempt to promote sadly often which means I get a complete bunch of e mail spam afterward however on the very least I can maintain a pulse on the place the trade is transferring in order that I understand how to maintain up and I may also help my very own firm sustain as

? As we conclude, do you’ve any remaining ideas or recommendation for aspiring professionals within the software program testing and automation area? (19:48)

Reply – Effectively completely first I might say by no means hand over issues can get robust individuals can beat you down, bugs might be laborious to squash however be tenacious proper by no means hand over at all times be studying as a result of there’s a lot on the market it may be intimidating to maintain up nevertheless it’s not inconceivable one factor I’ll say is that in 2024 now we have extra sources than ever earlier than proper I needed to study from the Faculty of Laborious Knocks of making an attempt and failing with actually no assist no books no programs proper that’s not the case at this time now we have materials and now we have one another there’s a complete group inside software program testing in automation you recognize like that’s how we join that’s how we will encourage one another so get plugged into to all of that’s what I might say subscribe to our Channel and hit the Bell icon to by no means miss a video from us

You May Also Like

More From Author

+ There are no comments

Add yours