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
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:
To check the patch level on your SAP Graphical User interface (GUI) for Window’s application:
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:
- Enter TRUE in the New value box and click on the Save button.
.
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.
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:
- Log on to your SAP server.
- Click the Customize Local Layout SAP toolbar button and then select Options. The Options dialog box opens.
- 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:
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:
- Log on to your SAP server.
- Click the Customize Local Layout SAP toolbar button and then select Options. The Options dialog box opens.
- Click the Scripting tab.
- Clear the Notify When a Script Attaches to a Running GUI and Notify When a Script Opens a Connection check boxes and click OK.
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:
- Log on to your SAP server.
- Select Help > Settings from the SAP menu bar. Your Person Settings dialog box opens.
- 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:










Comments
Post a Comment