Highlighted
Absent Member.
Absent Member.
752 views

IF Statement in Vugen for HTTP/HTML

Hi ive created a script in HTTP/HTML and sometimes when i run it because we only have limited user ids it says the user is already logged in and opens a pop up asking if we would like to log the user off his current session? or if we would like to exit logon? ..

I need to write an IF statement so if this occurs the script will click yes log user off

Can anyone tell me how to do this please?
0 Likes
1 Reply
Highlighted
Absent Member.. Absent Member..
Absent Member..

Check out "Example 2" for the web_reg_find command in the function reference. You would swap out the lr_output_message command with your log off command if it matches the text displayed in the dialog.

Alan
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.