Environment Variable question. QTP doesn't recognize env-variables

Joe Boyle atla38 at dsl.pipex.com
Fri Dec 16 12:44:00 CST 2005


Do you have embedded spaces in the path specified in your variable settings
?

 

If you go into qtp, and type '$set spsloc2' do you see the correct path
displayed ?

 

do

 

Regards, Joe. 

  _____  

From: Syed Shahul Hameed Mustaffa [mailto:sshahulgm at gmail.com] 
Sent: 16 December 2005 18:06
To: PowerHouse List
Cc: Joe Boyle
Subject: Environment Variable question. QTP doesn't recongize env-variables

 

Dear Gurus,

 

Quick Intro: I've migrated a PH/MPEIX application to AXIANT4GL/PH4GL/WINDOWS
(Thin Client).
 

I have  qtps to load the MPEIX/PH data into the WINDOWS/PH.

I used environment variable to identify the location of the data files.

 

eg 

set process nolimit


request ONE

acc *$PSLOC2\alupdd  alias PS_ALPRO_UPDATE_D  

                                                              
BUILD SMALL_TABLES_1 

;-------------------------------------

It was working well before. Last time I used these qtps to load my data.

Suddenly these qtps are not working. Because PH doesn't recognize the
environment variable.

I checked the environment variable. It is there and ok.

I recreated it and restarted the server too.

Still PH doesn't recognize the environment variable.

I tried changing the environment variable to another env-variable I'm using
in other qtps. PH not recognizing this variable too.

I had to hardcode a path in all my data load qtps to make it work. (That
proves, there is nothing wrong with the data files).

 

What could have gone wrong?

I'm using environment variables widely in my application.

If PH stops recognizing variables like this, it will be disaster. 

 

Can anyone please help me in this? I'll appreciate.

 

Regards,

SYED

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sowder.com/pipermail/powerh-l/attachments/20051216/8d236bdb/attachment.html


More information about the powerh-l mailing list