Automation Testing, Manual Testing, QTP/UFT 11 , QC/ALM 11 ,SAP TAO, Unix, Selenium, Oracle SQL, Shell Scripting and For Online Trinings to contact me : Cell:+91-8897972059 , Email Id : quicktestprotech@gmail.com

Wednesday, August 13, 2014

How to change the order of Test Plan fields in Quality Center?


Using workflow to change the order of Test Plan fields
Custom workflow is required to change the order of the fields in the Test Plan module. The order is changed using the ViewOrder property.
The ViewOrder must be modified in both the Test_New and Test_MoveTo subroutines.
Fields are displayed Left to Right, Top to Bottom.
See the example below.
Sub Test_New  Remember to also include in the Test_MoveTo subroutine
  • ...
  • Test_Fields("TS_NAME").ViewOrder=10  
     'Test Name fieldTest_Fields("TS_TEST_ID").ViewOrder=20  
      'Test ID fieldTest_Fields("TS_USER_03").ViewOrder=30  
     'Test Focus fieldTest_Fields("TS_USER_04").ViewOrder=40  
     'Test Risk fieldTest_Fields("TS_USER_05").ViewOrder=50  
     'Critical Path fieldTest_Fields("TS_USER_06").ViewOrder=60  
    Test Use fieldTest_Fields("TS_USER_07").ViewOrder=70   
     'Estimated Test Duration
    
  • Test_Fields("TS_RESPONSIBLE").ViewOrder=80 'Designer
  • Test_Fields("TS_USER_01").ViewOrder=90  
      'Created in Project fieldTest_Fields("TS_USER_02").ViewOrder=100  
      'Modified in Project fieldTest_Fields("TS_CREATION_DATE").ViewOrder=110 'Creation Date
    
  • ...
  • End Sub
  • 0 comments:

    Post a Comment

    Loading...