Action.c(42): Error: Failed to resize window to 33x180 (523 Views)
Reply
Visitor
miperzel
Posts: 5
Registered: ‎03-03-2014
Message 1 of 8 (523 Views)

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

hello All

 

I am using one script to check if SAP systems are up (just opens sap logon window, log in and run transaction), but few dais ago on about 4 sap systems this script started showing this error: Action.c(42): Error: Failed to resize window to 33x180

 

(it is mistery to me but one of the four started working again)


do you know what might be wrong ?

loadrunner vs.: 11.03

 

in advance, thank you.

HP Expert
WalkieTalkie
Posts: 33
Registered: ‎09-01-2011
Message 2 of 8 (500 Views)

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

Hi,

 

You can try to see the snapshot on error.

Pay attention to the window size and compare it to the one expected.

 

LR R&D.

LR R&D
Visitor
miperzel
Posts: 5
Registered: ‎03-03-2014
Message 3 of 8 (493 Views)

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

Hi,

Please elaborate, I do not realy know how to use Vugen.

HP Expert
WalkieTalkie
Posts: 33
Registered: ‎09-01-2011
Message 4 of 8 (458 Views)

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

In that case, please

:

1) open the vugen

2) open the script there

3) replay the script

4) if the error is there, go to thumbnails view

5) compare the thumbnails from the recording and your last replay

6) pay attention to the window size differences

LR R&D
Visitor
miperzel
Posts: 5
Registered: ‎03-03-2014
Message 5 of 8 (447 Views)

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

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,

HP Expert
WalkieTalkie
Posts: 33
Registered: ‎09-01-2011
Message 6 of 8 (441 Views)

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

Hi,

 

Please try to open the SAPGUI client, connect to the problematic system, and resize the window (manually, without the LR being involved).

If you won't be able to do that, it means there is indeed a problem with your SAPGUI client seetings or with SAP server.

LR R&D
Visitor
miperzel
Posts: 5
Registered: ‎03-03-2014
Message 7 of 8 (433 Views)

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

Hi,

I can resize SAP GUI window manually without problem (full screen, minimize, resize works fine)

Visitor
miperzel
Posts: 5
Registered: ‎03-03-2014
Message 8 of 8 (410 Views)

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

Hi,

I want to only update, that one of the systems where I have resize window problem started working again.
I have absolutely no idea why. Nothing was done by me in script nor by my colleagues on SAP.

if it will continue like this, maybe till the end of this month last two problem will solve by themselves... (joke :) )

Michal

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.