[Webtest] [webtest][JIRA] Closed: (WT-49) The setFileField not taking file path
Paul King (JIRA)
webtest@lists.canoo.com
Mon, 19 Dec 2005 23:35:13 +0100 (CET)
[ http://webtest-community.canoo.com/jira/browse/WT-49?page=history ]
Paul King closed WT-49:
-----------------------
Resolution: Invalid
Should work as long as you put the appropriate prefix in front of your filename, e.g. file:/// or file:/ (latter might not work on unix systems).
> 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