Tuesday, 11 October 2011

About Setting Up Your SAP Windows Environment



Quick Test Professional's support for SAP graphical user interface (GUI) for Window’s versions 6.20, 6.40 and 7.10 is based on the SAP GUI writing API which is disabled by default.


To test your SAP GUI for Windows application using the Quick Test Professional add INS for SAP results, you compulsion that confirm:

    • The SAP graphical user interface (GUI) writing option is installed.
    • Your server and client have the proper package and patch versions installed.
    • Your server supports the Scripting API.
    • The Scripting API is enabled on both the server and clients.
    • Your client is configured to use the Dialog display mode for F4 Help screens and that it is not set to use a Low speed connection.
    • The F1 and F4 Help display setting is configured correctly, to support testing the use of the F1 and F4 Help screens in your SAP graphical user interface (GUI) application.

Installing SAP GUI Scripting Support



When you install your SAP graphical user interface (GUI) for window’s application, you must select s SAP graphical user interface (GUI) writing installation option. 

If you did not select this option when you installed the SAP graphical user interface (GUI) for Window’s application, it is essential that you reinstall it and select this option previous setting the other configuration alternatives described in this block.
 
Note: SAP supplies the range of security techniques that allow the administrator to limit the use of SAP graphical user interface (GUI) Scripting through system, by through group, via user, & through functionality. To test SAP (GUI) for Window’s apps, you must ensure that these security techniques are not started for the application you are testing. For various data on the various security options, see the online SAP GUI Scripting Security Guide at the SAP Service Marketplace.

Checking Package and Patch Versions Installed on the SAP Application Server


To use the Quick Test Professional (QTP) Add INS for SAP resolutions, you must be confirmed that you hold the correct support package or kernel patch steps for your software part released. The following tables show the minimum requirement of variants & phases. You must get these versions and levels or highly: SCRP Kernel Patch Level


Software Component

Release

Support Package

Kernel Patch Level

SAP_APPL

31I

SAPKH31I96

Kernel 3.1I level 650

SAP_APPL

40B

SAPKH40B71

Kernel 4.0B level 903

SAP_APPL

45B

SAPKH45B49

Kernel 4.5B level 753

SAP_BASIS

46B

SAPKB46B37

Kernel 4.6D level 948

SAP_BASIS

46C

SAPKB46C29

Kernel 4.6D level 948

SAP_BASIS

46D

SAPKB46D17

Kernel 4.6D level 948

SAP_BASIS

610

SAPKB61012

Kernel 6.10 level 360
 
      If the correct package is installing of a green lighted icon is shows in the status part.
      If you don’t have the needed packages installed, download & installed it.
      For more data on downloading & installed the required package, see SAP open source software (OSS) note #480149.

  • Log on to your SAP server.
  • Select System > status. The system: status’s dialog box operating system (os) is opened.



    1. In the Kernel’s data part, checks the value of Sup. Pkg. level.
    If the phase is lower than the needed phase for the SAP is release than you are using.



For various data on downloading and installing the required kernel patch level, see SAP OSS note #480149.

Checking the Patch Version Installed on your SAP GUI for Windows Application


If you need to test your SAP graphical user interface (GUI) for Window’s application with the Quick Test Professional add-ins for SAP Solutions, make confident that the minimum required patch level is installed. For the more data on required patch levels, see the HP Quick Test Professional (QTP) ware availability Matrix, present from documentation library home page (DLHP) and the root folder of the Quick Test Professional (QTP) DVD.

Note: : If the minimum required patch level is not installed, an error message is displays when you trying to record your SAP Graphical User interface (GUI) for Window’s application.
To check the patch level on your SAP Graphical User interface (GUI) for Window’s application:

  • Open SAP Login dialog box & click on that button present on the left hand side the SAP Login dialog box title bar. Then select About the SAP Login from menu.




    Enabling Scripting


    Quick Test (QT) communicates straightly with the SAP Graphical User Interface (GUI) Scripting API to record and executes your activity on SAP Window’s object. For example, Quick Test (QT) records level based straightly on the application Programming Interface (API) actions that are sent from clients to the SAP server. Therefore, to record & executes Quick Test tests & elements on your SAP Graphical User Interface (GUI) for Window’s application, you must enable the writing on both the server side & client side. For more data, look the following steps:



      • Enabling writing (Scripting) on the SAP Application (Server-Side)
      • Enabling writing (Scripting) on the SAP Application (Client-Side)

    • Enabling Scripting on the SAP Application (Server-Side)

      After you confirmed that you get the proper support package & kernel patch phases is installed, you just enable play scripts on your SAP application. By default, writing (scripting) is disabled.
      You must enable writing (scripting) through entering in the maintain profile parameter’s window with administrative accessibility & setting the sap GUI and user writing profile parameter is TRUE on the applications server.
      To enable scripting for every user, fix this parameter on each applications server. To enable scripting for a particular group of users, fix the parameter only on application’s server with the appropriate accession restriction of settings.
      Note: If you connect to the server on which writing is out of action, an error message shows when you trying to record on your SAP Graphical User Interface (GUI) for Window’s application.
      To changes the profile parameter:
        1. Enter nrz11 in OKCode and edit box to open for transaction rz11.
        2. In the Param. Name of box is Maintains the Profile Parameters windows, and enter sap GUI /user scripting and click the Display button.










    1. Enter TRUE in the New value box and click on the Save button. .
    2. Note: You compulsions enter the TRUE in all caps locks words. Entering true and true has no effected.
      When you to save the changes and the window closed & the value of the parameter is shows as the TRUE. Even so, this change takes effects only when you login system. Hence, before starting work with Quick Test Professional (QTP) Add INS for SAP results, you compulsory log out & login again. You might also be needed to re-start the SAP Service from SAP Console.

      If you find that; yet after re-starting the SAP Services from SAP Console & logging again to the customer, your variation is to the Profile Val parameter was non saved, you might be have an out dated kernel variant. In this situation, either again start the application server and download or import the needed the kernel patch, as defined below.


    Release

    Kernel Version

    Patch Level

    6.10

    6.10

    391

    6.20

    all versions

    all levels

    6.40

    all versions

    all levels

    7.10

    all versions

    all levels


    For more data & download guidelines, see SAP OSS note #480149

    Enabling Scripting on the SAP Application (Client-Side)


    To test SAP Graphical user Interface (GUI) for Window’s applications with Quick Test Professional, you must confirm that scripting is enabled on the SAP GUI for Windows client.
    It is also recommended to disable warning messages in the SAP GUI for Windows environment when working with Quick Test Professional.
    To ensure that scripting is enabled on the SAP GUI for Windows client:


      1. Log on to your SAP server.
      2. Click the Customize Local Layout  SAP toolbar button and then select Options. The Options dialog box opens.
      3. Click the Scripting tab.

    Enabling writing(Scripting) on the SAP Application (Client-Side)


    To test Graphical user Interface (GUI) for Window’s applications with Quick Test Professional, you must confirm that scripting is enabled on the SAP GUI for Windows client.
    It is also recommended to disable warning messages in the SAP GUI for Windows environment when working with Quick Test Professional.
    To ensure that scripting is enabled on the SAP GUI for Windows client:


      1. Log on to your SAP server.
      2. Click the Customize Local Layout  SAP toolbar button and then select Options. The Options dialog box opens.
      3. Click the Scripting tab.

    Eliminating Warning Messages

    By default, you regularly receive two warning messages when using Quick Test Professional with an SAP Graphical User interface (GUI) for Window’s application:




    • When Quick Test Professional connected to the writing (scripting) Application Programming Interface (API), the following warning messages is exposed: A play script is trying to attached with the GUI.


    • When Quick Test Professional opens a newer connection using the writing the Application Programming Interface (API), the following warning message is seemed: A play script is opens a connection with the system <system name>.

    It is recommended to disable these popup messages in the SAP Graphical User Interface (GUI) for Window’s application when working to Quick Test Professional.
    To eliminate the display of warning messages:

    1. Log on to your SAP server.


    2. Click the Customize Local Layout SAP toolbar button and then select Options. The Options dialog box opens.

    3. Click the Scripting tab.
    4. Clear the Notify When a Script Attaches to a Running GUI and Notify When a Script Opens a Connection check boxes and click OK.  
    5. Setting F4 Help to Use Dialog Display Mode

      When the SAP GUI for Windows application uses the SAP GUI Scripting API (Enable Scripting option), it cannot load the F4 Help screens in Control mode. Therefore, you must ensure that your customers are fixing to load F4 Help displays in Dialog manner.
      Note: This is per user setting. You must set these alternatives on all customers that you want to test using the Quick Test Professional add INS for SAP results. instead, of the system default can be changed by the SAP system administrator.
      To set F4 Help to use Dialog mode:


    6. Log on to your SAP server.




    7. Select Help > Settings from the SAP menu bar. Your Person Settings dialog box opens.




    8. Click the F4 Help tab.



      Checking the Connection Speed on the SAP Server


      When you log on to SAP using the down speed connection alternatives to communicate with the server, the SAP server does not send sufficient information for Quick Test to properly record and run tests. (Quick Test shows an error messages if the down speed connection alternatives is chosen.) Therefore, confirmed that this alternative is not chosen for the server to which you are connecting previous recording & executing Quick Test tests.

      For more information, see SAP OSS note #587202.
      Note: Depending on the SAP GUI for Windows version you are working with, the dialog boxes shown in this section may or may not appear the same as those on your screen. However the instructions in this section are the same for all supported SAP GUI for Windows versions.
      To check the connection speed setting on your SAP GUI for Windows client:




      1. Open the SAP Logon dialog box and select the server to which you want to connect.
      2. According to the version you are using, either click the Properties button or right-click a server and select Properties. The Properties dialog box for the selected server opens.
      3.  







    9. In the Connection speed section, confirm that the Low speed connection check box is cleared.





    10. Repeat steps 1 to 4 for each server you want to use in conjunction with QuickTest.

    0 comments:

    Post a Comment

    Bookmark Us

    Delicious Digg Facebook Favorites More Stumbleupon Twitter