Testing and Recording Defect with Video Clip

18 May
2009

สวัสดียามค่ำคืนครับ จะได้มีเวลาเข้ามาเขียนเรื่องลงใน welovebug ก็เวลาหลังเลิกงานแล้วครับ แต่ก็แอบดีใจที่มีสมาชิกหลายๆ ท่านเข้ามาร่วมด้วยช่วยกันเขียนเรื่องต่างๆ ลงใน welovebug ของเรา ก็ขอขอบคุณไว้ ณ ที่นี้ สำหรับบทความดีๆ และความคิดเห็นต่างๆ ครับ :)

computer bug

photo by Blacknight Solution

ค่ำคืนนี้ก็ขอเล่าสู่กันฟังถึงประสบการณ์ในส่วนของ Defect Management ที่เคยผ่านมาในการทำ Software Testing ซึ่ง Tester หลายๆ ท่านอาจจะประสบปัญหาอยู่ ณ ตอนนี้ และในเวลาเดียวกัน Tester หลายๆ ท่านก็น่าจะใช้วิธีการเดียวกันกับที่ผู้เขียนใช้ด้วยเช่นกัน

Defect หรือ Bug เหมือนเป็นเพื่อนสนิทมิตรสหายกับ Tester ทั้งหลาย ที่จะต้องประสบพบเจอกันอยู่ในทุกๆ ครั้งที่ลงไม้ลงมือทดสอบ Software หรือ Application ต่างๆ  ซึ่งเมื่อเราได้เจอะเจอกับเจ้า Defect หรือ Bug ในระหว่างดำเนินการ Test เราก็จะทำการ Log รายละเอียดของ Defect ที่พบลงในระบบ Defect Management ที่แต่ละ Tester นั้นใช้งาน โดย Tester ก็จะบอกรายละเอียดต่างๆ ที่เกี่ยวข้องกับ Defect นั้นๆ ซึ่งโดยทั่วๆ ไป Tester ทั้งหลาย ก็จะแจ้งรายละเอียดเบื้องต้น ดังนี้

  • Test Cases หรือ Test Scenarios ที่ทำการ Test
  • ข้อมูล Environment ต่างๆ ที่ทำการ Test
  • Component หรือ Functions ที่พบ Defect
  • Summary จั่วหัวเรื่องให้ Developer แอบตกใจ
  • Decription อธิบายรายละเอียดของ Defects
  • Step to Reproduce อธิบายขั้นตอนในการทดสอบที่ทำให้พบ Defect เพื่อให้ Developer ทำตาม
  • Actual Results ผลการ Test ที่พบ
  • Expected Results ผลการ Test ที่เป็นไปตาม Requirement
  • Additional Information ใส่รายละเอียดที่เกี่ยวข้องกับ Defect เพิ่มเติม
  • Attachments แนบไฟล์ต่างๆ ที่เกี่ยวข้องกับ Defect

จากประสบการณ์การทำงานที่ผ่านมานั้นที่เริ่มตั้งแต่ Log Defect ที่พบลงใน Microsoft Word จนกระทั่งมาใช้ระบบ Defect Management นั้น ไม่ว่าจะกำหนดรายละเอียดในการแจ้ง Defect ดีเพียงใดก็พบว่า Developer มักจะไม่ค่อยอ่านเท่าไรนัก ส่วนใหญ่จะอ่านผ่านๆ และมองข้ามส่วนของ Attachments ไป ซึ่งส่วนใหญ่เราจะทำการ Capture Screen Shots ในแต่ละขั้นตอนของการทดสอบ หรือขั้นตอนที่พบ Defect เป็นรูปภาพ แล้วก็แนบไปกับ Defect Report นั้นๆ

จะได้ยินคำพูดสุด Classic เหล่านี้จากเหล่า Developer ส่วนใหญ่

  • ไม่เห็นมันเคยเป็นอย่างนั้นเลยนี่หว่า
  • เป็นไปได้ไงอ่ะ
  • พิมพ์อะไรผิดอะดิ
  • อ๋อ เพราะนายดวงไม่ดีอ่ะ ลองอีกทีไม่เป็นหรอก
  • บนเครื่องผมมันก็ใช้งานได้นี่

และก็จะปิดท้ายด้วยคำพูด “พี่ครับ ช่วย Test ให้ผมดูอีกทีได้ไหมครับว่าเจอ Bug ตรงไหน” พร้อมทำตาโตโต ออกแนวอ้อนวอน

ผู้เขียนและ Testers ในทีมต่างก็ประสบพบเจอเรื่องเหล่านี้อยู่เป็นประจำ จนกระทั่งวันหนึ่งได้มีโอกาสสัมภาษณ์ผู้ที่มาสมัครงานคนหนึ่ง (อยากได้เค้ามาร่วมทีมมาก แต่เค้าติดปัญหาเรื่องสัญญากับทางบริษัทเลยมาไม่ได้) เค้าจุดประกายว่าที่บริษัทเค้าใช้วิธีการ Record เป็น Clip Video แล้วแนบไปกับ Defect Report

ปิ๊ง…ปิ๊ง…ปิ๊ง… ขึ้นมาทันทีเลย

เริ่มมองหา Software ที่จะนำมาทำการ Record การ Test และ Defect ที่พบในขณะที่ดำเนินการ Test ก็เจออยู่หลายๆ ตัว แต่ส่วนใหญ่จะได้ไฟล์ Video ที่มีขนาดใหญ่ ซึ่งจะไม่สามารถทำการส่งไปกับ Mail หรือ Upload ขึ้นไปบนระบบ Defect Management ได้ ก็พยายามเสาะหาไปเรื่อยๆ จนกระทั่งได้พบกับ BB TestAssistant

ต้องขอออกตัวก่อนว่าผู้เขียนมิได้ค่า Commission ใดๆ เลยในการเขียนถึง BB TestAssistant แต่เป็นความประทับใจส่วนตัวกับการใช้งานเจ้า BB TestAssistant ดังนั้นจึงขอมาบอกเล่าเก้าสิบว่าเจ้า BB TestAssistant มีอะไรดีบ้างครับ

BB TestAssistant

Screen Recording for Testers and Developers

It records video, sound, webcam, keystrokes and mouse to make a movie that’s easy to view and distribute.

Try it and improve tester-developer communications today.

Record compact movies. Easy to view and navigate.

Publish to Flash, QuickTime, WMV, AVI, EXE or PowerPoint.

Integrates with applications under test.

Features

BB TestAssistant is the only screen recorder designed specifically for software testing.

  • Records continuously without filling up your hard drive, to catch intermittant errors.
  • Automatically records detailed PC configuration information to aid in problem diagnostics.
  • API allows integration with target application and test tools.
  • Records keystrokes and presents them in an easy to read, searchable user interface.
  • Collects logfiles generated by external programs and includes them in movie report.

And other powerful features that make video bug reporting easy:

  • Exports to Flash, QuickTime, AVI, EXE, Windows Media Video (WMV) and Powerpoint formats.
  • Captures Webcam video while recording the screen. Review the webcam recording as picture-in-picture video in the Player.
  • Add textboxes and callouts.
  • Add images and sound files
  • Record a commentary at record-time or later when editing.
  • Operates on all recent versions of Windows: 2000, XP, 2003, Vista
  • Multiple recording modes to enable high-fps recordings on old and new PCs.
  • Frame-by-frame editing of movies.
  • Flash and EXE exports include media player-type controls.
  • Full control over export file size and quality.
  • Create/edit HTML templates for Flash movies.
  • Capture all sound playing through system.
  • Selectable codecs for AVI and WMV formats.
  • Save individual frames as image files.
  • Record entire desktop, selected area or single window.
  • Clip movie to any selected area.
  • Export clipped movies with ‘autoscroll’ to keep mouse in frame.
  • Speed up or slow down playback to see events in detail.
  • Send movie by email in a single click.
  • Insert ‘click to continue’ pauses.
  • Record indefinitely and limit HD space used.
  • Frame preview ‘thumbnails’ for easy navigation.
  • Search movie for text string.

บอกได้เลยว่าของเค้าดีจริงๆ ครับ สำหรับท่านที่สนใจก็ตามไปดูรายละเอียดต่างๆ ได้ที่ http://www.bbsoftware.co.uk/bbtestassistant.aspx

ส่งท้าย

หลังจากได้ทดลองใช้งานจริงๆ ทำให้ Developer สามารถที่จะดูรายละเอียดของการ Test ในแต่ละ Test Cases หรือ Test Scenarios, Test Data และขั้นตอนต่างๆ จนพบ Defect ซึ่งในบางครั้ง Defect ก็ยากที่จะทำให้เกิดขึ้นได้อีกครั้ง เมื่อนำการ Record Video มาประยุกต์ใช้ก็สามารถทำให้ Tester สามารถบันทึกขั้นตอน และ Defect ไว้ได้

ขอจบการบอกเล่าเก้าสิบในส่วนของประสบการณ์เรื่องของ Defect Management ไว้เพียงเท่านี้ สำหรับค่ำคืนนี้ครับ หวังว่าจะมีประโยชน์กับเพื่อนพ้องน้องพี่ Tester ทั้งหลายไม่มากก็น้อยครับ :)

1 Response to Testing and Recording Defect with Video Clip

Avatar

Bugz Bunny

May 19th, 2009 at 1:55 pm

เยี่ยมไปเลยค่ะ ขอสนับสนุนวิธีการนี้ด้วยอีกคนนะค่ะ ว่าแต่ว่า มีใครแนะนำโปรแกรมอื่น ๆ กันบ้างหรือป่าวค่ะ ช่วยแชร์กานหน่อยนะค่ะ ขอบคุณแหล่งข้อมูลดี ๆ ของทุกท่านเลยนะค่ะ

Comment Form

top