You are on page 1of 2

12/28/2017 Vamsi Tokala's blog: Debugging SAP scripts using SAPGUI Spy in LoadRunner

More Next Blog» Create Blog Sign In

Vamsi Tokala's blog

Labels Thursday, September 2, 2010 Info on


Performance
Akamai Testing
Capacity Planning Debugging SAP scripts using SAPGUI Spy in LoadRunner
Detecting LDAP
CDN SAPGUI Spy tool comes with LoadRunner installation and be can used to identify Performance Issues
Cloud each of the SAP GUI Client objects. It will help to understand the properties of the Interesting Work -
Controller objects while creating and debugging the SAP LoadRunner scripts. Part2
CQ5 Interesting work
EDI performance Debugging SAP
LoadRunner stores the properties of the objects used in the script in lr_strings.h scripts using
End to End SAPGUI Spy in
header file
Performance LoadRunner
testing
Usage of the tool is explained using the following Code snippet Synthetic
FTP performance monitoring
Introduction The below is a sample code which  presses 'Yes' button in a pop up window. and the
JMS script failed to press the button during execution. Followers
LDAP Followers (47) Next
Little's law
LoadRunner
sapgui_select_active_window("wnd[1]");
mrdv
Oracle Apps sapgui_press_button("Yes",
Oracle E-Business
Suite btnSPOP1,
Oracle Tuning
performance BEGIN_OPTIONAL,
assessment
Performance "AdditionalInfo=sapgui1036",
Engineering
performance test END_OPTIONAL);;
plan
Performance
Testing
Property for button btnSPOP1 is defined in lr_strings.h as below
QTWeb.lrp
Follow
Rational
const char* btnSPOP1=
Performance tester
RESTful Blog Archive
"usr/btnSPOP-OPTION1";
RFP May (1)
RMI December (1)
rstatd October (1)
Property of the btnSPOP1 button is replaced with the below property in lr_strings.h May (1)
SAP
after verifying the using SAPGUI Spy tool as shown the snapshot below
SAP BPC June (1)
Scalability September (1)
Service Demand const char* btnSPOP1= March (1)
Siebel February (1)
Siebel Correlation "/app/con[0]/ses[0]/wnd[1]/usr/btnSPOP-OPTION1"; August (1)
Siebel Web June (1)
Sitescope April (1)
Statistically   September (1)
Different   August (1)
sybase CTlib   July (1)
User Defined  
June (1)
template  

http://performancetestinginfo.blogspot.in/2010/09/debugging-sap-scripts-using-sapgui-spy.html 1/3
12/28/2017 Vamsi Tokala's blog: Debugging SAP scripts using SAPGUI Spy in LoadRunner
Utilization Law   May (1)
VuGen   April (4)
 
Web Services March (1)
 
winDbg   February (1)
Wireshark Tool can be January (2)
Workload Model found December (4)
X12 Batch under the November (7)
Performance following
October (9)
Testing path
Additional September (4)
Component
SAP GUI s\SAP_Tools
\SapGuiSpy
at Thursday, September 02, 2010
Labels: LoadRunner, SAP

5 comments:

Gerrie Holtzhausen said...


The only problem I have is that the SAPGUI Spy only works when
you have established a connection...
So you are not able to use it when trying to establish the window
popup for entering a new password.
I have created test users and need to change the passwords, and
tried doing to by recording a script but LR does not record the
newly capture passwords.

/*Before running script, enter password in place of asterisks in


logon function*/

lr_think_time(41);

sapgui_logon("ASAPTEST006", //user
"*****",//1st passw
"584",
"EN",
BEGIN_OPTIONAL,
"AdditionalInfo=sapgui1023",
END_OPTIONAL);

July 10, 2013 at 2:44 AM

Gerrie Holtzhausen said...


Please notify me if you have a solution in order to record the
popup for setting the new password.
July 10, 2013 at 2:45 AM

Vamsi Tokala said...


I don't have a solution but there are tools available in the market
which can capture the object charecteristics.

Bacially you just need to call win Api functions to get object
details.
July 17, 2013 at 9:33 AM

Sahil said...
Hey!

Is there something like the object spy in QTP which I can just use
in case of SAP UI to get the VB object names?

Thanks a lot,
Best,
Sahil
July 31, 2015 at 1:20 PM

http://performancetestinginfo.blogspot.in/2010/09/debugging-sap-scripts-using-sapgui-spy.html 2/3

You might also like