Перевод

eCATT Scripts Creation - SAPGUI Mode (PART III)
Рейтинг: / 1
ХудшаяЛучшая 
Автор Administrator   
14.01.2009 г.
 

The Part I of eCATT Introduction gives the basic details about usage of eCATT & features involved. In Part II, the creation of eCATT scripts using TCD mode of recording is explained in detail. In the Part III, the creation of eCATT Scripts using SAPGUI mode is explained in detail. In the subsequent Parts, Management of eCATT scripts via Test Workbench and other details of eCATT will be covered.

Steps Involved In Creation Of eCATT Test Scripts:

  • Test script is generally series of steps (transactions) involving a business scenario. Identification of right transactions for this script, which prepares the input data for the script and also covers the planned business scenario, should be done.

  • Recording of test script by selecting proper recording mode.

  • Execution of test script immediately after recording without parameterization to confirm the errorless recording.

  • Parameterization of the import, export & variable parameters.

  • Preparing variants using Test Data Container.

  • Linking Test Script (TS) & Test Data Container (TD) by Test Configuration (TC).

  • Execution of TS using TC for different Variants.

How To Identify Any Transaction For SAPGUI Recording Mode:

  • If the transaction runs under SAP GUI for Windows or SAP GUI for Java, it can be recorded by either TCD or SAP GUI mode.

  • If the transaction doesn’t have any activex controls then TCD recording mode should be used. Here SAPGUI mode can also work.

  • If the transaction has activex controls and these controls ARE MANDATORY for the functionality of the transaction, then only SAPGUI mode can be used as recording mode.

Key Features Of SAPGUI Recording Mode:

  • It is suitable for the transactions having activex controls, so it requires GUI playback mode. It is slow comparative to TCD recording mode. It is not suitable for load testing. Steps For Recording Using SAPGUI Mode: 

  •  It is slow comparative to TCD recording mode. 
  •  It is not suitable for load testing.

Steps For Recording Using SAPGUI Mode:
  • Transaction SECATT.
  • Give the name of the test script (TS) in Test Script input box. The Version input by default is with value 1.
  • In the Attributes ->General Data Tab, the value of the component will be BC-TWB-TST-ECA for eCATT.
  • In the Attributes ->General Data Tab, the values of the SystemDataContainer should be given which contains all target systems with RFCs on which the script will be either executed or recorded & in the TargetSystem the name of target system (e.g. recording R/3 server) should be mentioned.

  • In the test script editor, choose the Editor tab.

  • From the Application Toolbar, click on Record Test Script (Ctrl+F5).

  • One window appears with title ‘Record SAP GUI Command’, select each check box of the Automatic Generation section. Click On Start Recording button.

  • Login in to Target System from SAP Logon or either create a new session on target system.

  • One window appears on the newly created session of target system as ‘Record SAP GUI Command’. Click on Yes for recording.


  • One window with title ‘Recording Running’ will appear. In the section of Record initial state for value check, select the Record with inactive checks radio button. Below the radio buttons, one table control with the record/ types for GUI elements is mentioned along with check boxes. Select all the check boxes. Select the check box of Closed Recorded GUIs and click finally the Continue (Enter) button. This recording window exists till recording ends. Lots of data of initial state for the mentioned screen element types will be generated. So one can be selective in selecting the checkboxes. 

  • Recording can be started with the transaction working as normal on the newly generated session.

  • Once the transaction is complete with the functionality, from the Recording Running window, click on End Recording button. This will take the recorded details of the transaction to SECATT transaction in the test script editor.

  • A SAPGUI command and its associated Command Interface will be inserted in test script editor of SECATT.

Execution of Recorded SAPGUI script:

  • Once the recording of the transaction is done and the details of recording are taken back to the test script editor, script can be executed.

  • First of all without parameterization the script should be executed to confirm the errorless recording. At the runtime, a Start Options window appears. Give the following values on this window:

      • Error Behavior S No termination, continue with next script.

      • System Data – Name of the system data container, which contains the Target System.

      • Target System – Name of the server on which the execution will happen.

      • Select the Log Display check box.

      • In SAPGUI section of window, select following options:

Procg Mode SAPGUI - S Synchronous GUI Control

Error Mode for SAPGUI - C Continue (Continue on Any Error)

Stop When - N Do Not Stop

Close GUIs - R Close Generated Sessions After REF

      • Click on Execute button.

  • Transaction will start executing, by creating a new session. This requires GUI for playback.

  • If the recording is error free, then success log will appear. And if there is any error in recording of the transaction and its replay then error log with details will appear.

  • After the confirmation of error free recording, one can go ahead with parameterization of the import, export & variables.

  • In SECATT transaction using Test Data (TD), variants can be prepared for the recorded test script. In the Parameters tab, add all the parameters from the test script. This will appear as ECATTDEFAULT in the Variants tab. Add multiple variants, as per requirement in the Variants tab. Test Data is independent of test script. Hence can be reused wherever required.

  • In SECATT transaction using Test Configuration (TC), the TD & TS can be linked together on the Configuration tab. On the Variants tab, using Variant Maintenance Assistant required variants values from TD could be linked to TC.

  • Finally the TC can be executed from SECATT directly by giving the required variant name at runtime.

  • The TC is used in managing the scripts in plans/packages using SCAT transaction.

 Sapna Modi is a Software Engineer.


Просмотров: 12828

Коментарии (15)
 
[url=http://www.kdfokodlps.com]kdfokodlps[/url] - kdfokodlps - http://www.kdfokodlps.com
IP: 93.182.131.170
 
lormooria, 12:16 07 сентября 2012 г.
 
Well, since you didn't say free, then Ableton Live, Cubase, FL Studio, Garageband (not my favorite, but user fledniry and the recording quality is only hindered by the mic and room you use to record with). Tons of people still use Digital Performer (though I have never met one face to face. It tends to be a good program to score with, but people use it to record.) Audacity is available, but incredibly limited regarding recording and workflow. If you aren't looking to learn or get better with these types of programs, then just go with Audacity and you will record with no problems. However, for more options and sonic adjusting capabilities, check out the other ones I mentioned.Cheers
IP: 94.23.238.222
 
Pedro, 20:08 19 июля 2013 г.
 
Visit any bank and tell them you need a cash advance from your cridet card. If you arent a member of that bank then you will only be able to withdraw up to $500 and they will more than likely charge you a withdrawal fee which is usually $5. If you have a bank then you should go to your bank where you can avoid limitations and fees.
IP: 94.23.238.222
 
Zaniel, 03:28 20 июля 2013 г.
 
You can use a program caleld Audacity, which will not only let you record but sample part of it and remove any static, hiss or background noise.
IP: 188.143.232.12
 
Folorunso, 11:21 22 июля 2013 г.
 
Hello, we are tourists from HK and will be vitising Taipei on Aug 15-19. We are very interested to join live band show in your cafe and wonder if there will be any shoes/ performance on Aug 15-19? Thank you!
IP: 188.143.232.12
 
Muhhammed, 14:25 22 июля 2013 г.
 
I agree you should keep your wrist stahgirt' and not bent at the wrist when playing classical. But I always see accomplished professional playing with their knuckles parallel to the bass strings not at an angle like you say and like Joe is doing. http://yqnokx.com [url=http://eoqyjogbvs.com]eoqyjogbvs[/url] [link=http://mcuapt.com]mcuapt[/link]
IP: 86.41.234.37
 
Kurang, 01:56 24 июля 2013 г.
 
I agree you should keep your wrist stahgirt' and not bent at the wrist when playing classical. But I always see accomplished professional playing with their knuckles parallel to the bass strings not at an angle like you say and like Joe is doing. http://yqnokx.com [url=http://eoqyjogbvs.com]eoqyjogbvs[/url] [link=http://mcuapt.com]mcuapt[/link]
IP: 86.41.234.37
 
Kurang, 01:56 24 июля 2013 г.
 
I agree you should keep your wrist stahgirt' and not bent at the wrist when playing classical. But I always see accomplished professional playing with their knuckles parallel to the bass strings not at an angle like you say and like Joe is doing. http://yqnokx.com [url=http://eoqyjogbvs.com]eoqyjogbvs[/url] [link=http://mcuapt.com]mcuapt[/link]
IP: 86.41.234.37
 
Kurang, 01:56 24 июля 2013 г.
 
I agree that you should keep your right wrist flat and not bent at the wrist when pliyang classical. But I always see accomplished professionals pliyang with their right knuckles parallel to the bass strings and not at an angle like Joe is doing. http://owiciprqun.com [url=http://qpdssjjhfs.com]qpdssjjhfs[/url] [link=http://jwgijew.com]jwgijew[/link]
IP: 74.115.1.194
 
Vladislav, 02:40 24 июля 2013 г.
 
I agree that you should keep your right wrist flat and not bent at the wrist when pliyang classical. But I always see accomplished professionals pliyang with their right knuckles parallel to the bass strings and not at an angle like Joe is doing. http://owiciprqun.com [url=http://qpdssjjhfs.com]qpdssjjhfs[/url] [link=http://jwgijew.com]jwgijew[/link]
IP: 212.126.210.28
 
Vladislav, 02:40 24 июля 2013 г.


Последнее обновление ( 27.02.2009 г. )
 
« Пред.   След. »
© 2018 ProSapSecurity
Joomla! - свободное программное обеспечение, распространяемое по лицензии GNU/GPL.