avatarZhimin Zhan

Free AI web copilot to create summaries, insights and extended knowledge, download it at here

3089

Abstract

ll studying at university (part-time), and via her, I know that many of the IT research topics are AI/Machine-Learning related. This leads me to think, “What did Computer science researchers do previously then?”</p><p id="3c3d"><b>3. ChatGPT is supposed to make Test Automation “easier”</b></p><p id="cfe0">If someone claims “<i>ChatGPT revolutionize test automation</i>”, I would assume they mean ChatGPT will make it easier, i.e. creating automated test scripts quicker and easier to maintain them.</p><p id="cd6e">I have seen some demonstration videos, but as an experienced automated tester, I don’t get it. I found it a complete waste of time <i>(not helpful to<a href="https://zhiminzhan.medium.com/test-creation-only-account-for-10-of-web-test-automation-efforts-1ac1fc453e44"> the challenging work in real UI Test automation</a>) </i>using ChatGPT or other AI in E2E Test automation, at least for now and in the foreseeable future.</p><p id="50ef"><b>4. ChatGPT v4 claimed several hundred times more powerful</b></p><p id="026c">So, if someone thought ChapGPT was a bit helpful with UI Test Automation 11 months ago, surely the results would be a lot better with the new version of ChapGPT, right? To use ChapGPT v4, only $20/month, that shall not be a problem for AI Test automation fans.</p><p id="b7f7"><b>One year </b>is a very long time to prove an End-to-End Test automation approach <i>(web test automation, the most common form of software testing, has not changed at all)</i>. I usually had it down on the <b>first day</b>. Check out my article, “<a href="https://zhiminzhan.medium.com/how-do-i-start-test-automation-on-day-1-of-onboarding-a-software-project-3b4596bb373">How do I Start Test Automation on Day 1 of Onboarding a Software Project?</a>”, and also my daughter's “<a href="https://zhiminzhan.medium.com/set-up-develop-automated-ui-tests-and-run-them-in-a-ct-server-on-your-first-day-at-work-bd7110c9f677">Set up, Develop Automated UI tests and Run them in a CT server on your First day at work</a>”.</p><p id="6bdd">In summary, for AI Test Automation believers, there are really no excuses for not delivering solid results. If not, there is only one explanation: <b>these people don’t understand End-to-End Test Automation at all; they are fake</b>.</p><p id="486e">For IT Executives or Start-up owners: finding an objective E2E Test Automation Approach is simple and quick. Check out <a href="https://readmedium.com/test-automation-and-continuous-testing-competition-week-72edca4a8846">Test Automation and Continuous Testing Competition Week</a>.</p><p id="9dd7">AI Test automation fans, I welcome you providing evidence to prove me wrong. Here is a benchmark you can use to compare against.</p><div id="a381" class="link-block"> <a href="https://zhiminzhan.medium.com/showcase-a-500-end-to-end-via-ui-test-suite-e2e-test-automation-is-surely-feasible-for-590a45992a23"> <div> <div> <h2>Showcase a 500+ End-to-End (via UI) Test Suite: E2E Test Automation is Surely Feasible for…</h2> <div><h

Options

3>Implementing End-to-End Test Automation, the most valuable type of testing, is most QA Engineers’ responsibility. Be a…</h3></div> <div><p>zhiminzhan.medium.com</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/1*90gfLqYybFjXwGyKw1Pb3A.png)"></div> </div> </div> </a> </div><p id="ea20">This is just one of several E2E Test automation implementations I have been maintaining for years in my spare time. Yes, I consider myself quite productive at developing/debugging a large number of raw Selenium RSpec tests in <a href="https://agileway.com.au/testwise">TestWise</a> and managing executions of them in the <a href="https://agileway.com.au/buildwise">BuildWise CT server.</a> I just don’t see ChapGPT or other AI tools that can match even 1% of my productivity level when it comes to real web test automation (<i>maintaining 200+ comprehensive End-to-End UI tests that run <b>daily</b> as regression testing</i>).</p><figure id="440c"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/0*Q0ttSUBB_qw0_7fS"><figcaption></figcaption></figure><p id="236b">This suite (<i>for the <a href="https://whenwise.com">WhenWise</a> app, as I develop in a true agile spirit, the app changes rather frequently</i>) consists of <b>570</b> user-story-level raw Selenium WebDriver + RSpec tests. Below is a yesterday's run.</p><figure id="503b"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*aSeJkoD2dsIV_EDsJVn10A.png"><figcaption></figcaption></figure><p id="59e6">After getting the GREEN (passing all tests), I deploy the build to production. I have always been doing <a href="https://zhiminzhan.medium.com/daily-production-releases-clarified-6496b59395bd">daily production releases</a>. Yes, I do trust my automated E2E tests.</p><p id="76b5"><i>Related reading:</i></p><ul><li><a href="https://zhiminzhan.medium.com/actions-beat-arguments-in-end-to-end-via-ui-test-automation-19ef9b5c1088">“Actions beat arguments” in End-to-End (via UI) Test Automation</a></li><li><a href="https://zhiminzhan.medium.com/why-training-chatgpt-wont-get-good-results-in-test-automation-c338dd2d7bbd">Why Training ChatGPT Won’t Get Good Results in Test Automation?</a></li><li><a href="https://zhiminzhan.medium.com/codeless-test-automation-is-irrational-40ce35fbfca9">Codeless Test Automation is Irrational</a></li><li><a href="https://zhiminzhan.medium.com/automated-testers-advocate-for-chatgpt-ai-is-like-taxi-drivers-singing-for-driverless-cars-fb4204edcbf0">Automated Testers Advocate for ChatGPT (AI) is like taxi drivers Singing for Driverless cars</a></li><li><a href="https://zhiminzhan.medium.com/two-simple-reasons-that-chatgpt-ai-wont-work-in-end-to-end-test-automation-940a7b5d0c09">Two Simple Reasons that ChatGPT (AI) Won’t Work in End-to-End Test Automation</a></li><li><a href="https://readmedium.com/agileway-test-automation-formula-bcf550616d32">AgileWay Test Automation Formula</a></li></ul></article></body>

A Follow-Up Question for AI Test Automation Fans: Did you actually implement Real UI Test Automation with ChapGPT or like, before ChatGPT’s first anniversary?

Prove it or silently admit it is just another hype. Testers verify.

The biggest IT news in recent days is about OpenAI, the company that created ChatGPT.

Source: https://www.theverge.com/2023/11/17/23965982/openai-ceo-sam-altman-fired (2023–11–18)
Source: https://www.theguardian.com/technology/2023/nov/22/sam-altman-openai-ceo-return-board-chatgpt (2023–11–22)

This reminds me that the ChapGPT will celebrate its first anniversary next week. ChatGPT first public release: 2022–11–30.

There has been a lot of hype about ChatGPT for test automation. For example, there are even videos that “teach you how”.

As a tester, it is fair to ask, “Did anyone get it to work? I mean, for real”. By the way, I refer to the objective criteria, such as the Definition of End-to-End Test Automation Success.

I highly doubt it. To my knowledge, every so-called AI Test automation attempt failed, if put into real test.

This raises some interesting points:

  1. ChatGPT took the world by storm for its simple usage

Unless you have lived under a rock for the last year, you must have heard and used ChatGPT.

ChatGPT currently has 100+ million users, and the website sees nearly 1.5 billion visitors per month. — source

It is simple to use ChatGPT. Many school students are using ChatGPT (mostly for writing). Surely, it is not a skill that requires several months of training.

Whether ChatGPT will be useful for work reflects one person’s understanding of the work.

2. ChatGPT-related activities are welcomed by executives.

IT executives generally will prove AI and/or machine learning initiatives (cool). Even Microsoft Bing and Office offer ChatGPT integration. My daughter is still studying at university (part-time), and via her, I know that many of the IT research topics are AI/Machine-Learning related. This leads me to think, “What did Computer science researchers do previously then?”

3. ChatGPT is supposed to make Test Automation “easier”

If someone claims “ChatGPT revolutionize test automation”, I would assume they mean ChatGPT will make it easier, i.e. creating automated test scripts quicker and easier to maintain them.

I have seen some demonstration videos, but as an experienced automated tester, I don’t get it. I found it a complete waste of time (not helpful to the challenging work in real UI Test automation) using ChatGPT or other AI in E2E Test automation, at least for now and in the foreseeable future.

4. ChatGPT v4 claimed several hundred times more powerful

So, if someone thought ChapGPT was a bit helpful with UI Test Automation 11 months ago, surely the results would be a lot better with the new version of ChapGPT, right? To use ChapGPT v4, only $20/month, that shall not be a problem for AI Test automation fans.

One year is a very long time to prove an End-to-End Test automation approach (web test automation, the most common form of software testing, has not changed at all). I usually had it down on the first day. Check out my article, “How do I Start Test Automation on Day 1 of Onboarding a Software Project?”, and also my daughter's “Set up, Develop Automated UI tests and Run them in a CT server on your First day at work”.

In summary, for AI Test Automation believers, there are really no excuses for not delivering solid results. If not, there is only one explanation: these people don’t understand End-to-End Test Automation at all; they are fake.

For IT Executives or Start-up owners: finding an objective E2E Test Automation Approach is simple and quick. Check out Test Automation and Continuous Testing Competition Week.

AI Test automation fans, I welcome you providing evidence to prove me wrong. Here is a benchmark you can use to compare against.

This is just one of several E2E Test automation implementations I have been maintaining for years in my spare time. Yes, I consider myself quite productive at developing/debugging a large number of raw Selenium RSpec tests in TestWise and managing executions of them in the BuildWise CT server. I just don’t see ChapGPT or other AI tools that can match even 1% of my productivity level when it comes to real web test automation (maintaining 200+ comprehensive End-to-End UI tests that run daily as regression testing).

This suite (for the WhenWise app, as I develop in a true agile spirit, the app changes rather frequently) consists of 570 user-story-level raw Selenium WebDriver + RSpec tests. Below is a yesterday's run.

After getting the GREEN (passing all tests), I deploy the build to production. I have always been doing daily production releases. Yes, I do trust my automated E2E tests.

Related reading:

ChatGPT
Test Automation
Software Testing
Software Development
Selenium
Recommended from ReadMedium