Search Header Logo
Automation Test scripts

Automation Test scripts

Assessment

Presentation

Computers

University

Practice Problem

Hard

Created by

Naitnarin Intaranuch

Used 3+ times

FREE Resource

16 Slides • 12 Questions

1

Automation Clan Meeting



4 Dec 2024
By Saimorke
At Doppio Tech

2

What is definition of
Automation Test

3

Multiple Select

Question image

What is definition of Automation test?

คำนิยามของการทำ Automation test คืออะไร?

1

การทดสอบระบบตาม Requirements

2

การเลียนแบบพฤติกรรมการใช้ระบบของ User

เพื่อทดสอบระบบ

3

การเข้าถึง Server

4

การทดสอบระบบ

ด้วย Robot scripts

4

What is definition of
Automation Test

Automation test:
การเลียนแบบพฤติกรรมการใช้งานของ User เพื่อทดสอบการทำงานที่ถูกต้องของระบบด้วยโปรแกรมอัตโนมัติ

ตัวอย่างการเลียนแบบพฤติกรรม User
- การกดปุ่ม
- การกรอกข้อมูล
- การตรวจสอบข้อความที่แสดง (มองเห็นได้)

5

Why
"
Automation Test" ?

  • ความเร็วในการทำพฤติกรรมต่าง ๆ ของ Automation เร็วกว่ามนุษย์ค่อนข้างมาก

  • ความต้องการในการใช้ทรัพยากรบุคคลน้อยกว่าการใช้มนุษย์

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

6


Automate มีความเร็วในการเลียนแบบพฤติกรรมต่าง ๆ
เร็วกว่ามนุษย์
กี่เท่า

7

Multiple Choice

เมื่อเทียบแล้ว ใน 1 Action

Automation ทำงานได้เร็วกว่ามนุษย์กี่เท่า?

1

~ 2.5

2

~ 3.3

3

~ 5.1

4

~ 7.4

8

How fast to test with
Automation Scripts?

Credit: 'Usage of Robot Framework in Automation of Functional Test Regression'
By '
Stanislav Stresnjak' and 'Zeljko Hocenski'

​ระยะเวลาที่ใช้สำหรับการทดสอบ *ด้วย Test ชุดเดียวกัน ไม่รวมเวลาที่ใช้สำหรับการเตรียมชุดข้อมูล

​การทดสอบ 100 Test cases
Manual test:
16:40 ชั่วโมง
Automation test:
5 ชั่วโมง

รัน Test cases ชุดเดิมทั้งหมด 20 Suites
Manual test:
333:20 ชั่วโมง
Automation test:
100 ชั่วโมง

หรือประมาณ 3.3 เท่า

​ ps.สำหรับการกดปุ่ม โดยเฉลี่ย Automation สามารถกดปุ่มได้เร็วกว่ามนุษย์โดยเฉลี่ย 7 เท่า

9


ความเร็วของการทำ Automation test

เป็นข้อจำกัดของมันเอง?

10

Multiple Choice

วันนี้สายหมอกพรีเซนต์เรื่องอะไร

1

What is contract testing?

2

What is reverse proxy and how Doppio use it?

3

What is wait strategy in Selenium World?

4

What is mutation testing?

11

What is wait strategy
in
Selenium World?

12

Set default timeout of project


Implicit wait

Wait strategy

Set timeout
with basic condition

Explicit wait

Set timeout
with specific condition

Fluent wait

13

Set default timeout of project

Implicit Wait

Example
global_timeout = 60
Library SeleniumLibrary timeout=10
Library SeleniumLibrary implicit_wait=2

14

Set timeout with basic condition
or based on element should be visible

Explicit Wait

Example
Wait Until Element Is Visible
Wait Until Page Contains Element
DobbyWebCommon.Wait until element is visible except stale

15

Explicit Wait

media

16

Fluent Wait

Set timeout with specific condition

Example
Wait with JQuery
Wait for response in every 5 minutes
Wait until element is visible,

but if additional element is visible -> end this waiting

17

Set default timeout of project


Implicit wait

Wait strategy

Set timeout
with basic condition

Explicit wait

Set timeout
with specific condition

Fluent wait

18

media

What kind of wait are they?

19

Multiple Choice

DobbyWebCommon.Wait until element is visible except stale

1

Implicit

2

Explicit

3

Fluent

20

Multiple Choice

Verify text box ready to use,

then input text.

1

Implicit

2

Explicit

3

Fluent

21

Multiple Choice

Open browser, wait for 30s.

1

Implicit

2

Explicit

3

Fluent

22

Multiple Choice

set variable timeout = 3s

If API not response, let them fail.

1

Implicit

2

Explicit

3

Fluent

23

Multiple Choice

if API not response within 3s, check response from UI in every 2 mins.

Until 10 mins, then let them fail.

1

Implicit

2

Explicit

3

Fluent

24

Multiple Choice

Whenever upload Docs to server, excel report will show on result by next day.

1

Implicit

2

Explicit

3

Fluent

25

Multiple Choice

Wait to check photo on UI should be matched with data.

1

Implicit

2

Explicit

3

Fluent

26

Multiple Choice

Wait to check photo should be displayed by default timeout.

1

Implicit

2

Explicit

3

Fluent

27

Multiple Select

If you need to check that website is already to use,

what kind of wait you choose?

1

Implicit

2

Explicit

3

Fluent

28

Set default timeout of project

Implicit wait

Keep in mind

Set timeout
with basic condition

Explicit wait

Set timeout
with specific condition

Fluent wait

​Automation test scripts
can run faster than manual test around 3.3 times

Automation Clan Meeting



4 Dec 2024
By Saimorke
At Doppio Tech

Show answer

Auto Play

Slide 1 / 28

SLIDE