What does H stand for in this syntax??
SystemUtil.Run "C:\Program Files\Internet Explorer\IEXPLORE.EXE","","H:\","open"
as I know there are 4 items related to this syntax.
( FileName, Parameters, Path, Operation )
What does H stand here? Is this a local drive like C,D etc. I saw this line written in QTP , I ran through citirx its working but when I try in locally in my system its not putting the URL or opening the requied page, just opening a blank page.
Do you have an H drive mapped on your local machine, if not that's why it's failing.
This is the directory you are nominating as your default directory e.g. C:\Temp you can remove it as its optional
Post Thanks / Like - 1 Thanks, 0 Likes, 0 Dislikes
Originally Posted by mwsrosso
Thank you Mark.
The scenario is like that. I am reading the existing developed script in a project.
I am running the script using citrix desktop and working as expected ( that H taking the Oracle Instance URL and opening up)
but when I try in my local machine its not opening as QTP does not understand what is H.
I checked in citrix desktop nowhere H drive is there, also checked if network map there.
Thefoere what could be the option. anyone has used this way to lauch applicaiton?
Yeah, that is a network drive of some sort most likely. Certainly is optional in that statement itself. But I have to wonder if there is a reason the author put it there. I would sign on to the citrix server and see what H: is mapped to. May need to map it on your local as well for other scripts.
Well actually I think I would just fix that to remove the drive letter and provide an absolute network path so this isn't a problem for someone else in the future.
Yes, even that was my first question, a new resouce could not follow quickly about H mapping. I checedk about the H drive mappling in citirx but , its not mapped to anywhere. But the URL its picking from the resouce folder (from QC) -> Enviroment XML file , where the Oracle instance URL has given. This environment values are mapped to QTP script at the beginning. so wondering why this H has been used. What could be the option to sort out. Even today looking some other blog, the same syntax they have used.