Highlighted
Absent Member.
Absent Member.
374 views

LR Bug - Click on Link does not work wiht parameter

Jump to solution

We are using LR 12.53. We have a true client script. And we want to use the step "click" on a link, an d the link comes from a parameter. There is a bug the we cant use parameter.

We get allways the "Click on Desktops link ** failed - target object was not found. Reason: JavaScript Exception Occurred: TC is not defined"

This is only with a step "Click". In other steps it works fine. What is the problem?

 

 

Tags (2)
0 Likes
1 Solution

Accepted Solutions
Highlighted
Absent Member.
Absent Member.

Re: LR Bug - Click on Link does not work wiht parameter

Jump to solution

Hi,

thanks for the response. I tried everything, the solution was to delete the "click" step and add the Step completly new. However, both steps were completly the same but only the new one was working.

regards.

View solution in original post

0 Likes
2 Replies
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: LR Bug - Click on Link does not work wiht parameter

Jump to solution

Hi Kay,

If you use TC.getParam in the context of object identification section you should use ArgsContext prefix before it.

Example: ArgsContext.TC.getParam("myParam");

Regards,

Shlomi

0 Likes
Highlighted
Absent Member.
Absent Member.

Re: LR Bug - Click on Link does not work wiht parameter

Jump to solution

Hi,

thanks for the response. I tried everything, the solution was to delete the "click" step and add the Step completly new. However, both steps were completly the same but only the new one was working.

regards.

View solution in original post

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.