Skip Navigation LinksForums > Rapise Forums > Rapise Issues & Questions > File not found error for ...

File not found error for global functions RSS Feed

Monday, May 12, 2014

I want to set up global functions for my tests that will sit in their own folder, so that only one file will be updated for global functions.  The help file says to use global.getFullPath for the user created functions, but this is in the test case folder, which means we'd need to copy the global functions into each test case folder.

I've created a folder and added my functions file to this folder, and tried to call it like so:

However, this just returns an error saying file not found.   

Is there something else I need to do in order to access files in another location?


2 Replies
Sarah T.Sarah T.
re: Judith Brown on Monday, May 12, 2014
Tuesday, May 13, 2014
Hi Amanda

Have you looked at the UsingInclude sample that is included with Rapise, it has some examples of how to include files. Also the KB article:

You may want to try: eval(g_helper.Include('C:\\Rapise\\Tests\\globalFunctions\\globalFunctions.js'));

If that doesn't work, I'd recommend opening a help desk ticket.

Judith BrownJudith Brown
re: Sarah T. on Tuesday, May 13, 2014
Tuesday, May 13, 2014
Thanks Sarah, I'll give that a go.
  • Started: 5/12/2014
  • Last Reply: 5/13/2014
  • Replies: 2
  • Views: 558
Powered by KronoDesk v1.1.0.15 | © Copyright Inflectra Corporation 2011-2017 | Licensed to Inflectra Corporation.