Highlighted
Super Contributor.. Super Contributor..
Super Contributor..
641 views

Ajax TruClient doesn't preview PDF in load mode

Hi,

I'm using VuGen 12.02.

My application has an export functionality in PDF.

I successfully managed to make the PDF open as a new tab in interactive mode, so I can use a "Verify" step to check the PDF's content.

But I cannot make this work in load mode. When I add the "PaintWindowsInLoad=1" in the default.cfg file, I see that the PDF is no more opened in a tab, but instead firefox asks the user what to do with the file (either open of download it).

So my question is: how can I make the load mode works as the interactive (preview the PDF in the browser) ?

More information: I know that the setting is in the mimeType.rdf file. But I cannot copy the file from profiles/interactive directory to the profiles/load/user_profile directory of the scenario, because the profiles/load/user_profile is cleaned at each execution! So the second question is: from where the content of profiles/load/user_profile is copied from?

Many thanks,

Sylvain.

1 Reply
Highlighted
New Member.

Re: Ajax TruClient doesn't preview PDF in load mode

Try to copy mineTypes.rdf from the script profile folder to %LR_PATH%\bin\firefox\browser\defaults\profile\, Create the folder if it doesn't exist.

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.