Wednesday, 16 September 2015

The SAP (Click and Script) Protocol in LR

The SAP (Click and Script) Protocol in LR

VuGen can create test scripts for SAP Enterprise portal7 and SAP ITS 6.20/ 6.40 environments using specialized test objects and methods that have been customized for SAP. The objects are APIs based on HP QuickTest support for SAP.

As you record a test or component on your SAP application, VuGen records the operations you perform. VuGen recognizes special SAP Windows objects such as frames, table controls, iViews, and portals.

VuGen supports recording for the following SAP controls: button, checkbox,drop-down menu, edit field, iview, list, menu, navigation bar, OK code,portal, radio group, status bar, tab strip, table, and tree view.VuGen uses the control handler layer to create the effect of an operation on a GUI control. During recording, when encountering one of the supported
SAP objects, VuGen generates a function with an sap_xxx prefix.
Example:In the following example, a user selected the User Profile tab. VuGen
generated a sap_portal function

web_browser("Close_2",
"Snapshot=t7.inf",
DESCRIPTION,
"Ordinal=2",
ACTION,
"UserAction=Close",
LAST);

lr_think_time(7);
web_text_link("Personalize",
"Snapshot=t8.inf",
DESCRIPTION,
"Text=Personalize",
ACTION,
"UserAction=Click",
LAST);

lr_think_time(6);

sap_portal("Sap Portal_2",
"Snapshot=t9.inf",
DESCRIPTION,
"BrowserOrdinal=2",
ACTION,
"DetailedNavigation=User Profile",
LAST);

Note: When you record a SAP (Click and Script) session, VuGen generates standard Web (Click and Script) functions for objects that are not SAP-specific. You do not need to explicitly specify the Web protocol. In the example above, VuGen generated a web_text_link function when the user clicked the Personalize button.


LoadRunner Training in Bangalore
LoadRunner Training in Hyderabad
LoadRunner Online Training
LoadRunner Training in BTM
LoadRunner Training in Marathahalli
Best LoadRunner Training Institutes in Bangalore 
Best LoadRunner Training Institutes in India
Training Institutes in Bangalorea

No comments:

Post a Comment