Do you have the LR Citrix agent loaded all the places it needs to be loaded?
The ICA is the file that defines the remote Citrix connection, right? That's the way I've gotten Citrix to work in the past. And with the ICA file (and agents, agents, agents), Citrix should do what you need to do.
*** Without too much trouble!!!! (That's LR Citrix for: Good luck, getting Citrix scripts to work can be a pain.)
I am have a very similar problem. I actually have the agent installed on the Citrix server but the ctrx_get_text function doesnt return anything during execution. It doesn't fail just return blank...Any ideas
Architecturally you are trying to Add together alpha and numeric. If you are using Citrix then use it for everything. If you are using SAPGUI, then use it for SAPGUI. If web, then....well, you get where this is headed.
The most common reason why people want to do this is because they have three independent business processes that they want to send a processed set of data through. If this is the case with you then you should consider the Virtual Table Server (VTS) or equivalent to pass data between multiple distinct virtual users.
Been a while since I've done LR & Citrix, but here goes...
The statement about needing to have the Citrix Agent software on the Citrix (Metaframe) server is correct. You really really need to have that in place to record your actions within the Citrix client session (ICA). But you are only recording at that level.
So when you open the Remote Desktop you are now at the 'blob' again and anything you do with that internal session will only get recorded at the mouse/keyboard input level. Then after that you are opening up a SAP session.
You have layer (Citrix) upon layer (Remote Desktop) upon layer (SAP inside of the Remote Desktop) to try to script through. Um... who came up with this approach?
As far as loading the Citrix Agent into the other lower layers I don't think (know exactly) it will work as the Citrix Agent is for the Metaframe server only.