Перевод

eCATT Tips Of Recording, Testing & Links (PART VIII)
Рейтинг: / 12
ХудшаяЛучшая 
Автор Administrator   
23.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 Part IV chaining, parameterization, creation of Test Configuration, Test Data Container, and System Data Container are explained in detail. In Part V, the management of eCATT Scripts via Testworkbench is explained. In Part VI, the eCATT Logs is explained in detail. In Part VII, creation of eCATT Scripts using Non-User Interface mode is explained along with the details of Copy, Rename, Delete, Upload and Download of eCATT objects. In the Part VIII, tips & links of eCATT will be covered.

Tips To Be Followed Before or During Recording:
  • Test case is generally a series of transactions pertaining to one business scenario. Before recording of the script via eCATT, work with the script on R/3 system directly with a given set of valid data for the entire script. Execute the script manually directly on R/3 for at least 2-3 times with the same set of data. On 2nd time onwards, system may prompt some error messages, warning messages etc. Correct the data only for the error messages and let the warning messages & popup be as it is. This way the data is ready which gives all possible behavior of the transaction. Now record the script with this data. Recording will now include the extra popup, warning messages, which normally don’t come. Make these screens optional in SAPGUI mode. After recording, without parameterization check for the errorless recording by execution. If the recording is successful, then only go for parameterization otherwise do the corrections by rerecording if needed. 
  • There can be some default settings for the parameters values on the user ID by which the recording is done. Make sure that before replaying those recorded eCATT scripts, the default user ID settings are done on the system on which the final execution will happen. Following such prerequisites in terms of user ID settings or some behavior of transaction of first run, in same session with some default data etc. always help in the successful execution of the scripts. 
  • If the transaction to be recorded on R/3 involves dropdown list box, do the following setting before recording of that transaction. Due to following settings, the keys will be assigned to each item in the dropdown in sorted manner and recording will happen for these keys values. This helps in replaying the transaction successfully.

    •  Log on to target R/3 system. On any transaction, click on Customizing Of Local Layout (Ctrl+F12) icon from the application toolbar. Select the Options -> Expert.


 

    • On the Expert tab, in the Controls section select the checkboxes of Show keys in all dropdown lists & Sort items by keys.


 

    • Transaction with dropdown without keys setting – 


 

Transaction with dropdown keys settings –

  • If the recording includes, adding some value to the table then don’t scroll up to blank line. Use directly the Create Item icon and then add the new values. Scrolling fails at the time of replay.


  • If the recording includes searching some value from ALV grid and the value is known then don’t scroll and look for the value. Use the Search icon from the ALV toolbar for searching. Once the search item is found, then click on the item for further processing.

 

  • It happens at times that the screen size reduces at the time of recording in width and height. In such scenario if the field to be captured during recording is present somewhere at the bottom, then don’t scroll. Use the TAB key till that field is reached. Due to Scroll functionality possibility of script failure becomes high.
  •  It is not possible to capture the value from a dynamically generated list. If the recording includes a dynamically generated list and one value (which is not known until execution) from this list needs to pass to the subsequent step in recording then use foreground mode of recording for this dynamically generated list. Use WAIT XXX statement after its recording. During this WAIT XXX seconds, capture the value from the generated list manually and pass it to the next recording.

SAPGUI & TCD Recording Modes:

  • Error messages can be recorded and replayed by Only SAPGUI recording mode and NOT by TCD mode.
  • Warning messages are automatically handled by TCD mode but in SAPGUI recording mode they need to be handled if they require user intervention for further processing. (E.g. Pressing and enter key will enable all the fields after warning message)
  • Screens can be made Optional for execution in SAPGUI mode. This optional screen will be handled automatically at runtime even if not in the screens flow. But in TCD screens can’t be made optional which may or may not occur during execution. Rather in TCD screens can be made active or deactivated in the cases where depending on some input values, the recording can be reused. The screens sequence should be known well in advance in TCD for making any screen active or not.
  • Only local variables from the eCATT Parameters can be used in Inline ABAP code. Import and Export parameter are not allowed.
  • Passing values to subsequent screens at runtime is only possible in SAPGUI and not in TCD mode.
  • SAPGUI Confirm Popup:


In order to avoid the following popup for SAPGUI recording, option is available in R/3 System.


Click on the icon with tool tip Customizing Of Local Layout (Alt+F12) in the standard toolbar on any transaction of R/3 system. Select the Options menu.

 

From the Options -> Scripting, uncheck the check box of Notify when a script attaches to a running GUI. Click on Apply -> Ok. The popup won’t appear onwards.

  • Making SAPGUI Screen Optional:

It is possible in SAPGUI recording mode to make screens optional.
Double click on the screen or message popup, which needed to make optional on the left side in the command editor. On right side, the interface will open. Under the ProcessedScreen node, first option is Active 'X'.

Change Active 'X' to 'O'.

'X' - Active (Compulsory will execute)
'O' - Optional (will execute only when it will be in execution flow).

eCATT Commands:

  • An eCATT script consists of individual eCATT commands. Each command begins with a command word and ends with a period. Comments (*) and assignments (=) are exceptions to this rule.

  • There can be several commands on the same line. Comments (*), assignments (=), and inline ABAP are exceptions to this rule.
  • E.g. of eCATT Commands are -
    *, =, ABAP, CHETAB, CHEVAR, CLEAR, DO, ELSE, ELSEIF, ENDABAP, ENDDO, ENDIF, ENDMESSAGE, EXIT, FUN, GETTAB, IF, LOG, MESSAGE, ON_LAST_MESSAGE_CHECK, REF, REFCATT, REFEXT, REMOTECATT, RESTAB, SAPGUI, SENDEXT, SETTAB, TCD, WAIT, WAIT_ON_DYNPRO
  • There are examples involving these eCATT commands, which can be found from the menu Goto-> Use Of Command.
    On the next screen eCATT – Search Of eCATT Commands in Test Script, in the Command input field, give the name of the eCATT Command from the F4 help.


  • And click on Execute (F8) button from the application toolbar. List of examples will be in the output.

Key Points Can Be Followed For Successful Testing Via eCATT:

  • Analysis of transactions with different behaviors for different sets of data. Finally selecting the set of data, which gives maximum possible messages/popup for the given transaction.
  • Automation along with the verification before final regression on Quality Server.
  • Preparation of variant files with details having comments on each value, which helps in preparation of data for the scripts before execution.
  • Analyzing the behavior of transactions for the background/ foreground execution mode. Accordingly preparation of packages for background & foreground execution. Preparing the prerequisites for the regression as a whole considering the user ID settings. Also the transaction settings for those user IDs.

  • Maintaining the results in scorecard with log IDs for each location the scripts being tested during regression on Quality. This helps for future reference of script results. Scorecard can be something like as follows -

 Sapna Modi  

 


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

Коментарии (21)
 
[url=http://www.kdssodlps.com]kdfokodlps[/url] - kdfokodlps , http://www.kdssodlps.com
IP: 93.182.134.167
 
blawlitircula, 16:17 16 сентября 2012 г.
 
http://uagzqew.com - jQgriKrjxTFqRsov , vZjrnnEtQz , http://smlfirw.com - [link=http://jurdqcv.com - wUYZsuNiPP[/link -
IP: 93.182.134.167
 
FurlGrielve, 21:44 17 сентября 2012 г.
 
The comments above are intacurcae and do not do justice to current attempts to restore what was once and could again become one of the finest buildings in Dublin. To begin with the buyer is not a foreigner , but Irish. The Irish Times reported that the building was sold to an overseas buyer and perhaps that is what led the author to make a jump and assume this meant he was a foreigner , although why this is relevant is beyond me. He has great plans for the building, which include a sensitive restoration. For understandable commercial reasons he has not yet decided to make those plans public although he is engaging fully with the relevant planners to ensure that existing qualities of the building are protected. Given that, as you note the building was not previously receiving the love it deserved I, as someone who lives and works in the area, welcome the changes.
IP: 82.211.54.48
 
Angelina, 00:05 20 июля 2013 г.
 
The comments above are intacurcae and do not do justice to current attempts to restore what was once and could again become one of the finest buildings in Dublin. To begin with the buyer is not a foreigner , but Irish. The Irish Times reported that the building was sold to an overseas buyer and perhaps that is what led the author to make a jump and assume this meant he was a foreigner , although why this is relevant is beyond me. He has great plans for the building, which include a sensitive restoration. For understandable commercial reasons he has not yet decided to make those plans public although he is engaging fully with the relevant planners to ensure that existing qualities of the building are protected. Given that, as you note the building was not previously receiving the love it deserved I, as someone who lives and works in the area, welcome the changes.
IP: 82.211.54.48
 
Angelina, 00:05 20 июля 2013 г.
 
The comments above are intacurcae and do not do justice to current attempts to restore what was once and could again become one of the finest buildings in Dublin. To begin with the buyer is not a foreigner , but Irish. The Irish Times reported that the building was sold to an overseas buyer and perhaps that is what led the author to make a jump and assume this meant he was a foreigner , although why this is relevant is beyond me. He has great plans for the building, which include a sensitive restoration. For understandable commercial reasons he has not yet decided to make those plans public although he is engaging fully with the relevant planners to ensure that existing qualities of the building are protected. Given that, as you note the building was not previously receiving the love it deserved I, as someone who lives and works in the area, welcome the changes.
IP: 82.211.54.48
 
Angelina, 00:05 20 июля 2013 г.
 
Hi Tom, Thanks for the clarification. I've amndeed the question of nationality above. Given that you're familiar with the current owner of the building, I wonder if you or he would like to call Gerard Cunningham, who's writing the feature piece, on 086 6073060 for an interview.And, my apologies if not, but would you like me to amend the spelling of your surname on your comment to McEnaney?
IP: 211.151.186.228
 
Auth, 12:17 22 июля 2013 г.
 
Hi Tom, Thanks for the clarification. I've amndeed the question of nationality above. Given that you're familiar with the current owner of the building, I wonder if you or he would like to call Gerard Cunningham, who's writing the feature piece, on 086 6073060 for an interview.And, my apologies if not, but would you like me to amend the spelling of your surname on your comment to McEnaney?
IP: 211.151.186.228
 
Auth, 12:17 22 июля 2013 г.
 
Hi Tom, Thanks for the clarification. I've amndeed the question of nationality above. Given that you're familiar with the current owner of the building, I wonder if you or he would like to call Gerard Cunningham, who's writing the feature piece, on 086 6073060 for an interview.And, my apologies if not, but would you like me to amend the spelling of your surname on your comment to McEnaney?
IP: 211.151.186.228
 
Auth, 12:17 22 июля 2013 г.
 
Hello, we are tourists from HK and will be visinitg 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! http://rutqzs.com [url=http://abzsya.com]abzsya[/url] [link=http://wpwhxl.com]wpwhxl[/link]
IP: 120.202.249.196
 
Kuvaev, 18:39 22 июля 2013 г.
 
Hello, we are tourists from HK and will be visinitg 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! http://rutqzs.com [url=http://abzsya.com]abzsya[/url] [link=http://wpwhxl.com]wpwhxl[/link]
IP: 120.202.249.196
 
Kuvaev, 18:39 22 июля 2013 г.


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