Selenium AI, Playwright Recorder, Hacker Culture and More TGNS103

By Test Guild
  • Share:
Join the Guild for FREE

About This Episode:

Have you tried the new Playwright Test Generator ?

What new AI ChatGPT tool can help you with Selenium?

And want to learn more about Hacker Culture?

Find out in this episode of the TestGuild News Show for the week of Nov 26. So grab your favorite cup of coffee or tea and let’s do this!

Exclusive Sponsor

This episode of the TestGuild News Show is sponsored by the folks at Applitools. Applitools is a next-generation test automation platform powered by Visual AI. Increase quality, accelerate delivery and reduce cost with the world’s most intelligent test automation platform. Seeing is believing, so create your free account now!

Applitools Free Account https://rcl.ink/xroZw

Links to News Mentioned in this Episode

Time News Title Rocket Link
0:17 Applitoools FREE Account Offer https://applitools.info/joe 
0:36 Playwright 1.40 https://testguild.me/uwi61y
1:40 Non-invasive Test Automation https://testguild.com/webinar-non-invasive-test-automation-for-highly-regulated-industries/
2:47 Ai Selenium Sage https://testguild.me/trolpp
4:39 Playwright Real World Example https://testguild.me/m8p88u
6:34 Single Sign-On (SSO) pages using Cypress https://testguild.me/f3w1il
8:00 Hacker Culture: A to Z https://testguild.me/ee1q2q
8:54 Rootkit Kubernetes https://testguild.me/rfn8gm

News

 

[00:00:00] Joe Colantonio Have you tried the new Playwright test generator? What new AI ChatGPT tools can help you with Selenium? And want to learn more about Hacker Culture? Find out in this episode of the Test Guild News Show for the week of November 26th. So grab your favorite cup of cup of coffee or tea and let's do this.

[00:00:17] But first, are you looking to take your automation projects to the next level? Look no further than Applitools and their Visual AI Validation testing platform. Trust me, it is a game-changer. Plus, you could try it out yourself by creating a free account. Just click on the special link down below in the first comment and see the difference for yourself.

[00:00:36] Joe Colantonio Next, we have news about the latest release of Playwright. So in this video, Debbie and Max introduce the new release of Playwright 1.40. And they cover a bunch of different topics. The first one they go over is the Tip of the Day, which is using Eslint and test files to find missing awaits. But I think the biggest feature here, they're probably going to be excited about is the test generator update. And what this does is it helps you to generate assertions by streamlining the test writing process, allows you to record user actions, add assertions, validate tax and values, and either pick the best element locator effortlessly. The Playwright really does the heavy lifting for you with this new version of the test generator. And they have some examples of how the new tool generates assertions, they have Assert Visibility, Assert Value, and Assert Texts. And they have an example of generating tests with the assertions. And they also have an important reminder to always update to the latest Playwright to stay informed and know what the latest and greatest is. And one of the ways to do that is to keep listening to the show. And you can check out the release notes in the comments down below.

[00:01:40] Joe Colantonio Have you ever wondered, Hey, how do I do Noninvasive Tests Automation? If so, I got an awesome webinar that you must attend. And this webinar goes over Noninvasive Test Automation for highly regulated industries. And this approach allows you to test software without requiring access to the underlining source code. And it's a great approach for QA professionals operating in industries such as defense, finance, and health care, where security, secrecy, privacy compliance, and strict regulations and critical considerations are a must and also enable efficient and effective testing in these strict conditions is not the only benefit of this approach. There's more. They will also demonstrate an exciting test automation of a flight simulator live in this webinar. And I'll use this demonstration to help point out the benefits of noninvasive UI-level testing, how noninvasive testing works, and considerations when selecting a test solution for testing in strict conditions. Definitely want to check it out. Register now in the comments down below and look forward to your questions and see you there live.

[00:02:47] Joe Colantonio I know there's been a lot of buzz around Open AI a few weeks ago or about a month ago they allowed an option for you to create your own AI bot. And I did want to see more and more of these. I'm actually working on one myself, but I found one that is currently is working for Selenium that I think you should definitely check out to see the power of this approach. And this is by Robin, who just released Selenium Sage, which is meticulously trained on the official Selenium project docs with a dash of secret sauce for adding accuracy and philosophical flair. And this is all done using open AI. So it's an AI-powered oracle that answers all your selenium test automation queries.

[00:03:24] Joe Colantonio All right. Do you need a ChatGPT? I think it's a pro account, which I do have. And this once again allows you to interact with Selenium Sage, which is the tool that Robin created. Let's check it out really quick. Let's start of by asking who created Selenium. All right. So it's spot on with the answer for that, let's try another question. Let's ask what are the biggest causes of Selenium flakiness? Once again, I'm just making up random queries and it's answering me. Here are the biggest causes it found for flakiness with Selenium. I think this is once again spot on. All right. Let's see how it handles code. I'm going to ask to log into Joecolantonio.com and verify that the conference page is visible on log-in. Let's see how it handles that. All right. Not bad. Let me know your thoughts about this in the comments below. Obviously, it's not perfect. It's usually you use A.I. as an assistant, so you don't want to take it as face value. You take it as is, you want to modify it and make sure it works for your specific needs and make sure it's actually doing what you think it's doing and not just taking it at face value. So it's a really cool innovation. Thank you, Robin for this. I think it's going inspire others to do similar things as well.

[00:04:39] All right. This next article is a real-world example of using Playwright in the real world. Let's check it out. And so I found this on Michael's feed pointing to this article that goes over a real-world case study. How a company used Playwright to enhance their end-to-end testing process. And so this article was written by Baris, who shares the approach that they use to mark strategic shifts from their previous preference for the robot framework. The team's decision to switch to Playright was driven by the need for a more efficient, consistent, and versatile testing framework and Playwright's ability to run parallel tests both locally and remotely, coupled with its feature for visual comparisons, snapshot testing, and fast debugging made it an ideal choice for this particular company. And this move aligns with the team's focus on key metrics like lead time and deployment frequency, which are critical for maintaining a competitive edge in this fast-paced tech industry. They go over how Playwright stands out for its auto-awaiting feature, which intelligently adapts to the dynamic nature of web page insurance faster and more reliable tests. And it also supports multiple tabs and uses within a single test enabling complex neural simulations and Playwright's powerful configuration file simplifies test processes offering a range of features like trace, debug, geolocation, and parallel testing. And it points out a notable aspect of Playwright is its approach to authentication, allowing tests to load existing authentication states and thereby speed up execution. And this is really beneficial for tests that do not make server-side changes and Playwright's fixture-based testing module. Further enhanced test environments set up offering modularity, usability, and ease of maintenance. And this is just a really good case study on the power of Playwright's tools, flexibility and ease of configuration, and robustness against flaky automation. And if it's something you've been on the fence about trying. Here's a case study you can follow along and try for yourself and see if it helps you as well.

[00:06:34] Joe Colantonio Speaking to Playwright, I also found another blog post that has a really cool way how you can use Cypress with Playwright, How? Let's check it out. So this recent blog post by Arman delves into integrating Cypress in Playwright for accessing single sign-on pages, a task that always seems to be a challenge for many testers and developers. He has a link to the repo, but he also has an article that outlines a scenario where developers need to access a new page, such as an SSL page within the same main pages in Cypress. The solution? It goes over utilizing Playwright alongside Cypress. This approach allows the Playwright to navigate to a new page, complete personal information, and then log into the main site. The key here is Playwright's ability to get and return cookies which could then be set in Cypress. So this integration overcomes several limitations of using Cypress alone for instance, Cypress struggles with switching between pages with similar-based URLs in accessing properties of new pages when the target URL isn't displayed. The Playwright, with its straightforward navigation and cookies handling capabilities, fills these gaps really efficiently, and the process involves two steps getting the return cookies in Playwright and then sending these cookies in Cypress. And this blog post provides a detailed guide on how to execute these steps, including code snippets and configuration tips. Really cool approach. So thank you Arman for this and hopefully check it out in that first comment down below.

[00:08:00] As you probably know, I'm a Bibliomaniac and if you like me, you're always on the lookout for new books. I found this in my LinkedIn stream that piqued my interest. And this is by Kim Crawley, who just released a new book called Hacker Culture: A to Z a fun guide to the people, ideas, and gadgets that made the tech world. And it's just in time for the holiday season. If you're trying to find the perfect gifts for the tech nerd in your life. This book is not just another technical manual. It's really a vibrant journey through hacking, introducing readers to key figures, groundbreaking companies, and pivotal moments in hacker history. It goes over some of the basics and the more complex of security as well. And Kim's guide is an essential primer for anyone looking to understand the rich tapestry of Hacker Culture. Whether you're a newbie embarking on your hacker journey or a seasoned pro, this book has something for everyone. And if you like me and you love reading, definitely check it out. Let me know your thoughts in the comments below.

[00:08:54] Speaking of security, another topic that comes up all the time is Kubernetes. Well, according to a recent report on docreading, Kubernetes, which automates the configuration deployment and management of containers, is now facing a new threat. And this new threat is Rootkits. And so this is really bad because this enables them then to control collections of containers without detection which is a severe threat to cloud computing resources and, as you know, sensitive data. How do you handle these threats while Kubernetes administrators are advised to maintain vigilance, particularly regarding kernel modules loading during runtime, which would indicate malicious activity?

[00:09:32] And for links of everything value we covered in this news episode, head in over to links in the first comment down below. And while you're there, make sure to check out our awesome sponsor Applitools Free account Offer and discover how to take your automation testing to the next level leveraging Visual A.I. So that's it for this episode of the Test Guild News Show. I'm Joe, my mission is to help you succeed in creating end-to-end full-stack pipeline automation awesomeness. As always, test everything and keep the good. Cheers.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}
Testguild devops news show.

10 Year Celebration, AI Appium, BDD and More TGNS110

Posted on 02/19/2024

About This Episode: What testing podcast is 10 years old today! Have you ...

Guy Arieli Tal Barmeir TestGuild Automation Feature

AI Meets Cucumber: A New Testing Approach Using Prompt Engineering with Guy Arieli and Tal Barmeir

Posted on 02/18/2024

About This Episode: Today's topic dives deep into the innovative world of AI ...

Get a sneak peek of the highly anticipated RoboCon Online 2024 conference through an exclusive podcast.

RoboCon Online 2024 Sneak Peek Conference Podcast with Mateusz Nojek, Katarina Partti, Yuri Verweij and Pekka Klärck

Posted on 02/13/2024

About This Episode: Today's bonus episode is absolutely jam-packed with insights around automation ...