Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » TPTP unable to list shared network Drives
TPTP unable to list shared network Drives [message #133527] Tue, 29 July 2008 14:04 Go to next message
saran is currently offline saranFriend
Messages: 23
Registered: July 2009
Junior Member
Hi All,

We have converted a junit test into tptp j unit test.

After the conversion we are not able to access the shared network drive
which we are able to access it using j unit.

String url = "H:\\hello.txt";

We tried the various other options like as follows

Still it fails

String url = "file:/H:/hello.txt";
String url = "\\\\cnwanx1_users_server\\users\\E11611\\hello.txt";

Is there is a seperate syntax that we need to use in TPTP to access files
from shared network Drive?

We are using Testing Tools Project , 4.3.200.v20070956

Please help with this.

Thanks
Saran
Re: TPTP unable to list shared network Drives [message #133540 is a reply to message #133527] Tue, 29 July 2008 17:05 Go to previous message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 970
Registered: July 2009
Senior Member
Hi Saran,
Your JUnit test code should not have to change after converted to a TPTP
JUnit test. That said, relative paths may need to be changed when the TPTP
JUnit test is executed on a remote machine. Are you launching this locally
or remotely? Is there an exception?

Paul
"Saran" <saravanan.subramanian@cmegroup.com> wrote in message
news:6574b545d8dc46587eb7b8172063b3ea$1@www.eclipse.org...
> Hi All,
>
> We have converted a junit test into tptp j unit test.
>
> After the conversion we are not able to access the shared network drive
> which we are able to access it using j unit.
>
> String url = "H:\\hello.txt";
>
> We tried the various other options like as follows
>
> Still it fails
>
> String url = "file:/H:/hello.txt";
> String url = "\\\\cnwanx1_users_server\\users\\E11611\\hello.txt";
>
> Is there is a seperate syntax that we need to use in TPTP to access files
> from shared network Drive?
>
> We are using Testing Tools Project , 4.3.200.v20070956
>
> Please help with this.
>
> Thanks
> Saran
>
Previous Topic:AGR deployments and Ant
Next Topic:Freeze when click on "monitor" to configure run profile
Goto Forum:
  


Current Time: Mon Dec 22 07:18:39 GMT 2014

Powered by FUDForum. Page generated in 0.02112 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software