Highlighted
Trusted Contributor.. Trusted Contributor..
Trusted Contributor..
222 views

How to initialize/restore the Firefox profiles in a TrueClient FF script without using VUGen?

Jump to solution

I'm using LR 12.02 with scripts based on TruClient Firefox protocol. These scripts are stored in a version control system (not ALM). Ideally the Firefox profiles should not be commited to the SCM. But then we need a way to recreate the omitted FF profiles in the case of restoring scripts from VCS.

 

Now I'm wondering how to recreate the Firefox profiles (interactive and load mode) within a TCFF script without running "Develop Script" in VUGen. Maybe something like copying "%APPDATA%\Roaming\Hewlett-Packard\LoadRunner\Web2\LrWeb2MasterProfile\" and adding a "cert8.db" providing our self-signed certificates.

 

/Thomas

0 Likes
1 Solution

Accepted Solutions
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: How to initialize/restore the Firefox profiles in a TrueClient FF script without using VUGen?

Jump to solution

Hi Thomas,

 

Create a sample script, run it in both interactive mode in the brwser and  load mode in VuGen.

 

Script against an application that requires a client side certificate  and if possible another application that requires server side exception as well. These two examples will cover more cases of files that needs to be copied later on.

 

Capture the files created under the various profile folders in the script.

 

You can either copy them later on from %appdata% folder as you noted below or if not available there from %product root dir%\dat\LrWeb2MasterProfile

 

Please note that TruClient script requires keeping default.xml file and library files in source control system on top of the other regular files you keep in other protocols.

 

Please mention your profile handling when opening support tickets. It is not the usual or expected usage and HP personal should be aware of it when helping you

 

Good Luck

Shlomi

 

View solution in original post

3 Replies
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: How to initialize/restore the Firefox profiles in a TrueClient FF script without using VUGen?

Jump to solution

Hello Thomas,

 

Thank you for your post.

 

In order to better understanding your issue, I appreciate if you could elaborate a little bit more your request.

 

Thank you.

Regards,

Daniela Gómez Alvarado
Customer Support Engineer

If you find that this or any other post resolves your issue, please be sure to mark it as an accepted solution.
If you are satisfied with anyone’s response please remember to give them a KUDOS by clicking on the STAR at the bottom left of the post and show your appreciation.
0 Likes
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: How to initialize/restore the Firefox profiles in a TrueClient FF script without using VUGen?

Jump to solution

Hi Thomas,

 

Create a sample script, run it in both interactive mode in the brwser and  load mode in VuGen.

 

Script against an application that requires a client side certificate  and if possible another application that requires server side exception as well. These two examples will cover more cases of files that needs to be copied later on.

 

Capture the files created under the various profile folders in the script.

 

You can either copy them later on from %appdata% folder as you noted below or if not available there from %product root dir%\dat\LrWeb2MasterProfile

 

Please note that TruClient script requires keeping default.xml file and library files in source control system on top of the other regular files you keep in other protocols.

 

Please mention your profile handling when opening support tickets. It is not the usual or expected usage and HP personal should be aware of it when helping you

 

Good Luck

Shlomi

 

View solution in original post

Highlighted
Trusted Contributor.. Trusted Contributor..
Trusted Contributor..

Re: How to initialize/restore the Firefox profiles in a TrueClient FF script without using VUGen?

Jump to solution

Hi Shlomi,

 

instead putting "cert8.db" into "LrWeb2MasterProfile" I ended up with the approach described here - copying "cert8.db" into every script in "profiles\interactive\" and "profiles\load\user_state\". All the missing files are copied by LR from "LrWeb2MasterProfile".

 

Thanks

/Thomas

0 Likes
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.