# 8.Manual vs Automation testing

💬 คราวนี้เราจะมาดูกันว่าการเทสตัวโปรแกรมในโลกนี้หลักๆเขามีแบบไหนบ้าง และแต่ละแบบต่างกันยังไงบ้าง

{% embed url="<https://www.youtube.com/watch?v=7V5s_Pnpy1A&list=PLUjAn8nwWniiL3ToFK8PfmAo8U6IoGAkg&index=10>" %}

## 🎯 สรุปสั้นๆ

### 👨‍🚀 Manual testing

เป็นการเช็คแบบที่เห็นได้ทั่วไปนั่นคือการให้คนมานั่งคอยทดสอบโปรแกรมเรา ข้อเสียคือในการเทสบางทีคนก็ทำผิดทำถูก ค่อนข้างช้า ค่าใช้จ่ายสูง และบางทีก็เทสได้ไม่ครอบคลุม

### 👨‍🚀 Automation testing

เป็นการเขียนโค้ดขึ้นมาเพื่อใช้ในการทดสอบโค้ดของเราอีกทีนึง ข้อเสียคือ ใช้เวลาในการเขียนเยอะกว่าปรกติในช่วงแรก

{% hint style="warning" %}
**Manual test จำเป็นต้องทำอยู่ไหม ?**\
**จำเป็นครับ** เพราะในบางเรื่อง automation test จะมาสามารถทำได้ เช่นตรวจว่าหน้าตาสวยหรือเปล่า หรือควรปรับขนาดข้อความหรือสีเป็นยังไง ซึ่งของพวกนี้จำเป็นที่จะต้องใช้การตัดสินใจของคนเข้ามาเกี่ยวข้อง
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.saladpuk.com/software-testing/tdd101/manual-vs-automation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
