<rss version="2.0" xmlns:a10="http://www.w3.org/2005/Atom"><channel><title>Inflectra Customer Forums: File not found error for global functions (Thread)</title><description> Hi,     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: &#xD;
eval(g_helper.Include("\"C:\\Rapise\\Tests\\globalFunctions\\globalFunctions.js\""));&#xD;
&#xD;
    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?     Cheers,  Amanda                   </description><language>en-US</language><copyright>(C) Copyright 2006-2026 Inflectra Corporation.</copyright><managingEditor>support@inflectra.com</managingEditor><category domain="http://www.dmoz.org">/Computers/Software/Project_Management/</category><category domain="http://www.dmoz.org">/Computers/Software/Quality_Assurance/</category><generator>KronoDesk</generator><a10:contributor><a10:email>support@inflectra.com</a10:email></a10:contributor><a10:id>http://www.inflectra.com/kronodesk/forums/threads</a10:id><ttl>120</ttl><link>/Support/Forum/rapise/issues-questions/902.aspx</link><item><guid isPermaLink="false">threadId=902</guid><author>Judith Brown (judith.brown@countdown.co.nz)</author><category domain="http://www.inflectra.com/kronodesk/thread/tag">global functions</category><title>File not found error for global functions</title><description> Hi,     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: &#xD;
eval(g_helper.Include("\"C:\\Rapise\\Tests\\globalFunctions\\globalFunctions.js\""));&#xD;
&#xD;
    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?     Cheers,  Amanda                   </description><pubDate>Tue, 13 May 2014 03:02:20 -0400</pubDate><a10:updated>2014-05-13T21:06:13-04:00</a10:updated><link>/Support/Forum/rapise/issues-questions/902.aspx</link></item><item><guid isPermaLink="false">messageId=1652</guid><author>Inflectra Sarah (donotreply6@kronodesk.net)</author><title>&#xD;
Hi Amanda&#xD;
&#xD;
    Have you looked at the UsingInclude sample that is included with Rapise, it has s</title><description>&#xD;
Hi Amanda&#xD;
&#xD;
    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:  https://www.inflectra.com/Support/KnowledgeBase/KB19.aspx      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.     Regards  Sarah </description><pubDate>Tue, 13 May 2014 16:19:35 -0400</pubDate><a10:updated>2014-05-13T16:19:35-04:00</a10:updated><link>/Support/Forum/rapise/issues-questions/902.aspx#reply1652</link></item><item><guid isPermaLink="false">messageId=1653</guid><author>Judith Brown (judith.brown@countdown.co.nz)</author><title>&#xD;
Thanks Sarah, I'll give that a go.&#xD;
&#xD;
</title><description>&#xD;
Thanks Sarah, I'll give that a go.&#xD;
&#xD;
</description><pubDate>Tue, 13 May 2014 21:06:13 -0400</pubDate><a10:updated>2014-05-13T21:06:13-04:00</a10:updated><link>/Support/Forum/rapise/issues-questions/902.aspx#reply1653</link></item></channel></rss>