ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Converting Actions to Scripted Components

Converting Actions to Scripted Components

原创 Linux操作系统 作者:ipqiaojj 时间:2009-03-15 08:55:55 0 删除 编辑

Converting Actions to Scripted Components

When you add actions to the Action Conversion Tool, the Status box indicates whether or not each action can be converted. An empty Status box indicates that the test can be converted. If the Status box displays a message, then the action cannot currently be converted. Read the message and modify the action accordingly. For example, if the message states that the action is not reusable, you can open the test in QuickTest and make the action reusable. (For information on working with QuickTest, refer to the HP QuickTest Professional User's Guide.)

After you modify and save the test, you can add it to the Action Conversion Tool again. When you re-add a test, the Action Conversion Tool replaces the test you added previously with the newly modified test. It also applies the same target path that you defined previously. Therefore, if you chose a different location to store the scripted component after it is converted, the modified test will now use that path.

When the Action Conversion Tool converts an action, it:

  • creates a new scripted component in your Quality Center project
  • copies the source action's steps and content to the scripted component
  • copies the test settings for the source action's parent test to the scripted component's settings (displayed in the Business Component Settings dialog box)
  • copies the source action's parameterization data
  • copies the first row from the data sheet to the Data Table that is used by the scripted component
  • Note: You use the Test Settings dialog box (File > Settings > Resources) to specify that a source action use an external data sheet. You use the Value Configuration Options dialog box for a specific parameter to specify that a source action use a local (current action) data sheet.

    After you convert actions to scripted components, you must open each scripted component in QuickTest and associate it with an application area that provides all of the resources and settings needed by the component. 

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/16792402/viewspace-567371/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2009-02-22

  • 博文量
    140
  • 访问量
    74798