[Webtest] [webtest][JIRA] Created: (WT-49) The setFileField not taking file path

Vijay (JIRA) webtest@lists.canoo.com
Thu, 9 Jun 2005 17:28:43 +0200 (CEST)


The setFileField not taking file path
-------------------------------------

         Key: WT-49
         URL: http://webtest-community.canoo.com/jira/browse/WT-49
     Project: WebTest
        Type: Bug
 Environment: Windows XP
    Reporter: Vijay 


Hi, 

My test script uses the tag setFileField to set the field value.
But while running the scripts, it doesn't takes the whole file path and instead takes only the File name.
The relevent part is 

<setFileField stepid="set file path" fileName="${path}" name="input.filePath" />  

I've set the variable path in webTest.properties as 

path=C:\\vijay\\InputCSVData456.csv

On the console its getting echoed as:-
C:\vijay\InputCSVData456.csv

But after it invokes my application in the logs it shows path as
InputCSVData456.csv(file name only) only.

Due to this I am not able to create a file object in my application.\
I am using Windows XP.

Any help would be welcome.

Regards,
Vijay



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://webtest-community.canoo.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira