Quantcast
Channel: All LoadRunner Practitioners Forum posts
Viewing all articles
Browse latest Browse all 12134

Re: Action.c(42): Error: Failed to resize window to 33x180

$
0
0

Hi,

unfortunately I was not the one who recorded script so I am not sure what you mean by "compare the thumbnails from the recording and your last replay", but here is what I did based on your suggestion.

I run script where everything is fine with  "run step by step" (F10),
and saw that window is opened in full screen and than its size is changed by:

    sapgui_window_resize("180",
        "33",
        BEGIN_OPTIONAL,
        END_OPTIONAL);

into smaller window.

than I run script (basicaly it is the same script but:) for different SAP system where I have an error for resize window.
this script fail every time on this line:

    sapgui_window_resize("180",
        "33",
        BEGIN_OPTIONAL,
        END_OPTIONAL);

and script is terminated with fail.

when I comment this line so it is not used in script. script with no error runs OK as it was, but resize do not take place.
when same line is commented in script for sap system where was resize window error. script skips resize and continues, but there is new error:

Action.c(52): Error: Logon failed. Verify that the username and password that you provided are valid

but problem is that I can connect with this user manualy and password is alright too.

could be something wrong with SAP,  that there is resize window error or this other error I mentioned ?
before this script was alright and there was no problem. nothink was changet in script nor in BPM.

thank you,


Viewing all articles
Browse latest Browse all 12134

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>