PixelGrabber là một thư viện Java cho phép lấy ra các điểm ảnh (pixels) trên hình và từ đó có thể dùng để so sánh để phát hiện ra sự thay đổi, khác biệt giữa hai bức ảnh. Có thể ứng dụng vào Automation để nhận biết những sự thay đổi layout.
Optical character recognition (also optical character reader, OCR) is the mechanical or electronic conversion of images of typed, handwritten or printed text into machine-encoded text, whether from a scanned document, a photo of a document, a scene-photo (for example the text on signs and billboards in a landscape photo) or from subtitle text superimposed on an image.
An idea to verify the correct format (eg: email format, phone number format) is simple. We need the “Regular Expression Pattern” of each format and using Selenium IDE to compare, the result will be Passed if your value match with Regular Expression Pattern, and Failed if your value does not match with that format pattern. There are some common Regular Expression Pattern, but you can customize to meet the business if needed.
When I’m looking for the code of simple Captcha for my personal project, I found this solution: http://html-tuts.com/simple-php-captcha/. The idea of this Captcha is simple, user needs to input the correct value of basic calculating: A+B
How to generate a random value with Java
A slide about Selenium IDE that I have presented at TVNClub Hanoi this week.
The below code will show you how to hover on an item (Logout WordPress blog).
Vừa rồi tôi đã mất khá nhiều thời gian tìm hiểu về phần chọn ngày trong Date Picker nên muốn chia sẻ lại code đang dùng để giúp các bạn tiết kiệm thời gian nếu có dịp làm đến nó.