CubicTest 录制测试

上一篇 / 下一篇  2009-02-17 11:07:44 / 个人分类:Selenium RC

转载

http://boss.bekk.no/display/BOSS/CubicTest+-+Tutorial

Recording tests

Alternatively to creating a test manually (as described above), tests can be recorded by interacting with an existing web application.

The recorder requires that Firefox or Opera is installed. 

To record a test,

  1. Right clickin the background of a Test and choose"Record"(or right click on an arbitrary Page/State and choose "Record from this Page/State")
    Firefox/Opera will open and load the start point URL.
  2. To record page element assertions,right click on the page in Firefoxon "page elements" (e.g. a link) and choose e.g. "Assert link present".
    To record text-present-assertions, first highlight/select the text and then right click and choose "assert text present".
  3. To record user interactions,interact with the page as normal. The interactions will be recorded, and "click" events will trigger the transition to a new state. Text input will not automatically trigger a transition to a new state. Observe that user interactions are added to the Cubic test model in the background.

To stop recording,

  1. Right click in the graphical test editor -> toggle "Record" off.

TAG:

 

评分:0

我来说两句

日历

« 2024-05-03  
   1234
567891011
12131415161718
19202122232425
262728293031 

数据统计

  • 访问量: 36147
  • 日志数: 9
  • 图片数: 1
  • 文件数: 1
  • 建立时间: 2009-02-13
  • 更新时间: 2015-10-12

RSS订阅

Open Toolbar