<?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 Pooksuekiyato on Medium]]></title>
        <description><![CDATA[Stories by Pooksuekiyato on Medium]]></description>
        <link>https://medium.com/@pooksuekiyato?source=rss-2a7b31f5dec------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*0lIihmNaQ1btuz7F</url>
            <title>Stories by Pooksuekiyato on Medium</title>
            <link>https://medium.com/@pooksuekiyato?source=rss-2a7b31f5dec------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 16 Nov 2026 03:30:23 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@pooksuekiyato/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[Cypress Vs. Robot Framework, What is different : แตกต่างกันอย่างไร]]></title>
            <link>https://medium.com/@pooksuekiyato/cypress-vs-robot-framework-what-is-different-%E0%B9%81%E0%B8%95%E0%B8%81%E0%B8%95%E0%B9%88%E0%B8%B2%E0%B8%87%E0%B8%81%E0%B8%B1%E0%B8%99%E0%B8%AD%E0%B8%A2%E0%B9%88%E0%B8%B2%E0%B8%87%E0%B9%84%E0%B8%A3-e6701470c407?source=rss-2a7b31f5dec------2</link>
            <guid isPermaLink="false">https://medium.com/p/e6701470c407</guid>
            <category><![CDATA[quality-assurance]]></category>
            <category><![CDATA[robot-framework]]></category>
            <category><![CDATA[cypress]]></category>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[automated-testing]]></category>
            <dc:creator><![CDATA[Pooksuekiyato]]></dc:creator>
            <pubDate>Tue, 05 Nov 2019 11:21:43 GMT</pubDate>
            <atom:updated>2019-11-05T11:21:43.495Z</atom:updated>
            <content:encoded><![CDATA[<h3>Cypress Vs. Robot Framework, What is <strong>different : แตกต่างกันอย่างไร</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CBFkUSGKUH3zsWZm7Ak1nA.png" /></figure><p>สวัสดีค่ะ ขอแนะนำตัวก่อนเลยละกัน ชื่อปุ๊กกี้นะคะ เป็น Software Quality Assurance อยู่ที่บริษัทแห่ง หนึ่ง แล้วได้มีโอกาสศึกษา เจ้าตัว <strong>Cypress</strong> เพื่อที่จะใช้ทดสอบระบบ (เดิมใช้ <strong>Robot Framwork</strong> ในการทำ automated test) ก็เลยถือโอกาสนี้มาแชร์ค่ะ ว่าเจ้า Cypress กับ Robot framework เนี่ยมันต่างกันยังไง และมีข้อดีข้อเสียต่างกันยังไงนะ</p><p>Hello, My name’s Pookky. I’m Software Quality Assurance and I get opportunity to learn about <strong>Cypress</strong> for automated testing, but nowadays my company uses <strong>Robot Framework </strong>to implement test script. Then I want to share what is different between Cypress and Robot Framework.</p><p>(บทความนี้มีทั้งภาษาไทยและอังกฤษนะคะ สามารถเลือกอ่านได้เลย<br>This article has Thai and English version, you can choose one to read)</p><h3>Cypress Vs. Robot Framework</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v2_SX2tHLa5HTiRVWwKgRw.png" /></figure><h3><strong>Cypress</strong></h3><ul><li>ใช้ภาษา <strong>Java Script</strong> ในการเขียน test script ทำให้ง่ายต่อการสื่อสารกับ developer และ developer สามารถช่วย QA เขียน script ได้</li><li>Browser ยังไม่สามารถ support ได้หลากหลายมากนัก หลักๆก็จะเป็น <strong>Chrome</strong></li><li>เวลา run script นอกจากจะ<strong>ง่าย</strong>แล้ว ยัง<strong>ใช้เวลาไม่นาน</strong>ในการ run ด้วย</li><li><strong>ไม่มี flaky test</strong> เวลา run</li><li>wait หา element ให้อัติโนมัติ</li><li><strong>ไม่ต้องใช้ webdriver</strong> ทำให้เราไม่ต้องไปคอยอัพเดทตาม version browser</li><li><strong>test ได้ทุก level </strong>ตั้งแต่ Unit/Integration และ End to End Test</li><li><strong>ง่ายต่อการ debugging</strong> มีการบันทึก screenshot และ video ให้ด้วย นอกจากนี้ยังกดดู step ต่างๆที่ run ใน browser ได้เลย</li><li><strong>get element โดยใช้ selector</strong> แต่ยังไม่สามารถรับ xpath โดยตรงได้ต้อง npm cypress-xpath เพิ่ม</li><li>เมื่อแก้ไข code แล้วบันทึก Cypress จะ <strong>re-run ให้อัติโนมัติ</strong>เลย (ตั้งค่าให้มันไม่ auto run ก็ได้นะ)</li></ul><h3>Cypress</h3><ul><li>Use <strong>Java Script</strong> to implement test script that make QA is easy to communicate with developer and they can help to implement the script</li><li>Main support for <strong>Chrome</strong> browser</li><li><strong>Easy and fast</strong> when run script</li><li><strong>No flaky test</strong></li><li><strong>Automatic waiting</strong> for find any element</li><li><strong>No need Web-driver</strong></li><li>Can <strong>test for every test level</strong> (UI testing until End to End Testing)</li><li><strong>Easy to debug code</strong>, auto capture screenshot and record video. Moreover, it can press each step to see error</li><li><strong>Get element by selector</strong>, but it can’t get xpath straightly(you can install npm cypress-xpath more)</li><li>When edit code and save it, Cypress will <strong>automatic re-run test script </strong>(but can set for no auto run)</li></ul><h3>Robot framework</h3><ul><li>มี Library ให้ใช้หลากหลาย</li><li>ใช้ภาษา <strong>Python</strong> ในการเขียน test script ทำให้เขียนและอ่านง่ายกว่า สำหรับคนที่ไม่ได้มีพื้นฐานทางด้าน coding มามากนัก</li><li>support ได้<strong>หลากหลาย browser</strong> เช่น Chrome/ Firefox/ IE</li><li>run ได้<strong>ช้า</strong>กว่า เพราะต้องมีการ wait หา element ต่างๆ</li><li>เจอ <strong>flaky test บ่อย</strong> บางครั้ง run pass แต่พอ run อีกทีดัน fail ซะงั้น</li><li>ต้อง<strong>ติดตั้ง Web-driver</strong> เพื่อใช้ run ใน browser แต่ถ้า browser มีการ update version ก็ต้องติดตั้ง Web-driver ใหม่ตาม version browser</li><li>Unit test และ Integration test</li><li><strong>บันทึก screenshot</strong> ให้ บันทึกการ run pass-fail ที่ไฟล์ log.html</li><li>get element ด้วย class ไม่ได้</li></ul><h3>Robot framework</h3><ul><li><strong>More library</strong> to implement test script</li><li>Use <strong>Python</strong> to implement test script, so it is easy to read and implement more than Java Script</li><li>Support <strong>various browser</strong> such as Chrome/ Firefox/ IE</li><li><strong>Slower</strong> running cause of waiting for each element</li><li><strong>Always meet the flaky test</strong>, Sometime run pass, sometime run fail</li><li>Must be <strong>install Web-driver</strong> to run in browser, but if browser is updated web-driver must be re-install too</li><li>Unit test and Integration test</li><li><strong>Capture screenshot</strong> and record running pass-fail in log.html file</li><li>Cannot get element by class</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M_sNCXyR33XJ7YTcAkjpAQ.png" /><figcaption><strong>Format coding : Cypress Vs. Robot Framework (Valid Login Case)</strong></figcaption></figure><p>นี่ก็คือความแตกต่างระหว่างเจ้า <strong>Cypress</strong> กับ <strong>Robot Framework</strong> ค่ะ หวังว่าจะเป็นประโยชน์สำหรับคนที่กำลังตัดสินใจว่าจะใช้ testing tool ตัวไหนไม่มากก็น้อยนะคะ</p><p>This is differentiation between <strong>Cypress</strong> and <strong>Robot Framework</strong>. I hope this article help for your decision about choosing the testing tool for your work, thank you.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e6701470c407" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>