官术网_书友最值得收藏!

Introduction

Unlike desktop (client) applications, the Web poses specific challenges that go beyond the local machine. For instance, a web page may not display the intended content correctly with regard to content, format, layout, and even functionality, due to missing or corrupted resources located on a remote server. An application server, a database server, a Cascading Style Sheet (CSS), and a configuration or JavaScript file (.js) are among the resources that may have an impact on the web application functioning. Other challenges include the integrity of the links, JavaScript bugs, and caching effects, to name a few. Security issues may also prevent web pages from displaying contents properly, as is the case with images loaded across domains.

Automating tests for the GUI of a web page poses challenges related to script page synchronization, object identification, and checking dynamic content, among others. This chapter describes various common automation tasks related to the testing of web pages.

Note

This chapter is not intended to be a tutorial on web technology, so some basic background is required, for instance, being acquainted with basic concepts such as Document Object Model (DOM). To learn about DOM, it is recommended that you refer to the official specification at http://www.w3.org/TR/DOM-Level-3-Core/introduction.html.

主站蜘蛛池模板: 青海省| 罗江县| 浦北县| 天津市| 贡觉县| 安图县| 新绛县| 金寨县| 沭阳县| 五莲县| 清涧县| 会泽县| SHOW| 漠河县| 西畴县| 高清| 历史| 黄浦区| 远安县| 旺苍县| 南澳县| 菏泽市| 南京市| 道孚县| 文水县| 屏边| 武冈市| 科技| 克拉玛依市| 扶沟县| 岳普湖县| 易门县| 循化| 吉林省| 衡阳县| 伊宁县| 民勤县| 屯留县| 巨鹿县| 泽州县| 河北区|