Status bar text
I am using Vugen to generate scripts in SAP.I am creating a transaction which generates a PR (Purchase Requisition) Number on the status bar.I want to capture that text and the PR Number in a variable and use that variable further.Load runner has methods like :
The first one retrieves the parameter only while the second function would retrieve the complete text on status bar but both the functions display that in the output and does not return these values.The return values are 0 and 1.I tried a lot to get the value for the parameters but it always give me 0 and null as output e.g I used the following code:
value = sapgui_status_bar_get_param("1","value");
lr_message("value is =%d", value );
This would return 0 as value .
Can anyone suggesst me how should i get the text of status bar and store it in a variable.This value I want to output to another file and store for other scripts.Kindly suggest how it should be done.
Other functions like sapgui_get_text etc are also giving the similar issues.Please advise.
Thanks in anticipation,
Re: Status bar text
Why dont you try like this
if(stricmp(TextStatus,"message") == 0)