vuser_init.c(21): Error: Failed to find SapGui component by ID
"sbar"15 --
The above error you will get if the SAPGUI logon pad does not contain
the required connection portal (Update your SAPLOGON.ini file),
Add or modify required connection details and try.
Regards,
Rams
On Dec 14, 11:33 pm, "James Pulley" <jpul...@itestsolutions.com>
wrote:
> For more options, visit this group athttp://groups.google.com/group/LR-LoadRunner?hl=en- Hide quoted text -
>
> - Show quoted text -
the solution was to disable "Extended logging" in the run time
settings; although it is not my best solution as i would like to track
and include checkpoints in the scripts, but thats the only solution
that we tried and worked. not sure why?!
Thanks
> > For more options, visit this group athttp://groups.google.com/group/LR-LoadRunner?hl=en-Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
Adding checkpoints for each step to see if the step actually was
successful and responded with something that you expect to see is very
important if you want to have a script that reports errors properly,
as I'm sure you are aware.
You could just use code to selectively re-enable extended logging for
the step you wish to examine only.
As an example, here's a bit of code from my
hopefully-soon-to-be-announced (yay!) open source loadrunner
libraries:
---
int _logLevel = LR_MSG_CLASS_DISABLE_LOG; // previous loglevel for use
with log toggle functions.
// .. more code
void y_log_set_extended()
{
lr_log_message("Log level set to EXTENDED.\n");
// Save the previous loglevel.
_logLevel = lr_get_debug_message();
lr_set_debug_message(LR_MSG_CLASS_DISABLE_LOG, LR_SWITCH_OFF);
lr_set_debug_message(
LR_MSG_CLASS_EXTENDED_LOG | LR_MSG_CLASS_RESULT_DATA |
LR_MSG_CLASS_PARAMETERS | LR_MSG_CLASS_FULL_TRACE,
LR_SWITCH_ON);
}
// Restore the log level to the old state.
y_log_restore()
{
/*
if(_logLevel == LR_MSG_CLASS_DISABLE_LOG)
{
lr_log_message("Warning: Restoring the previous loglevel will
turn logging OFF.\n");
// If the current loglevel is off as well nobody can hear this scream ..
}
*/
lr_set_debug_message(_logLevel, LR_SWITCH_ON);
lr_log_message("Log level restored to the previous state.\n");
// Of course if the previous state was "OFF" the user will never
see this either ;-)
}
---
Or alternatively, do things the hard way and look at the HTML using
the View Source option in your browser.
Regards,
Floris
---
'What does it mean to say that one is 48% slower? That's like saying
that a squirrel is 48% juicier than an orange - maybe it's true, but
anybody who puts the two in a blender to compare them is kind of
sick.'
--- Linus Torvalds
Oh, and btw: That bit of code is licensed under the GPL v2. So behave :P
Hmn, how did I miss that little detail?
Ah right, because it's such a basic thing for me that I don't expect
others to do that either ;-)