发明名称 |
Automatic test tool for webpage design with micro-browsers on mobile platforms |
摘要 |
Architecture that provides a convenient and effective test tool for testing and ensuring that webpages using micro-browsers are sufficiently designed and operational. A task library is developed for manipulating browsers on a handheld device, and includes one or more seamless methods that operate the different browsers in the same way. Seamless virtual functions that manipulate different micro-browsers include, but are not limited to browser launch, exiting a browser, navigating to a home page, clearing a cache, navigating to a webpage, reloading a webpage, getting the current info for a webpage, navigating back to a webpage, checking a page title, and capturing a screen, for example. Device features can also be manipulated to ensure consistency across the testing process. |
申请公布号 |
US8819630(B2) |
申请公布日期 |
2014.08.26 |
申请号 |
US200812329647 |
申请日期 |
2008.12.08 |
申请人 |
Microsoft Corporation |
发明人 |
Chen Chih-Yung;Huang Shu-Fong;Huang Ellen |
分类号 |
G06F9/44 |
主分类号 |
G06F9/44 |
代理机构 |
|
代理人 |
Ross Jim;Smith Leonard;Minhas Micky |
主权项 |
1. A computer-implemented method of testing a webpage, comprising acts of:
developing a library of tasks that control different micro-browsers when running on different handheld devices, the library including micro-browser properties, device properties defined in the tasks, and at least one method that operates the different browsers in a same way, wherein a task defines operations on the micro-browser under test; creating tasks for the library that control the handheld devices; executing tasks to test display of a webpage in the different micro-browsers when operating on the handheld devices; capturing a screenshot image of the display of the webpage, to obtain an image of a test feature; comparing the image of the test feature to an expected display webpage image; processing results of the comparing to determine quality of design of the webpage; and utilizing a microprocessor that executes instructions stored in a memory associated with at least one of the acts of developing, creating, executing, capturing, comparing, or processing. |
地址 |
Redmond WA US |