<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="https://sampathblogs.online/wp-content/plugins/rss-feed-styles/public/template.xsl"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:rssFeedStyles="http://www.lerougeliet.com/ns/rssFeedStyles#"
>

<channel>
	<title>AI &#8211; Sampath Kumar A</title>
	<atom:link href="https://sampathblogs.online/tag/ai/feed/" rel="self" type="application/rss+xml" />
	<link>https://sampathblogs.online</link>
	<description>Be Concious Be More</description>
	<lastBuildDate>Mon, 27 Apr 2026 05:49:50 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
<rssFeedStyles:reader name="Digg Reader" url="http://digg.com/reader/search/https%3A%2F%2Fsampathblogs.online%2Ffeed%2F"/><rssFeedStyles:reader name="Feedly" url="http://cloud.feedly.com/#subscription%2Ffeed%2Fhttps://sampathblogs.online/feed/"/><rssFeedStyles:button name="Like" url="https://www.facebook.com/sharer/sharer.php?u=%url%"/><rssFeedStyles:button name="G+" url="https://plus.google.com/share?url=%url%"/><rssFeedStyles:button name="Tweet" url="https://twitter.com/intent/tweet?url=%url%"/><rssFeedStyles:button name="Pinterest" url="https://www.pinterest.com/pin/create/button?url=%url%"/><rssFeedStyles:button name="LinkedIn" url="https://www.linkedin.com/cws/share?url=%url%"/>	<item>
		<title>Mastering Presentations with AI: From Idea to Impact</title>
		<link>https://sampathblogs.online/2026/04/__trashed-2/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=__trashed-2</link>
					<comments>https://sampathblogs.online/2026/04/__trashed-2/#respond</comments>
		
		<dc:creator><![CDATA[mail2sampath]]></dc:creator>
		<pubDate>Mon, 27 Apr 2026 05:49:50 +0000</pubDate>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[AI]]></category>
		<category><![CDATA[Basic guide]]></category>
		<guid isPermaLink="false">https://sampathblogs.online/?p=2887</guid>

					<description><![CDATA[MS PowerPoint presentations are used to enhance communication, increase audience engagement, and improve message retention through visual aids like images, charts, and multimedia. They facilitate professional storytelling, allow for easy collaboration, and offer customizable templates for efficient, structured, and persuasive... <a class="more-link" href="https://sampathblogs.online/2026/04/__trashed-2/">Continue Reading &#8594;</a>]]></description>
										<content:encoded><![CDATA[
<p>MS PowerPoint presentations are used to enhance communication, increase audience engagement, and improve message retention through visual aids like images, charts, and multimedia. They facilitate professional storytelling, allow for easy collaboration, and offer customizable templates for efficient, structured, and persuasive delivery. Across every field, whether Finance, HR, IT, Operations, Marketing, or even as a university student PowerPoint is widely used for creating presentations. While AI tools (like Gamma) have emerged to generate presentations in seconds, PowerPoint&#8217;s entrenchment in corporate environments, combined with its integration of&nbsp;Microsoft 365 Copilot, ensures its continued dominance.</p>



<h3 class="wp-block-heading">Top Presentation Problems &amp; AI Remedy</h3>



<p>Some of the most common challenges people face when creating presentations, and how AI can help resolve those challenges, are as follows:</p>



<ul class="wp-block-list">
<li><em>Don’t know where to start</em>: AI can help break the inertia by generating slide outlines, suggest titles, generate starter content.</li>



<li><em>Struggle to structure thoughts</em>: AI organizes messy ideas into clear sequences ,i.e, From Problem to Solution to Benefits to Call to action. Also, there is an option to generate multiple variations instantly, i.e., based on your prescribed format (RAC, etc.).</li>



<li><em>Slides look boring and outdated</em>: AI design tools suggest layouts, color schemes and images. Some of the tools that are helpful in this aspect are Canva, Gamma, Napkin.</li>



<li><em>How to present each slide</em>: AI writes speaker notes to match your tone and intent. There is an option to convert notes to voice as well. Tools like ChatGPT, TTSMP3, Yoodli are useful in this aspect.</li>



<li><em>It takes too long to finish the presentation slides</em>: AI speeds up every stage from content generation, visual polish, export ready decks, voice practice. Tools like ChatGPT, canva, google slides are helpful  here.</li>
</ul>



<h3 class="wp-block-heading">Tips for Better Presentations</h3>



<p>Find the following tips that can augment your presentations to the next level.</p>



<ul class="wp-block-list">
<li>Lead with the answer, then prove it (Top-down approach)</li>



<li>One slide one message (Think clarity &amp; not compression)</li>



<li>Turn slide titles into executive insights (Titles should answer a question, not just be a label)</li>



<li>Don’t bury your best insight, highlight it </li>



<li>Substitute the bullet points (Replace text with visuals)</li>



<li>Design that directs attention, not distracts (Big/bold letters, white spaces, etc)</li>



<li>Make colour work for you, not against you (Maximum of 2 bright colours is ideal)</li>



<li>Design for the device (Design for multiple size screens)</li>
</ul>



<h3 class="wp-block-heading">Workflow for Faster Slide Preparation</h3>



<h4 class="wp-block-heading">Stage 1 : Research &amp; Ideation</h4>



<p><em>From blank slides to big idea: </em>In this stage, the deck structure and message clarity are obtained. For this, the AI tools like Gemini, ChatGPT, Perplexity, Claude etc can be used. For example, let us say you are hired to reduce customer churn at Flipkart, an e-commerce company. The prompt to be used on a AI tool would be as follows.</p>



<p><code>[Prompt]</code> Act as an expert AI management consultant. Help create content for a 5 slide pitch deck to reduce churn in e-commerce using AI for Flipkart. Use research papers, blogs, articles available online for facts. Cite the sources, keep them credible. Follow the pyramid principle, keep slide title as &#8220;so-what&#8221; instead of a boring captions. Don’t add too much text or make it wordy.</p>



<h4 class="wp-block-heading">Stage 2 : Design &amp; Assembly</h4>



<p><em>Design slides that speak for themselves</em>: Start in Gamma to move fast, polish in Canva for brand feel. From the Stage 1 prompt, you have an output, but for it to be usable on Gamma, you need to polish it. For that you need to provide the following prompt.</p>



<p><code>[Prompt]</code> I want to create a ppt with the above output on Gamma(free version). Help me draft a prompt to explain better. Act as an expert AI management consultant. Prepare a 5-6 slide deck on the above content. Use research papers, blogs, and articles available online for facts. Add icons, graphs, visuals and make it aesthetically appealing to present to the Flipkart country head. Follow the pyramid principle, keep slide title as &#8220;so-what&#8221; instead of boring captions. Increase text size for key figures and numbers<em>.</em></p>



<p>Once you login to Gamma using this <a href="https://gamma.app/signin?redirect_to=https%3A%2F%2Fgamma.app%2Fcreate">link</a>, you will find the screen below.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large is-resized"><img fetchpriority="high" decoding="async" width="1024" height="454" src="https://sampathblogs.online/wp-content/uploads/2022/03/gamma1-1024x454.png" alt="" class="wp-image-4147" style="aspect-ratio:2.2555592850549635;width:748px;height:auto" srcset="https://sampathblogs.online/wp-content/uploads/2022/03/gamma1-1024x454.png 1024w, https://sampathblogs.online/wp-content/uploads/2022/03/gamma1-300x133.png 300w, https://sampathblogs.online/wp-content/uploads/2022/03/gamma1-768x341.png 768w, https://sampathblogs.online/wp-content/uploads/2022/03/gamma1-1536x681.png 1536w, https://sampathblogs.online/wp-content/uploads/2022/03/gamma1-600x266.png 600w, https://sampathblogs.online/wp-content/uploads/2022/03/gamma1-945x419.png 945w, https://sampathblogs.online/wp-content/uploads/2022/03/gamma1.png 1914w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<p>Click on the &#8220;Paste in text&#8221; option shown in the above screen and paste the output of the earlier prompt in the subsequent screen as shown below.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large is-resized"><img decoding="async" width="1024" height="506" src="https://sampathblogs.online/wp-content/uploads/2022/03/gamma2-1024x506.png" alt="" class="wp-image-4148" style="aspect-ratio:2.023753952717964;width:738px;height:auto" srcset="https://sampathblogs.online/wp-content/uploads/2022/03/gamma2-1024x506.png 1024w, https://sampathblogs.online/wp-content/uploads/2022/03/gamma2-300x148.png 300w, https://sampathblogs.online/wp-content/uploads/2022/03/gamma2-768x380.png 768w, https://sampathblogs.online/wp-content/uploads/2022/03/gamma2-1536x759.png 1536w, https://sampathblogs.online/wp-content/uploads/2022/03/gamma2-600x297.png 600w, https://sampathblogs.online/wp-content/uploads/2022/03/gamma2-945x467.png 945w, https://sampathblogs.online/wp-content/uploads/2022/03/gamma2.png 1920w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<p>If you scroll down in the above screen, you will find the &#8220;Generate from notes or an outline&#8221; option that you need to select and click on the button &#8220;Continue to prompt editor&#8221;. The next screen will appear as follows.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img decoding="async" width="1022" height="835" src="https://sampathblogs.online/wp-content/uploads/2022/03/gamma3.png" alt="" class="wp-image-4149" style="aspect-ratio:1.223965211055963;width:702px;height:auto" srcset="https://sampathblogs.online/wp-content/uploads/2022/03/gamma3.png 1022w, https://sampathblogs.online/wp-content/uploads/2022/03/gamma3-300x245.png 300w, https://sampathblogs.online/wp-content/uploads/2022/03/gamma3-768x627.png 768w, https://sampathblogs.online/wp-content/uploads/2022/03/gamma3-600x490.png 600w, https://sampathblogs.online/wp-content/uploads/2022/03/gamma3-945x772.png 945w" sizes="(max-width: 1022px) 100vw, 1022px" /></figure>
</div>


<p>In this screen, you can either Generate/Condense based on the pasted content, set the amount of text to be output, set the theme, image source. Once everything is done, click on the Generate button below for Gamma to generate the slides. The generated output of Gamma slides can be further edited manually on Canva to make it visually amazing.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="629" src="https://sampathblogs.online/wp-content/uploads/2022/03/image-1024x629.png" alt="" class="wp-image-4150" srcset="https://sampathblogs.online/wp-content/uploads/2022/03/image-1024x629.png 1024w, https://sampathblogs.online/wp-content/uploads/2022/03/image-300x184.png 300w, https://sampathblogs.online/wp-content/uploads/2022/03/image-768x472.png 768w, https://sampathblogs.online/wp-content/uploads/2022/03/image-1536x944.png 1536w, https://sampathblogs.online/wp-content/uploads/2022/03/image-600x369.png 600w, https://sampathblogs.online/wp-content/uploads/2022/03/image-945x581.png 945w, https://sampathblogs.online/wp-content/uploads/2022/03/image.png 1538w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>On Canva, as shown above, use the Canva AI option and upload the ppt obtained from Gamma (use share to export as ppt from Gamma) to edit it or use ready-made templates to create your slide.</p>



<p><a href="https://app.napkin.ai/">Napkin </a>is an amazing website for infographics and visuals that can be used to generate visuals for the canva slides. Export the visuals in png format and paste it to your ppt.</p>



<p>Alternatively, you can use the <a href="https://www.genspark.ai/">Genspark </a>tool, which combines Stage1 and Stage2 to build your complete deck.</p>



<h4 class="wp-block-heading">Stage 3 : Fact check &amp; Speaker notes</h4>



<p>At this stage, you review your presentation content for accuracy, while also refining the tone and ensuring the delivery is confident and appropriate. The tools used for each of these are as follows:</p>



<p><strong>Perplexity.ai</strong></p>



<p>For fact checking, make use of the following prompt on perplexity.</p>



<p><code>[Prompt]</code> Fact check all the content, if the content is right show me references with clickable links. Otherwise, tell me where it is wrong and search for content with references.</p>



<p><strong>Copyleaks.com/plagiarismdetector.net</strong></p>



<p>Upload or paste your deck/contents on plagiarismdetector.net to check the uniqueness of the content.</p>



<p><strong>ChatGPT</strong></p>



<p>Presentation notes prompt for the speaker to practice on ChatGPT.</p>



<p><code>[Prompt]</code> Help me draft a clear, compelling speaker notes for the attached ppt to present to flipkart head. Make me sound professional, smart, persuasive, convincing and keep the text short. My presentation will be for 5mins, so please adjust the content length accordingly, keeping in mind I present in a medium pace.</p>



<p><strong>yoodli.ai/ttsmp3.net</strong></p>



<p>For rehearing tone, pacing and timing make use of this tool. Customize your content for the tool by mentioning the tool name in the above prompt. Copy and paste the output of the above prompt into either  yoodli/ttsmp3 tool to convert it into voice.</p>



<p><strong>Further Reading :</strong></p>



<ul class="wp-block-list">
<li><a href="https://sampathblogs.online/2023/02/maximize-your-potential-the-ai-tools-you-need-to-know-about/">Maximize Your Potential : The AI Tools You Need to Know About</a></li>



<li><a href="https://sampathblogs.online/2023/12/getting-started-with-canvas-powerful-features/">Getting Started With Canva’s Powerful Features</a></li>



<li><a href="https://sampathblogs.online/2025/10/ai-powered-itsm-with-n8n-integrating-jira-sm-openai-and-slack/">AI-Powered ITSM with n8n: Integrating Jira SM, OpenAI and Slack</a></li>



<li><a href="https://sampathblogs.online/2025/11/agentic-ai-for-agile-teams-smarter-reporting-and-insights/">Agentic AI for Agile Teams: Smarter Reporting and Insights</a></li>



<li><a href="https://sampathblogs.online/2026/01/an-introduction-to-ai-powered-software-testing/">An Introduction to AI-Powered Software Testing</a></li>
</ul>



<p></p>
]]></content:encoded>
					
					<wfw:commentRss>https://sampathblogs.online/2026/04/__trashed-2/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>An Introduction to AI-Powered Software Testing</title>
		<link>https://sampathblogs.online/2026/01/an-introduction-to-ai-powered-software-testing/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=an-introduction-to-ai-powered-software-testing</link>
					<comments>https://sampathblogs.online/2026/01/an-introduction-to-ai-powered-software-testing/#respond</comments>
		
		<dc:creator><![CDATA[mail2sampath]]></dc:creator>
		<pubDate>Sun, 25 Jan 2026 05:10:23 +0000</pubDate>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[AI]]></category>
		<category><![CDATA[Automation]]></category>
		<category><![CDATA[Basic guide]]></category>
		<guid isPermaLink="false">https://sampathblogs.online/?p=4066</guid>

					<description><![CDATA[Software is&#160;a set of instructions, programs, or data that tells a computer or device what to do and how to do it, enabling it to perform specific tasks, unlike physical hardware which you can touch. There are two main types... <a class="more-link" href="https://sampathblogs.online/2026/01/an-introduction-to-ai-powered-software-testing/">Continue Reading &#8594;</a>]]></description>
										<content:encoded><![CDATA[
<p>Software is&nbsp;a set of instructions, programs, or data that tells a computer or device what to do and how to do it, enabling it to perform specific tasks, unlike physical hardware which you can touch. There are two main types of software, namely, the Operating system and Application software. Application software runs on top of the Operating system and uses the computer&#8217;s resources to perform a task. In this modern era, software is being used in every industry, making its correctness essential to the proper functionality of everyday life.</p>



<p>Software companies aim to deliver a high-quality product on time and under budget.&nbsp;This is where software testing becomes imperative to deliver a quality product. Software Testing is a systematic process of evaluating an application to identify defects, bugs, or deviations from the expected behaviour. It is fundamentally a process of verification and validation. For valid results, tests must be performed in environments that closely resemble the production environment, using similar infrastructure and data. High-quality products are never an accident; they are the result of deliberate, intelligent effort in development and testing.</p>



<h3 class="wp-block-heading">Software Testing &amp; STLC</h3>



<p>Similar to the SDLC for creating software, there is STLC for Software testing, which needs to be followed by testing teams to ensure software quality. Skipping the testing phase can negatively impact both the product and the brand&#8217;s reputation. The six phases of STLC are: Requirement analysis, Test planning, Test case development, Environment setup, Test execution, Test cycle closure. The testing process is categorized into three primary levels as follows, moving from granular components to the entire system.</p>



<ul class="wp-block-list">
<li>Unit Testing</li>



<li>Integration Testing</li>



<li>System Testing/E2E test</li>
</ul>



<p>Functional testing focuses on what the system does (features wrt requirements), while non-functional testing focuses on how it performs (speed, reliability and security). We have the Unit testing, Integration testing, System testing(E2E test), Interface testing, Regression testing and UAT under functional testing. While the documentation testing, installation testing, performance testing, reliability testing, security testing fall under non-functional testing.</p>



<p>Manual or Automation testing is utilized for the above based on strategic purpose. While manual testing is used in the areas where exploratory, human judgement and subjective human experiences are needed. On the other hand, automation testing is used where speed, reliability is needed. Even for repetitive tasks and complex end to end workflows Automation testing is used.</p>



<h3 class="wp-block-heading">&nbsp;AI-Powered Testing</h3>



<p>AI can act as a Co-pilot to the tester in the following areas of STLC.&nbsp;This can be for Test case generation, Test automation scripts, Test data generation, Test maintenance, prioritisation, and exploratory testing ideas. It is important to note that blind copy-paste of AI output without human verification is dangerous. AI generated test cases can sometimes be broad but lack the necessary depth.</p>



<h4 class="wp-block-heading">Playwright Framework &amp; Tools</h4>



<p>Playwright is a powerful and versatile automation library developed by Microsoft. It enables developers and testers to automate web applications across multiple browsers with ease.&nbsp;Playwright’s architecture is designed to provide a robust, flexible, and high-performance framework for browser automation. It is preferred over older frameworks like Selenium for writing end-to-end test automation scripts. </p>



<p>If you are using a Windows PC, select the necessary option/s and download the latest Node.js using the following link, which is a prerequisite for installing Playwright. Even npm installation is a prerequisite.</p>



<p><a href="https://nodejs.org/en/download">Download nodejs</a></p>



<p>Once the download and installation are complete, use the following commands to check whether it is installed properly or not. The commands can be used in the command prompt or in the Terminal section of VS Code IDE to verify the versions installed. Here, &#8220;npm&#8221; refers to Node Package Manager.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="990" height="360" src="https://sampathblogs.online/wp-content/uploads/2026/01/nodejs.png" alt="" class="wp-image-4069" style="aspect-ratio:2.7501023122570083;width:674px;height:auto" srcset="https://sampathblogs.online/wp-content/uploads/2026/01/nodejs.png 990w, https://sampathblogs.online/wp-content/uploads/2026/01/nodejs-300x109.png 300w, https://sampathblogs.online/wp-content/uploads/2026/01/nodejs-768x279.png 768w, https://sampathblogs.online/wp-content/uploads/2026/01/nodejs-600x218.png 600w, https://sampathblogs.online/wp-content/uploads/2026/01/nodejs-945x344.png 945w" sizes="auto, (max-width: 990px) 100vw, 990px" /></figure>
</div>


<p>If you need to download and setup VSCode, use the following link to download and perform the installation.</p>



<p><a href="https://code.visualstudio.com/download">Download VSCode</a></p>



<p>On VS Code, click on &#8220;Open Folder&#8221; to navigate to an existing folder or create a new one (<em>ECOMWEBTEST</em>) and Open it. We will now go through the following link for more details on playwright setup.</p>



<p><a href="https://playwright.dev/docs/intro">Installation | Playwright</a></p>



<p>As mentioned in the above link, the following command adds Playwright to the existing project/folder on VS Code if it is not yet setup. Once the following command is executed, you can see the folders/files as displayed in the below picture to get populated under the folder ECOMWEBTEST.</p>



<p><em><strong><code>npm init playwright@latest</code></strong></em></p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="530" height="619" src="https://sampathblogs.online/wp-content/uploads/2026/01/playwright-install-complete.png" alt="" class="wp-image-4070" style="aspect-ratio:0.8562376937446358;width:325px;height:auto" srcset="https://sampathblogs.online/wp-content/uploads/2026/01/playwright-install-complete.png 530w, https://sampathblogs.online/wp-content/uploads/2026/01/playwright-install-complete-257x300.png 257w" sizes="auto, (max-width: 530px) 100vw, 530px" /></figure>
</div>


<h4 class="wp-block-heading">Test Case Generation</h4>



<p>Now that we have set up Playwright in VS Code, let us use an AI tool (<em>OpenAI/Claude etc</em>) to generate Test cases for a sample scenario using the following prompt.</p>



<p><code>"<em>Consider yourself as a QA testing expert. Generate detailed test cases for saucedemo.com login and checkout flow. Include positive and negative scenarios. I will be using playwright in order to test this.</em>"</code></p>


<div class="wp-block-image">
<figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" width="1024" height="626" src="https://sampathblogs.online/wp-content/uploads/2026/01/saucedemo-login-1024x626.png" alt="" class="wp-image-4071" style="aspect-ratio:1.6358020934761441;width:566px;height:auto" srcset="https://sampathblogs.online/wp-content/uploads/2026/01/saucedemo-login-1024x626.png 1024w, https://sampathblogs.online/wp-content/uploads/2026/01/saucedemo-login-300x183.png 300w, https://sampathblogs.online/wp-content/uploads/2026/01/saucedemo-login-768x470.png 768w, https://sampathblogs.online/wp-content/uploads/2026/01/saucedemo-login-600x367.png 600w, https://sampathblogs.online/wp-content/uploads/2026/01/saucedemo-login-945x578.png 945w, https://sampathblogs.online/wp-content/uploads/2026/01/saucedemo-login.png 1269w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption">saucedemo.com login page</figcaption></figure>
</div>


<p>After all the test cases are generated using the above prompt, we will move on to the execution of the test cases.</p>



<h4 class="wp-block-heading">Test Case Execution</h4>



<p>As you are inside the project folder on VS Code, you can refer to the below prompt result to gain insights on how to run the tests.</p>



<p><code><strong>"</strong>I am inside a folder in VS Code. Guide me on how to run the tests listed above.<strong>"</strong></code></p>



<p>From the result of the prompt in the earlier section, copy and paste any one of the test cases into the code file. For example, let us copy the code for login test into the newly created code file under tests folder. The name of the file is set to <em>saucedemo.spec.ts</em> as shown in the below picture.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="523" height="577" src="https://sampathblogs.online/wp-content/uploads/2026/01/saucedemo_test.png" alt="" class="wp-image-4073" style="aspect-ratio:0.906409943943456;width:328px;height:auto" srcset="https://sampathblogs.online/wp-content/uploads/2026/01/saucedemo_test.png 523w, https://sampathblogs.online/wp-content/uploads/2026/01/saucedemo_test-272x300.png 272w" sizes="auto, (max-width: 523px) 100vw, 523px" /></figure>
</div>


<p>The code to test the login (<em>generated by AI tool</em>) is as follows. Check the code to confirm whether the website name is mentioned or not.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="typescript" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">import { test, expect } from '@playwright/test';
test('Successful login with valid credentials', async ({ page }) => {
  await page.goto('https:www.saucedemo.com/');
  await page.fill('[data-test="username"]', 'standard_user');
  await page.fill('[data-test="password"]', 'secret_sauce');
  await page.click('[data-test="login-button"]');
  await expect(page).toHaveURL(/inventory.html/);
  await expect(page.locator('.inventory_item')).toHaveCount(6);
});</pre>



<p>Execute the above code by using the following command.</p>



<p><strong><em><code>npx playwright test tests/saucedemo.spec.ts --headed</code></em></strong></p>



<p>Headed Mode enables testers to visually verify automated actions, such as typing and clicking. Whereas the other mode, i.e, Trace Viewer provides a step-by-step trace of every action for verification. Once you press the enter key, the code will automatically run and execute the login for multiple browsers (Chrome, Webkit and Firefox). On successful run, you will get the following output under the Terminal section.</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="538" src="https://sampathblogs.online/wp-content/uploads/2026/01/report-1024x538.png" alt="" class="wp-image-4072" srcset="https://sampathblogs.online/wp-content/uploads/2026/01/report-1024x538.png 1024w, https://sampathblogs.online/wp-content/uploads/2026/01/report-300x158.png 300w, https://sampathblogs.online/wp-content/uploads/2026/01/report-768x403.png 768w, https://sampathblogs.online/wp-content/uploads/2026/01/report-1536x806.png 1536w, https://sampathblogs.online/wp-content/uploads/2026/01/report-600x315.png 600w, https://sampathblogs.online/wp-content/uploads/2026/01/report-945x496.png 945w, https://sampathblogs.online/wp-content/uploads/2026/01/report.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p>In case the test is a success as shown above, move on to the next test case. Similar to the first test case, execute the code for other tests using different file names.</p>



<p><strong>Further Reading:</strong></p>



<ul class="wp-block-list">
<li><a href="https://sampathblogs.online/2023/02/maximize-your-potential-the-ai-tools-you-need-to-know-about/">Maximize Your Potential : The AI Tools You Need to Know About</a></li>



<li><a href="https://sampathblogs.online/2024/08/exploring-llms-and-oci-generative-ai/">Exploring LLMs and OCI Generative AI</a></li>



<li><a href="https://sampathblogs.online/2025/11/agentic-ai-for-agile-teams-smarter-reporting-and-insights/">Agentic AI for Agile Teams: Smarter Reporting and Insights</a></li>



<li><a href="https://sampathblogs.online/2025/10/ai-powered-itsm-with-n8n-integrating-jira-sm-openai-and-slack/">AI-Powered ITSM with n8n: Integrating Jira SM, OpenAI and Slack</a></li>



<li><a href="https://sampathblogs.online/2024/06/navigating-jira-from-basics-to-advanced/">Navigating Jira : From Basics to Advanced</a></li>
</ul>
]]></content:encoded>
					
					<wfw:commentRss>https://sampathblogs.online/2026/01/an-introduction-to-ai-powered-software-testing/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
