Micro Focus QTP (UFT) Forums
System Utility Syntax - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: System Utility Syntax (/Thread-System-Utility-Syntax)



System Utility Syntax - chita26 - 07-25-2014

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.


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.


RE: System Utility Syntax - vinod123 - 11-04-2014

SystemUtil.Run "C:\Program Files\Internet Explorer\IEXPLORE.EXE","","H:\","open" in this H suggest drive location instead of that use the line which i have mentioned

SystemUtil.Run "iexplore.exe", "URL of the web application"