Highlighted
Absent Member.
Absent Member.
1546 views

I am facing issue while creating Silk Performer script for VL02N SAP T-code,

In VL02N t-code is for creating Post Good issue, here in 1st step we go to picking tab enters pick quantity and than go to Transport tab, while clicking on transport tab script gives error on status bar saying that "picked quantity is larger than the Delivered Quantity".Here is one important thing  that  there is no functional error with application,this script I am creating for performance testing so when I execute with single user it works completely fine no error comes but only with multi user test over controller, few user gives error saying that "picked quantity is larger than the Delivered Quantity".

So just to make complete execution successful , and i want to capture this error message if it appears and halt the user from further executions.

this is the step which clicks transport tab

SAPGuiSelectTab("usr/tabsTAXI_TABSTRIP_OVERVIEW/tabpT\\04","SapGuiSelectTab\\Transport");

to capture status bar message i used below code

sStatus_MSG:=SapGuiStatusBarText();

Print("status bar msg"+sStatus_MSG,-1,TEXT_GREEN);

but above command is not able to capture the status message.

Please look in to it as it is very urgent.

0 Likes
2 Replies
Highlighted
Absent Member.
Absent Member.

RE: I am facing issue while creating Silk Performer script for VL02N SAP T-code,

Are you referring to the function SapGuiVerifyStatusBarText (it returns a boolean though)? I don't think that the SapGuiStatusBarText is a valid function? Or is it a custom function you have written yourself?

0 Likes
Highlighted
Micro Focus Expert
Micro Focus Expert

RE: I am facing issue while creating Silk Performer script for VL02N SAP T-code,

Hi ashish007. For urgent problems I'd highly recommend logging a support incident, then we can help directly.

Depending on how the control is presented by SAP, you can use TrueLog Explorer to add verification.

If the value is presented by a SAP control TLExplorer will add a SapGuiVerifyTextValue function to your script. Using that you can then add some logic to determine how the Vuser should proceed depending on whether or not the value "picked quantity is larger than the Delivered Quantity" is found. Please note, that SAP status can be expected in some scenarios - scn.sap.com/.../1216424.

I hope this helps,

Ciaran.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.