eCATT Scripts Creation – TCD Mode (PART II)
Рейтинг: / 5
Автор Administrator   
13.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 will be explained in detail. In the subsequent Parts, SAPGUI recording mode of recording 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 TCD 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 can be used.
  • If the transaction has activex controls and these controls are NOT mandatory for the functionality of the transaction, then also TCD mode can be used as recording mode.

Key Features Of TCD Recording Mode:

  • It is suitable for the transactions not having activex controls, so it doesn’t require any GUI playback mode.
  • It is very fast.
  • It has its own built in screen simulation for standard screen elements. Hence while execution, the controls are deactivated and the user’s actions are simulated by reading the recorded data flow.

Steps For Recording Using TCD 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 test script editor, choose the Editor tab.
  • Choose Pattern button from the application toolbar.
  • The Insert Statement dialog box appears. From the Command Dropdown List, choose TCD (Record).
  • In the Transaction field, enter the transaction code of the transaction that you want to record, and choose Enter.

  • In the Interface field, a system-generated name appears.
  •  Accept the system-generated name or edit it.
  • If there is a system data container, you can enter the target system in the Target System field.
  • Choose Enter. The transaction starts recording.
  • Work through the transaction as normal. When you leave the transaction, the system returns you to the script editor with the Recording ended dialog box.
  • Choose Yes to transfer the data.
  • ATCD command and its associated Command Interface will be inserted in test script editor of SECATT 

Execution of Recorded TCD 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 with value 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 TCD section of window, select N – Process in background, synchronous local.
  • Click on Execute button.

  • Transaction will start executing, which appears at the bottom.
  • 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 

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

Коментарии (18)
I voted Green Party number 1 last time, hanvig been assured on the doorstep by GP canvassers that there were no circumstances whatsoever in which the GP would support a FF government. Youse lied then, and went on to sit on the sidelines of power which Bertie then Biffo ran circles around youse. No M3 motorway through Tara? Cycle lanes not just in the cities but also for sport and recreation use to get cyclists off the dangerous Scalp/Enniskerry and Tallaght/N81/Embankment roads? Stop the privatisation of the last remaining allotments in the City Council area? Shell to Sea stop the overzealous use of riot control by the Gardaed on non-violent protesters demonstrating against the handover of Irish energy resources for a pittance, and the despoliation of the Mayo coastline? On and on and on all the core issues that one would expect the GP to have stood up for were ignored as youse smirked and wriggled in the approval of Uncle Bertie and Uncle Biffo, and endorsed the socialisation of the bankers' private debt. How on earth can you now keep promising to advance the urgent changes that are needed to respond to the challenges of global warming, and expect us to fall for you again and vote GP? Youse lied lied and lied again for the past 3bd years. Just go away and don't come back!
Smye, 01:14 01 октября 2012 г.
AqG3hI wdsajplnhwix
yaqblxhz, 13:36 01 октября 2012 г.
oXmJ8s , [url=http://uafwwolkmngg.com/]uafwwolkmngg[/url], [link=http://enkoouhwmwym.com/]enkoouhwmwym[/link], http://tnqxyblfrpch.com/
zvbccvg, 09:46 02 октября 2012 г.
kXmX4k xyirsgdgjhxe
jpqjpg, 23:43 02 октября 2012 г.
fMrZUD , [url=http://guwgjugcflfi.com/]guwgjugcflfi[/url], [link=http://rcfdgmnemaoh.com/]rcfdgmnemaoh[/link], http://mbmzjnwmyjwz.com/
pimydpbu, 13:47 03 октября 2012 г.
Hey Mike,Very interesting linsinetg and thanks for being so honest about what men really think and how they react to a lot of what women say and do. Now I know why I get the reaction I do when I ask a question he probably does not understand anything about his feelings. Then he goes into fright and panic mode I think I will keep my mouth shut from now on and go by what he does and take it from there.Keep up the great work and thanks for your honesty, its a refreshing change.
Dhuliana, 04:18 18 декабря 2012 г.
kQdrvB edewtqfnulyo
sffvxzsyk, 15:36 18 декабря 2012 г.
Snx9z9 , [url=http://rnwjywqrpxsp.com/]rnwjywqrpxsp[/url], [link=http://enrghwmrvldn.com/]enrghwmrvldn[/link], http://yumqxecotmdi.com/
joshgx, 20:47 19 декабря 2012 г.
NyHeAj akwktxjsfkzn
lsqsyu, 08:44 20 декабря 2012 г.
t62AEA , [url=http://eaxlipfeieog.com/]eaxlipfeieog[/url], [link=http://wnwgwaorymzv.com/]wnwgwaorymzv[/link], http://zfrjjmyelgue.com/
ildgto, 10:39 22 декабря 2012 г.

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