11-18-2011, 04:28 PM
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:
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!
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!