waldenner / robotframework

Automatically exported from code.google.com/p/robotframework
Apache License 2.0
0 stars 0 forks source link

Way to import a Javascript file #538

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have a few javascript functions written and i need to use these functions
by using "execute javascript" in RIDE. But the problem is I'm not able add
this file as a library nor a resource to the Suite. It would be great if
there is a way where we can import .js files too

Original issue reported on code.google.com by aish...@gmail.com on 21 Apr 2010 at 1:06

GoogleCodeExporter commented 9 years ago
This is a wrong tracker for RIDE related issues, but it's pretty unlikely that
something like this would be added to RIDE anyway. You can use Get File keyword 
from
OpearetingSystem library to read your js files from the disk or possibly create 
a
variable file that constructs variables containing the js functions. If you 
need more
help, please send a mail to robotframework-users mailing list and explain your
situation bit more thoroughly. 

Original comment by pekka.klarck on 21 Apr 2010 at 1:43