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.
- Editor Tab where we can write our own ABAP code and use the eCATT special commands.
- 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.
- SAP GUI(Recording)
- 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.
No comments:
Post a Comment