Quantcast
Channel: LoadRunner Practitioners Forum topics
Viewing all articles
Browse latest Browse all 3978

Vugen Web Script Issue - Trying to capture file name value in Alchemy Web 8.2

$
0
0

Trying to record a nav/search web script for Captaris (OpenText) Alchemy 8.2 document management software. After searching for content you can click on an item and it opens in the Alchemy Internal Viewer.

 

The request looks like this:

 

***********************************

web_url("3BDD02E4BD671801EBE4C46FD117F461.RSF",

 

"URL=http://alchemy/alchemyweb/IMRWViewer/Doc/3BDD02E4BD671801EBE4C46FD117F461.RSF",

"Resource=1",

"Referer=",

"Snapshot=t84.inf",

LAST);

***********************************

 

The problem is I cannot find it any response and the first time I see it in replay log or code gen log is after it was parsed in the request.

 

I have tried with IE6 and IE8 and with both Vugen 9.52 and 11.52 in all recording modes and several different protocols, toggling all sorts of recording options and all with the same result.

 

I did try using Firefox 25 which is not functional enough for me to record the entire script but I was able to record a piece that in Vugen looks like a clue:

 

************************************

<SCRIPT src='Scripts/FirstVwr.js'></SCRIPT><SCRIPT>parent.HidePrintButton( );

GenerateObjectContent(1, "Components/FirstVwr.CAB#Version=8,2,103,415", "%40%40%3cRSF%3e%3cSRC%3e*%23IMRWViewer%2fDoc%2f

 

256BEB7E1FED48C0EE5193F33A86A10E.RSF

 

%3c%2fSRC%3e%3cFormat%3e4%3c%2fFormat%3e%3cTitle%3e55PHF117599%3c%2fTitle%3e%3cDocFileName%3e000APLINSTV1.pdf%3c%2fDocFileName%3e%3cOptions%3e%3cDisableScan%2f%3e%3c%2fOptions%3e%3cDocUpdateUrl%3eUpdateDocument.ashx%3fParms%3dQUFSUCAvIEFCVSBOUSBEb2N1bWVudHMgMQ%253d%253d%257cMjk%253d%3c%2fDocUpdateUrl%3e%3cCanAnnotate%2f%3e%3cIsReadOnly%2f%3e%3c%2fRSF%3e");</SCRIPT>

 

It appears that the JavaScript “FirstVwr.js'” calls the requested RSF file in a function somehow that must not be visible to Vugen when recorded in IE. I imagine it’s something client side or async back to the server.  Since I can’t record the full script in Firefox, how can I go about capturing this value? I don’t want to get a small list of file names from the app owner and parameterize it, I’d rather be able to properly return the value so the script will be more robust and realistic.  I tried searching through several of the HP Vugen PDFs but nothing there seem to fit.

 

Any thoughts on how to tackle the problem?  Below is the request that first calls the FirstVwr.js file.

 

 

********************************************************

web_url("FirstVwr.js",

"URL=http://alchemy/alchemyweb/Scripts/FirstVwr.js",

"Resource=1",

"RecContentType=application/x-javascript",

"Referer=http://alchemy/alchemyweb/WaitPage.aspx?Parms=UEkgLyBBQlUgRXhwaXJlZCBBdXRvIFBvbGljaWVzIDI%3d%7cNDI4MTY2MA%3d%3d%7cMDFQSCAxMDM5MzE%3d%7cQ2xvc2U%3d%7c",

"Snapshot=t82.inf",

LAST);

 

web_url("ViewItemPageContents.aspx",

"URL=http://alchemy/alchemyweb/ViewItemPageContents.aspx?Parms=UEkgLyBBQlUgRXhwaXJlZCBBdXRvIFBvbGljaWVzIDI%3d%7cNDI4MTY2MA%3d%3d%7cMDFQSCAxMDM5MzE%3d%7cQ2xvc2U%3d%7c&key=x1058A0A75DE623FC386C16CA2BF7EDC7",

"Resource=0",

"RecContentType=text/html",

"Referer=http://alchemy/alchemyweb/ViewItemPage.aspx?Parms%3DUEkgLyBBQlUgRXhwaXJlZCBBdXRvIFBvbGljaWVzIDI%3D%7CNDI4MTY2MA%3D%3D%7CMDFQSCAxMDM5MzE%3D%7CQ2xvc2U%3D%7C",

"Snapshot=t83.inf",

"Mode=HTTP",

LAST);

*********************************************************


Viewing all articles
Browse latest Browse all 3978

Trending Articles



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