Highlighted
Absent Member.. Absent Member..
Absent Member..
265 views

LGs opening TruClient IN SMaller window that Recorded or set in RunTime setting

We have recorded at least 2 scripts for 2 different apps, that record and replay headless fine. When we try them on the Controller, we start getting Object not found errors. Looking at the snapshots, we see that the TrueClient instance running on the LG is much smaller then the TrueClient instance it was recorded in. Since these apps have dynamic resizing, this cause the interface to change and various components to not appear. We have tried dictating the size in the RunTime Setting, but no luck. IS there a way to make sure the LG playback is the same size as the recorded?

0 Likes
3 Replies
Highlighted
Super Contributor.
Super Contributor.

Re: LGs opening TruClient IN SMaller window that Recorded or set in RunTime setting

Russ,
Personally, I would recommend that you replay the script a couple of times, and use Object Identification Improvement a few times. If absolutely necessary and as a last resort, you could try changing the ID method of the problematic objects to either XPATH or Descriptors.

Also, how are the Agents on the Load Generators running as? Are you running them as a Service or as a Process? I would suggest that you change them to Process if they are running as a Service (with a user logged in, of course) and run a small test to see how it behaves.

HP Support

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

Re: LGs opening TruClient IN SMaller window that Recorded or set in RunTime setting

Daniel,

We have run the scripts multiple times throught the controller on the LG. I can try changing the ID method. Thought I'm not sure it will work. The effect we are seeing is recording on a full screen monitor, yet LG playback looks like it is the size of an iPhone screen, with everything correspondingly collapsed.

Unfortunately, security policy does not allow us to run as a process and have all users log in, therefore, it is as a service we must run. We might be able to run a test tos ee if it is different, though.

 

0 Likes
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: LGs opening TruClient IN SMaller window that Recorded or set in RunTime setting

Hi,

What is the LoadRunner version?

Which browser do you use?

When the browser runs in the services session it is limited by the desktop size to a smaller screen resolution (Windows limitation which cannot be worked around in Windows configuration)

In 12.53 you can use control the window size for both TruClient IE and Firefox even when running the agent as service

 

User defined window size for services sessionUser defined window size for services session

Regards,

Shlomi

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.