Highlighted
Trusted Contributor.
Trusted Contributor.
428 views

Trueclient FF script fails with target Object not found error

Hi,

Script created using Trueclient FF protocol fails with object not found error for text verification or Textbox identfication. The script works fine in vugen and starts failing in PC.

While test is going on in PC, the same error can be seen in vugen as well. However the object is visible in interactive mode replay but fails with object not found error.

Object ID method is XPath. (also tried with Automatic and Javascript).

 

Could someone please help on this.

 

Thanks,
Lakshmi

0 Likes
3 Replies
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: Trueclient FF script fails with target Object not found error

Hello Lakshmi,

Please note that every script should be tested and debugged in Interactive mode (per the selected browser) prior to replaying it in Load mode.
If the TruClient browser is changed after the script was created, always reopen the script in Develop mode and replay it several times.
Load mode should be tested only after the script has been run properly in Interactive mode.

 

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
Trusted Contributor.
Trusted Contributor.

Re: Trueclient FF script fails with target Object not found error

Hi Daniela,

 Thanks for replying.

Please note that I have replayed script successfully in interactive mode for multiple times prior to  Load mode testing and Performance center testing.

However the object not found issue occured in performance center and to verify the same, I have tested the script in vugen in interactive mode simultaneously.

Thanks,
Lakshmi

 

0 Likes
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: Trueclient FF script fails with target Object not found error

Hello,

Which version of LoadRunner are you using?

Please try to resize the browser window in interactive mode to around 1024x768 and replay the script in interactive mode. If the problem reprodsuces the issue is most likely related to the screen resolution. When running the script from PC the Vuser runs under services windows session which has smaller screen resolution. If the script runs fine after reducing the window size the issue is different. In that case see this post to understand how to further debug it.

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.