cancel
Showing results for 
Search instead for 
Did you mean: 

Facing error "Can not open file //.......file path in local system...//Tunnel.log, Access is denied"

SOLVED
Highlighted
Regular Contributor

Facing error "Can not open file //.......file path in local system...//Tunnel.log, Access is denied"

Facing error "Can not open file //.......file path in local system...//Tunnel.log, Access is denied"

I am trying to excute my scripts in CrossBrowserTesting.

But as is execute facing this... also unfortunately I had deleted that tunnel.log file unfortunately.

but when I create tunnel again then it's created but not able to access that tunnel.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Hero

Re: Facing error "Can not open file //.......file path in local system...//Tunnel.log, Access i

And you're getting the error on the machine using TestComplete?

Then, yes, you need to work with your local administrator.  File/Folder permissions include an option about "creating" or "writing" or "modifying" files.  If you somehow deleted the file, it's possible that the user that you're running TestComplete as does not have the permissions to access the file that's there... this is a permissions issue you need to resolve with your admin.


Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available

View solution in original post

8 REPLIES 8
Highlighted
Community Hero

Re: Facing error "Can not open file //.......file path in local system...//Tunnel.log, Access i

I'm guessing that the user that you're logged in under does not have write access to the file path and, therefore, cannot create or access the Tunnel.log file.  Is this happening on the remote machine in CrossBrowserTesting or is it happening on your local machine?


Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
Highlighted
Regular Contributor

Re: Facing error "Can not open file //.......file path in local system...//Tunnel.log, Access i

Hi @tristaanogre ,

I am working on remote machine.

How can i fix this... previously before deleting tunnel file

it was working fine.

Highlighted
Community Hero

Re: Facing error "Can not open file //.......file path in local system...//Tunnel.log, Access i

OK... so you're not actually running the test in TestComplete, you have a window open in CrossBrowserTesting and are executing tests there?

 

Then perhaps you should post this question on the CrossBrowserTesting forum.


Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
Highlighted
Regular Contributor

Re: Facing error "Can not open file //.......file path in local system...//Tunnel.log, Access i

@tristaanogre ,

Sorry but I did'nt get what you said.

I mean ,

I am taking remote access

then open test Complete tool

Go to crossbrowsertesting

Add there, app.crossbrowsertesting login credentials and ad testItem  set OS and browser

and executing the same

=> previusly before deleteing tunnel file I was not finding this problem then why this time.

Should I have to communicate with admin for read and write permission of the file.

Highlighted
Community Hero

Re: Facing error "Can not open file //.......file path in local system...//Tunnel.log, Access i

And you're getting the error on the machine using TestComplete?

Then, yes, you need to work with your local administrator.  File/Folder permissions include an option about "creating" or "writing" or "modifying" files.  If you somehow deleted the file, it's possible that the user that you're running TestComplete as does not have the permissions to access the file that's there... this is a permissions issue you need to resolve with your admin.


Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available

View solution in original post

Highlighted
Regular Contributor

Re: Facing error "Can not open file //.......file path in local system...//Tunnel.log, Access i

Hi @tristaanogre ,

Thanks for your reply.

I will communicate with admin and will share regarding the same.

 

But also have a problem apart this... previously before deleting tunnel file my script execute and fail in early of execution, It's failing on below line of a function

Set page = Sys.Browser("*").Page("*")

while when i execute the same script normally without crossbrowsertesting. It's working fine

Community Hero

Re: Facing error "Can not open file //.......file path in local system...//Tunnel.log, Access i

Please open a new topic for additional questions... it helps other users to find answers easier.


Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
Highlighted
Community Manager

Re: Facing error "Can not open file //.......file path in local system...//Tunnel.log, Access i

Hi @kaiiii , any updates from the admins? Meanwhile, I'll mark tristaanogre's reply as a solution for now.



Sonya Mihaljova
Community and Education Specialist

 Join SmartBear Connect next April in Boston to meet with software development, API and testing experts from around the world! Get your ticket today!