The online community for software testing & quality assurance professionals
 
 
Calendar   Today's Topics
Sponsors:




Lost Password?

Home
BetaSoft
Blogs
Jobs
Training
News
Links
Downloads



Testing Tools >> HP / Mercury LoadRunner

Pages: 1
raghuramkk
Member


Reged: 08/16/09
Posts: 94
Loc: Bangalore, Karnataka, India
LR Script for Citrix ICA+SAPGUI+SAPWeb
      #718354 - 10/18/12 10:51 PM

Hello All,

LR Version: 11.0
Citrix Client Version: 12.1.1.1

I need to record a script where i need to open a citrix ICA client to connect to a remote desktop and then execute the transaction on SAP GUI and SAP Portal.

This script needs to be run from the local and not from the remote desktop.

I am trying to build the scrip using the protocols
1. Citrix ICA
2. SAPGUI
3. SAP Web

as Web is not compatible with SAP GUI.

When i record the script using these three protocols none of the events being performed inside Citrix are getting recorded.

Any help is appreciated as this is the first time I am working with Citrix Protocol.

--------------------
--------------------------------------------------
K. Raghu Ram
Automation & Performance Test Engineer
--------------------------------------------------

Edited by raghuramkk (10/18/12 11:42 PM)


Post Extras: Print Post   Remind Me!   Notify Moderator  
ptrussell_ncModerator
Super Member


Reged: 01/17/06
Posts: 1636
Loc: Charlotte, NC
Re: LR Script for Citrix ICA+SAPGUI+SAPWeb [Re: raghuramkk]
      #718396 - 10/19/12 07:52 AM

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

--------------------
Unless you are writing a compiler, strtok is NOT the answer.
See: http://www.sqaforums.com/showflat.php?Cat=0&Number=541641&Main=541641#542222

QAF is still an exercise in self-sufficiency! (Thank JB!)


Post Extras: Print Post   Remind Me!   Notify Moderator  
raghuramkk
Member


Reged: 08/16/09
Posts: 94
Loc: Bangalore, Karnataka, India
Re: LR Script for Citrix ICA+SAPGUI+SAPWeb [Re: ptrussell_nc]
      #718409 - 10/19/12 10:30 AM

Hi Prussel,

Thanks a lot for a quick response.

I am not sure about any of these questions you asked. Where all do i need to have the LR citrix agent installed.

I just have the citrix client installed on my system.

Any kind of documentation, suggestions would be helpful as i am completely confused now and out of my depth here.

I read the LR help file and all it did was confuse me some more.

--------------------
--------------------------------------------------
K. Raghu Ram
Automation & Performance Test Engineer
--------------------------------------------------


Post Extras: Print Post   Remind Me!   Notify Moderator  
ptrussell_ncModerator
Super Member


Reged: 01/17/06
Posts: 1636
Loc: Charlotte, NC
Re: LR Script for Citrix ICA+SAPGUI+SAPWeb [Re: raghuramkk]
      #718416 - 10/19/12 11:27 AM

(This is my understanding / guestimate.)

You need the LR Citrix agent on the host that you are trying to Citrix into.

If you are going to get Citrix to work, the easiest way is to get the ICA for the Citrix host. The Citrix guys should be able to supply one to you.

WARNING: Citrix can be a real pain to get the script working correctly once you have successfully recorded something.

Honestly, I think you nailed it when you said you were over your head. I think you may be in trouble on this project.

--------------------
Unless you are writing a compiler, strtok is NOT the answer.
See: http://www.sqaforums.com/showflat.php?Cat=0&Number=541641&Main=541641#542222

QAF is still an exercise in self-sufficiency! (Thank JB!)


Post Extras: Print Post   Remind Me!   Notify Moderator  
Marcus_G
Newbie


Reged: 02/06/07
Posts: 13
Re: LR Script for Citrix ICA+SAPGUI+SAPWeb [Re: ptrussell_nc]
      #719141 - 11/01/12 09:39 AM


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


Post Extras: Print Post   Remind Me!   Notify Moderator  
ptrussell_ncModerator
Super Member


Reged: 01/17/06
Posts: 1636
Loc: Charlotte, NC
Re: LR Script for Citrix ICA+SAPGUI+SAPWeb [Re: Marcus_G]
      #719143 - 11/01/12 10:05 AM

I never got ctrx_get_text to work. We just worked around it. (Take everything I say with a grain of salt as I haven't done Citrix in a few years.)

--------------------
Unless you are writing a compiler, strtok is NOT the answer.
See: http://www.sqaforums.com/showflat.php?Cat=0&Number=541641&Main=541641#542222

QAF is still an exercise in self-sufficiency! (Thank JB!)


Post Extras: Print Post   Remind Me!   Notify Moderator  
James PulleyModerator
Moderator


Reged: 08/01/01
Posts: 5551
Loc: NC
Re: LR Script for Citrix ICA+SAPGUI+SAPWeb [Re: ptrussell_nc]
      #719154 - 11/01/12 01:40 PM

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.


Post Extras: Print Post   Remind Me!   Notify Moderator  
jimhazen
Super Member


Reged: 01/31/02
Posts: 2003
Loc: Highlands Ranch, CO, USA
Re: LR Script for Citrix ICA+SAPGUI+SAPWeb [Re: James Pulley]
      #719198 - 11/02/12 07:40 AM

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.

I do not envy you this task.

JP, correct me if wrong.

--------------------
Jim
-------------------------------------------
For all the general stuff to know about QA/Test go here http://www.softwareqatest.com/


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 40 anonymous users are browsing this forum.

Moderator:  AJ, James Pulley, ptrussell_nc, JimHowell1970 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 4872

Rate this topic

Jump to

Contact Us | Privacy statement SQAForums

Powered by UBB.threads™ 6.5.5