asgardsinc 发表于 2011-10-25 21:42:01

请教自动化测试对浏览器的环境准备有哪些?

之前没接触过自动化测试。
PM布置一个课题是 自动化测试的浏览器环境准备
目前做到的有:
IE环境下:用代码清除cache,cookie, 打开no add-ons 状态 以及在测试开始前关闭所有浏览器。
Firefox由于可以打开一个新的profile,所以上述3项都不是问题。

目前困惑的是,对于Firefox, 需要对profile进行特别的设置, 让其更有利于跑自动化测试吗?
请教各位有自动化测试经验的高手。

wower1985 发表于 2011-10-27 10:39:28

Preparing to Create a Test
Before you begin creating a test, ensure that your application and QuickTest are set to match the needs of your test. For the purposes of this tutorial:

In Microsoft Internet Explorer, clear the AutoComplete option for user names and passwords (choose Tools > Internet Options > Content tab > AutoComplete Button).
Close all browsers before you begin.
Set the proper Web Page/Frame options. Open QuickTest, choose Tools > Options and click the Web > Page/Frame node. In the Create a new Page test object for area, select Different URLs or a change in data transfer and select the first four check boxes.
页: [1]
查看完整版本: 请教自动化测试对浏览器的环境准备有哪些?