Bỏ qua

Bài Tập 3: Viết 3 Prompt Template

Yêu Cầu

Viết 3 Prompt Template cho 3 flow trên https://practice.automationtesting.in/


Flow 1: Đăng Ký Tài Khoản

Trang: https://practice.automationtesting.in/my-account/

# ═══════════════════════════════════════════════════
# PROMPT: Đăng Ký Tài Khoản
# ═══════════════════════════════════════════════════

TARGET_URL: _______________
TEST_SCOPE: _______________
PRIORITY: _______________

STEPS:
  1. _______________ → _______________
  2. _______________ → _______________
  3. _______________ → _______________
  4. _______________ → _______________
  5. _______________ → _______________

DATA_INPUTS:
  - Field: _______________
    Value: _______________
  - Field: _______________
    Value: _______________
  - Field: _______________
    Value: _______________

ASSERTIONS:
  - _______________ should _______________
  - _______________ should _______________

CONSTRAINTS:
  - _______________

Flow 2: Tìm Kiếm Sản Phẩm

Trang: https://practice.automationtesting.in/shop/

# ═══════════════════════════════════════════════════
# PROMPT: Tìm Kiếm Sản Phẩm
# ═══════════════════════════════════════════════════

TARGET_URL: _______________
TEST_SCOPE: _______________
PRIORITY: _______________

STEPS:
  1. _______________ → _______________
  2. _______________ → _______________
  3. _______________ → _______________
  4. _______________ → _______________

DATA_INPUTS:
  - Field: _______________
    Value: _______________

ASSERTIONS:
  - _______________ should _______________
  - _______________ should _______________

CONSTRAINTS:
  - _______________

Flow 3: Liên Hệ (Contact)

Trang: https://practice.automationtesting.in/contact/

# ═══════════════════════════════════════════════════
# PROMPT: Gửi Form Liên Hệ
# ═══════════════════════════════════════════════════

TARGET_URL: _______________
TEST_SCOPE: _______________
PRIORITY: _______________

STEPS:
  1. _______________ → _______________
  2. _______________ → _______________
  3. _______________ → _______________
  4. _______________ → _______________
  5. _______________ → _______________
  6. _______________ → _______________

DATA_INPUTS:
  - Field: _______________
    Value: _______________
  - Field: _______________
    Value: _______________
  - Field: _______________
    Value: _______________
  - Field: _______________
    Value: _______________

ASSERTIONS:
  - _______________ should _______________
  - _______________ should _______________

CONSTRAINTS:
  - _______________

Mẹo

  1. Mở website trước — Xem giao diện thực tế trước khi viết Prompt
  2. Ghi chú element — Xem tên nút, tên ô input thực tế trên website
  3. Thử thao tác thủ công — Click thử để biết flow thực tế
  4. Kiểm tra assertion — Xem text/element nào xuất hiện sau mỗi bước