Script after connection

avatar

Hi all,

This might be an easy one, but I havnt been able to figure it out yet;
I have a connection setup that logs into a Citrix/Xenapp webpage that contains a button that i want to press after logging in to the page the button is on.

How do I archieve this? I did a view source of the webpage and discovered the ID of the button, do I need to write some VB or Javascript, and where would I add this script in the connection?

Thanks for your time.

All Comments (9)

avatar

What type of connection have you created? You have the submit button if you use the embedded IE. The other solution would be to execute a macro ({Tab}{Enter}) in the After connection event

David Hervieux

avatar

After I login via a webbrowser with user/pass and login button (contact type is Web Browser), i get to the screen as attached to this forumpost. Using TAB ENTER does not press the big button on the screen, I was wondering if there is another way to push the button via scripting.

Loginscreen.jpg

avatar

Hi,
Could you do a view source to see the html and verify if the big button is reachable

David Hervieux

avatar

Found the buttonID in the viewsource of the page, is there a way to script a click of this button?

Thanks for your time!

avatar

Could you send me the view source of this page?

David Hervieux

avatar

Hi,

Did you have time yet to check the source of the page and check the possibility of scripting a button push?

Thanks!

avatar

Hi,
I did but I was unable to find a way of scripting it. It seems to be dynamically generated. However I'm thinking about something. What happen if you right click on the link and you copy the url? Is it always the same url?

David Hervieux

avatar

Hi,

Tried your suggestion, and logged on multiple times, the URL of the button is ALMOST the same. It ends with a LaunchId=xxxxxxxx, and this final part changes even every time I check the URL in the properties of the button, even without logging on again.

avatar

This would have be so easy if that final part would have stay the same. I'm not sure what we can do for now

David Hervieux