<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Wasana Haputhanthiri on Medium]]></title>
        <description><![CDATA[Stories by Wasana Haputhanthiri on Medium]]></description>
        <link>https://medium.com/@wasanahaputhanthiri98?source=rss-c4b54e395aad------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*E-A41vhWckx5JTsT</url>
            <title>Stories by Wasana Haputhanthiri on Medium</title>
            <link>https://medium.com/@wasanahaputhanthiri98?source=rss-c4b54e395aad------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 07:46:30 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@wasanahaputhanthiri98/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Automating eBay with Selenium and TestNG: A Beginner’s Guide]]></title>
            <link>https://medium.com/@wasanahaputhanthiri98/automating-ebay-with-selenium-and-testng-a-beginners-guide-e3f4a86d7c87?source=rss-c4b54e395aad------2</link>
            <guid isPermaLink="false">https://medium.com/p/e3f4a86d7c87</guid>
            <dc:creator><![CDATA[Wasana Haputhanthiri]]></dc:creator>
            <pubDate>Mon, 15 Sep 2025 06:02:10 GMT</pubDate>
            <atom:updated>2025-09-15T06:07:26.728Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Improved Selenium Automation Code</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*byD433w_fLA-Tu0r3obKTQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zEK2oa2b8VitU1a1rOD53w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2CotUgPTJOfj1d1TzpjwHg.png" /></figure><p><strong>Automating eBay Search with Selenium and TestNG</strong></p><p>Automation testing is one of the most in-demand skills for QA engineers and developers today. Instead of manually opening a browser, typing into search fields, and clicking buttons, <strong>Selenium WebDriver</strong> allows us to automate these steps in code.</p><p>In this article, we’ll build a simple automation script that searches for a product on <strong>eBay</strong> and verifies that the results page loads correctly.</p><p><strong>Tools &amp; Setup</strong></p><p>For this project, you’ll need:</p><ul><li><strong>Java JDK</strong> (11 or above recommended)</li><li><strong>Selenium WebDriver</strong></li><li><strong>TestNG</strong> (for structuring tests)</li><li><strong>Chrome &amp; ChromeDriver</strong></li></ul><p>Ensure that the version of ChromeDriver matches your installed Chrome browser. Place the driver inside /src/test/resources/ in your project.</p><p><strong>How the Script Works</strong></p><ol><li><strong>Setup (</strong><strong>@BeforeMethod)</strong></li></ol><ul><li>Configures ChromeDriver</li><li>Maximizes the browser window.</li><li>Creates a WebDriverWait with a 10-second timeout.</li></ul><p><strong>2.Test (</strong><strong>@Test)</strong></p><ul><li>Opens eBay’s homepage.</li><li>Locates the search box using its ID (gh-ac).</li><li>Types the keyword &quot;watch&quot;.</li><li>Clicks the search button (gh-search-btn).</li><li>Waits until the results page loads.</li><li>Verifies the title contains &quot;watch&quot;.</li></ul><p><strong>3.Teardown (</strong><strong>@AfterMethod)</strong></p><ul><li>Closes the browser to keep tests clean.</li></ul><p><strong>Why This Matters</strong></p><p>This script demonstrates:</p><ul><li>Navigating to a webpage.</li><li>Locating and interacting with elements.</li><li>Using explicit waits to avoid flakiness.</li><li>Adding <strong>assertions</strong> for validation (core of testing).</li></ul><p>Even though it’s simple, this forms the <strong>foundation of larger automation frameworks</strong>.</p><p><strong>What’s Next?</strong></p><p>Once you get this working, you can enhance it by:</p><ul><li>Parameterizing search keywords (e.g., “laptop”, “phone”).</li><li>Adding screenshots for failed tests.</li><li>Integrating with CI/CD pipelines (GitHub Actions, Jenkins).</li><li>Expanding to cover login, filters, and cart functionality.</li></ul><p><strong>Final Thoughts</strong></p><p>With just a few lines of code, we automated a real-world workflow on eBay. This is the power of Selenium WebDriver combined with TestNG: repeatable, scalable, and reliable testing.</p><p>If you’re just starting your QA automation journey, try running and tweaking this script. Small steps like these lead to mastering automation frameworks for enterprise-grade testing.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e3f4a86d7c87" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Getting Started with Automation Testing]]></title>
            <link>https://medium.com/@wasanahaputhanthiri98/getting-started-with-automation-testing-df5462053df3?source=rss-c4b54e395aad------2</link>
            <guid isPermaLink="false">https://medium.com/p/df5462053df3</guid>
            <dc:creator><![CDATA[Wasana Haputhanthiri]]></dc:creator>
            <pubDate>Sun, 31 Aug 2025 14:59:13 GMT</pubDate>
            <atom:updated>2025-08-31T15:01:34.341Z</atom:updated>
            <content:encoded><![CDATA[<p>Software development has evolved rapidly over the years, and with it, the importance of <strong>quality assurance</strong>. Manual testing, while still crucial, often becomes slow and repetitive as applications grow. This is where <strong>automation testing</strong> comes in — it saves time, improves reliability, and ensures that software can be delivered faster without sacrificing quality.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WG0gNWQKsUJ28UiNH9DMQw.png" /></figure><h3>What is Automation Testing?</h3><p>Automation testing is the process of using specialized tools or scripts to <strong>execute tests automatically</strong>, compare actual outcomes with expected results, and report findings. Instead of manually repeating test cases, automation testing helps reduce repetitive effort, improve accuracy, and accelerate the testing process.</p><h3>Steps to Get Started with Automation Testing</h3><h4>1. Understand the Basics of Testing</h4><p>Before you jump into writing automated scripts, it’s essential to have a solid grasp of <strong>manual testing fundamentals</strong>.</p><ul><li><strong>Test cases</strong>: Step-by-step instructions to validate specific functionality.</li><li><strong>Test plans</strong>: A roadmap of what needs to be tested, when, and how.</li><li><strong>Bug reporting</strong>: Documenting defects clearly so developers can fix them.</li></ul><p>Why is this important? Because automation is not a replacement for testing — it’s a <strong>way to enhance testing</strong>. Without understanding the fundamentals, it’s easy to automate the wrong things and end up with wasted effort.</p><h4>2. Pick the Right Automation Tool</h4><p>There are many frameworks and tools available. A few widely used ones include:</p><ul><li><strong>Selenium</strong> — For web applications, supports multiple browsers.</li><li><strong>Cypress</strong> — Modern JavaScript-based tool for fast, reliable testing.</li><li><strong>Playwright</strong> — Microsoft’s tool for cross-browser web automation.</li><li><strong>JUnit/TestNG</strong> — Popular in Java ecosystems for unit and integration testing.</li><li><strong>Appium</strong> — For mobile app testing on Android and iOS.</li></ul><p>Choose a tool based on your project’s tech stack, team skills, and application type.</p><h4>3. Set Up Your Environment</h4><p>Once you’ve chosen a tool, the next step is to create a <strong>working environment</strong>.</p><ul><li>Install the framework (e.g., Selenium WebDriver, Cypress).</li><li>Choose an IDE such as <strong>VS Code</strong>, <strong>IntelliJ</strong>, or <strong>Eclipse</strong>.</li><li>Set up browsers (Chrome, Firefox, Edge) and required drivers.</li><li>Configure <strong>Git</strong> for version control so you can manage your scripts.</li></ul><h4>4.Write Your First Automated Test</h4><p>Start small and simple. The goal is to <strong>gain confidence</strong> with your tool.</p><ul><li>Open a web page and verify the title.</li><li>Automate a login flow.</li><li>Verify that a button click directs the user to the correct page.</li></ul><p>This will help you understand the structure of an automated test, how assertions work, and how to debug when something goes wrong.</p><h4>5. Follow Best Practices from the Start</h4><p>As your test suite grows, things can quickly get messy. That’s why it’s important to introduce <strong>good practices early</strong>.</p><ul><li><strong>Page Object Model (POM):</strong> Organize your code for better readability and maintainability.</li><li><strong>Naming Conventions:</strong> Use clear names for tests, methods, and variables.</li><li><strong>Data Separation:</strong> Keep test data outside scripts (e.g., config files or data providers).</li><li><strong>Test Independence:</strong> Each test should run on its own, without relying on others.</li></ul><p>Following these practices ensures that your automation remains scalable and reliable in the long run.</p><h4>6. Integrate with CI/CD</h4><p>Automation shines when it runs <strong>continuously</strong>. Instead of running tests manually, integrate them into your development pipeline.</p><ul><li><strong>Jenkins</strong> — A widely adopted automation server.</li><li><strong>GitHub Actions</strong> — Great if your repository is on GitHub.</li><li><strong>GitLab CI/CD</strong> — Works seamlessly with GitLab projects.</li></ul><p>By doing this, every code update automatically triggers your test suite, helping catch issues early before they reach production.</p><h4>7. Measure, Monitor, and Improve</h4><p>Keep track of execution time, pass/fail ratio, and flakiness. Continuously refine your scripts for reliability.</p><h3>Final Thoughts</h3><p>Automation testing isn’t about replacing manual testing — it’s about <strong>enhancing efficiency and accuracy</strong>. By starting small, selecting the right tools, and adopting a structured approach, you’ll unlock faster releases and higher-quality software.</p><p>Whether you’re a tester, developer, or someone transitioning into QA, learning automation testing will give you a <strong>competitive edge</strong> in today’s software industry.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=df5462053df3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Types of Research]]></title>
            <link>https://medium.com/@wasanahaputhanthiri98/types-of-research-94d5601b2168?source=rss-c4b54e395aad------2</link>
            <guid isPermaLink="false">https://medium.com/p/94d5601b2168</guid>
            <category><![CDATA[research]]></category>
            <category><![CDATA[type]]></category>
            <category><![CDATA[types-of-research]]></category>
            <category><![CDATA[groups]]></category>
            <dc:creator><![CDATA[Wasana Haputhanthiri]]></dc:creator>
            <pubDate>Thu, 21 Jul 2022 22:01:37 GMT</pubDate>
            <atom:updated>2022-07-22T05:05:20.795Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*8tTOV3usedLIvCiiS42O2g.jpeg" /></figure><p><strong>Types of Research</strong></p><p>Research is about using established methods to investigate a problem or question in detail with the aim of generating new knowledge about it.</p><p>It is a vital tool for scientific advancement because it allows researchers to prove or refute hypotheses based on clearly defined parameters, environments and assumptions. Due to this, it enables us to confidently contribute to knowledge as it allows research to be verified and replicated.</p><p>Knowing the types of research and what each of them focuses on will allow you to better plan your project, utilizes the most appropriate methodologies and techniques and better communicate your findings to other researchers and supervisors.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*muBeQehvmmKJm5F1.jpeg" /></figure><h3>What is the Research</h3><p>The systematic investigation into and study of materials and sources in order to establish facts and reach new conclusions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/318/1*HrBfFUXjwiJl1XZIctNevA.jpeg" /></figure><h4>The viewpoint of Research</h4><p>There are many research types according to the viewpoint of research.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/706/1*HXQvVNlUiHPAxkpCUZMYEQ.png" /></figure><p><strong>Application perspective</strong></p><p>It is based on the its Purpose. Application perspective divide under two categories.</p><p><strong>1.Applied Research<br>2.pure Research</strong></p><p><strong>Applied Research</strong></p><p>The goal is to find strategies that can be used to address a specific research problem. Applied research draws on theory to generate practical scientific knowledge, and its use is very common in STEM fields such as engineering, computer science and medicine.<br>This type of research is subdivided into two types:</p><p><strong>Technological applied research:</strong> looks towards improving efficiency in a particular productive sector through the improvement of processes or machinery related to said productive processes.</p><p><strong>Scientific applied research:</strong> has predictive purposes. Through this type of research design, we can measure certain variables to predict behaviors useful to the goods and services sector, such as consumption patterns and viability of commercial projects.</p><p>For example, market research, because by examining consumption patterns, strategies can be developed for the development of new products and marketing campaigns, etc.</p><p><strong>Note:</strong> Applied research is usually based on knowledge or results obtained through theoretical research.</p><p>In fact, it is common for research projects to first establish the theoretical framework both to define the field of study and to identify possible theories that could be tested or applied to solve the specific problem posed in the project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*M0-7DhQeJ1jDE7xZ" /><figcaption>Photo by <a href="https://unsplash.com/@jaronnix?utm_source=medium&amp;utm_medium=referral">Jaron Nix</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p><strong>pure Research</strong></p><p>We called as basic research or theoretical research. Which mean this research focusses on generating new knowledge.</p><p><strong>Objective perspective</strong></p><p>It is based on the depth of scope. It is divided into four categories.</p><p><strong>1.Descriptive Research</strong><br><strong>2.Exploratory Research</strong><br><strong>3.Explanatory Research</strong><br><strong>4.Correlational Research</strong></p><p><strong>Descriptive Research</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*5TIddDw896g910t-mFuVtA.jpeg" /></figure><p>The primary objective of descriptive research is to define the characteristics of a particular phenomenon without necessarily investigating the causes that produce it.</p><p>For example, investigating how the public census of influential government officials differs between urban and non-urban areas.</p><p><strong>Exploratory Research</strong></p><p>Exploratory research is used for the preliminary investigation of a subject that is not yet well understood or sufficiently researched. It serves to establish a frame of reference and a hypothesis from which an in-depth study can be developed that will enable conclusive results to be generated.<br>Because exploratory research is based on the study of little-studied phenomena, it relies less on theory and more on the collection of data to identify patterns that explain these phenomena.</p><p>For example, an investigation of the role social media in the perception of self-image.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/318/0*HJ9L7i9RNs7lEyJg" /></figure><p><strong>Explanatory Research</strong></p><p>Explanatory research is the most common type of research method and is responsible for establishing cause-and-effect relationships that allow generalizations to be extended to similar realities. It is closely related to descriptive research, although it provides additional information about the observed object and its interactions with the environment.</p><p>For example, investigating the brittle behavior of a specific material when under compressive load.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*TqJJe3tx2xIbT7Qr" /><figcaption>Photo by <a href="https://unsplash.com/@arlington_research?utm_source=medium&amp;utm_medium=referral">Arlington Research</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p><strong>Correlational Research</strong></p><p>The purpose of this type of scientific research is to identify the relationship between two or more variables. A correlational study aims to determine whether a variable changes, how much the other elements of the observed system change.</p><p><strong>Enquiry Mode</strong></p><p>It is based on the data collection .It it divided in to three parts.</p><p><strong>1.Qualitative Research<br>2.Quantitative Research<br>3.Mixed-Method</strong></p><p><strong>Qualitative Research</strong></p><p>Qualitative methods are often used in the social sciences to collect, compare and interpret information, has a linguistic-semiotic basis and is used in techniques such as discourse analysis, interviews, surveys, records and participant observations.</p><p>For example, examining the effects of sleep deprivation on mood.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/308/1*RNewNKT_3rvVbrYHFhZ4vw.jpeg" /></figure><p><strong>Quantitative Research</strong></p><p>Quantitative research study delves into a phenomena through quantitative data collection and using mathematical, statistical and computer-aided tools to measure them. This allows generalized conclusions to be projected over time.</p><p>For example, conducting a computer simulation on vehicle strike impacts to collect quantitative data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*JpRvatJLt7NkMIxE.jpg" /></figure><p><strong>Mixed-Method: Documentary, Field and/or Laboratory</strong></p><p>Mixed research methodologies combine results from both secondary (documentary) sources and primary sources through field or laboratory research.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=94d5601b2168" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>