Highlighted
Absent Member.. Absent Member..
Absent Member..
336 views

Simulate Hitting Carriage Return in Truclient

Hi folks...

 

This is probably really simple solution, but unfortuantely I cant figure it out!

I'm recording in Truclient Fifrefox, and the UI I want to test has a search bar where we input a part number and hit return. This obviously works in normal browser but within the recording, the hitting 'Return' button isnt captured.

I've tried turning up the script level, adding  generaic functions from Toolbox, but cant get it to simulate this.

Have any of ye seen this in the past or know how to amend this in Truclient??


If there was a 'Search' button on the UI, there'd be no problem 🙂

 

Thanks

Sean

0 Likes
1 Reply
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: Simulate Hitting Carriage Return in Truclient

Hi,

 

1. Add a Generic Object Action step from the toolbox.

2. Choose the relevant UI object. 

3. Change the action in the step from Click to Press Key (under the Step section of the step)

4.  Now expand the Arguments section and select Enter in the Key Name field.

 

Hope it helps

 

Shlomi

 

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.