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

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.

主站蜘蛛池模板: 长白| 河津市| 乐亭县| 怀柔区| 衡水市| 浏阳市| 南川市| 巢湖市| 丹棱县| 凤翔县| 汉寿县| 济阳县| 吴川市| 韩城市| 中方县| 高台县| 汉沽区| 伊宁县| 苍梧县| 图木舒克市| 增城市| 那曲县| 巴马| 普陀区| 兴化市| 通化县| 朝阳县| 蒙阴县| 湘潭县| 深泽县| 清水河县| 凤山市| 昆明市| 濉溪县| 河北区| 奇台县| 乌苏市| 京山县| 绍兴市| 东莞市| 民权县|