Micro Focus QTP (UFT) Forums
Upload QTP script on QC - 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: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Upload QTP script on QC (/Thread-Upload-QTP-script-on-QC)



Upload QTP script on QC - CapitanFuturo - 11-18-2011

Hi All,
From few days I'm starting to use QTP

I generate a script to login at a form to my website.
I create a excel file to read the parameter as user and password
I created a action to read the parameter using the following line code:
Code:
strPath = Left(Environment.Value("TestDir"), InStr(4,Environment.Value("TestDir"),"\")) & "ParametriTest\"

I run the script with N different user and N different password and the result is pass so the script is OK

Now my problem :
I'm trying to upload the script on QC.
In folder I loaded the action and in other folder I created the script
I attached also the excel file with the parameter to use.
When run the scrit from QC I have Failed while in my local mychine from QTP I have Pass. I don't understand why I have Fail from QC

Can anyone help me? I want understand at well to use QTP and QC!


RE: Upload QTP script on QC - CapitanFuturo - 11-21-2011

Hello,
any help?