Tuesday, February 1, 2011

Starting eCATT with SAP GUI Recording method

Step1: Use the Transaction code SECATT to test the data using eCATT (Extended Computer Aided Tool). Provide Test Script name in the initial screen of eCATT. Here, in the scenario I have given Test Script as ‘ZDEMO_TEST’ and version as ‘1’.

Click the Create button.

Step2: In the next screen, we have TWO tabs.

  1. Editor Tab where we can write our own ABAP code and use the eCATT special commands.
  2. Attribute Tab where we can provide Title, Component to which we are testing data.

Here, I selected the component ‘MM-PUR-SQ- SLI’ (Source List).

Step3: To do the recording, click the Pattern button in the application tool bar.

Here, we can do recording in TWO ways.

  1. SAP GUI(Recording)
  2. TCD(Recording)

Now, we use SAP GUI (Recording).

Step4: Select the pattern button. A pop-up box appears where you have to select GROUP as ‘UI Control’.

And COMMAND as ‘SAP GUI (Recording)’.

Click ‘OK’ button.

Step5: Click ‘YES’.

The following screen will appear.

Select all check boxes of Automatic Generation. Provide the T-code to which we have to be started recording.

Now select ‘Start Recording’ button to start recording of the corresponding transaction code we have mentioned.

You will get pop-up box and click ‘YES’ to continue recording.

Step6: After recording, a SAP GUI command and its associated command interface will be inserted in the test script editor.

Save and check syntax check.

Step7: First of all execute the script without parameterization to confirm errorless recording.

At the run time, a start options window appears. Select the following options as shown.

And in UI Control Tab,

Click on Execute button.

Step8: After execution of the transaction, if there is no errors are found while recording, then you will get success log. Suppose there is error in recording of the transaction then the detailed error log will appear.

No comments:

Tutorials on SAP-ABAP

Adobe Interactive Forms Tutorials

Business Server Pages (BSP)

Userexits/BADIs

Web Dynpro for ABAP (Step by step procedure for web dynpro,Tutorials on Web Dynpro,)

ALV Tutorials

Blog Archive

goodsites