軟件測試+JAVA

          -- 新手上路
          posts - 13, comments - 7, trackbacks - 0, articles - 0

          How does TestDirector create Oracle projects

          Posted on 2006-12-11 13:27 RedWolf 閱讀(418) 評論(0)  編輯  收藏 所屬分類: 測試管理工具
          http://kb-index.mercury.com/web/queries/KBAview.asp?Product=TD&Conceptid=7093&BVUserID=


          Problem Description: How does TestDirector create Oracle projects

          Here are the SQL statements that the Project Administration Utility / Site Administrator uses to create new Oracle projects in case a user wants to know why TestDirector needs the system account privileges for Oracle server, or any user with "connect," "resource with admin option," "grant any role," "create user," and "select on_dba_free_space."

          Please also refer to this article for SQL statements to run: Problem ID 7095 - How to create user in Oracle to create new Oracle projects.


          Solution: SQL statements used by TestDirector to create projects

          Here are the five examples of the SQL statements:

          1. The user must have enough privileges to create the TDProject user and assign it to a table space:

          CREATE USER td_manual IDENTIFIED BY [default password] DEFAULT TABLESPACE TD_PROJECTS TEMPORARY TABLESPACE TD_TEMP;
          (Please contact Mercury support for the default password.)

          2. The user must be able to grant the TDProject user these roles:

          GRANT CONNECT,RESOURCE TO td_manual;

          3. The user must have privileges to create Tables, Indexes, and Views:

          CREATE TABLE ACT_DEPEND ( AD_ACTION_NAME varchar2(40) null, AD_TABLE_NAME varchar2(40) null, AD_ACTION_KIND varchar2(1) null, AD_IS_COLUMNS varchar2(1) null );

          CREATE INDEX ACT_DEPEND_AD_ACTIONNAME ON ACT_DEPEND ( AD_ACTION_NAME );

          CREATE VIEW EXECUTION_V AS SELECT * FROM TESTCYCL, TEST WHERE TC_TEST_ID = TS_TEST_ID;

          Attached is a text file with all the SQL statements that create all tables, indexes and views for TestDirector 7.2.
          Also attached is a Word document for TestDirector 7.5.

          Note:
          Creating these tables is not sufficient to bring up TestDirector and login to the project, since there is an initialization and customization data that must be added for these tables : system_field, all_lists, actions, etc.

          When TestDirector 7.6 (7.5) creates an Oracle project, it first creates a user ("DomainName_ProjectName_db") and logs in as that user to create the Oracle database. That user is the owner of all the objects (tables and indexes) for the project.

          Attachment : CPT7094.txt
          Attachment : CreatingOracle75Project.doc

          主站蜘蛛池模板: 泗水县| 周宁县| 都江堰市| 高平市| 鄂州市| 宁强县| 桦川县| 方城县| 霞浦县| 清徐县| 和林格尔县| 南漳县| 金门县| 阿克陶县| 开封市| 沈阳市| 巫溪县| 乡宁县| 区。| 宁化县| 仁布县| 澜沧| 双城市| 都昌县| 和田县| 津南区| 孟州市| 丁青县| 昂仁县| 买车| 汽车| 高清| 车险| 晋州市| 崇礼县| 贵德县| 新龙县| 辰溪县| 龙岩市| 南京市| 呼伦贝尔市|