Back To Normal

Subscribe To Our E-Mail Newsletter

Wednesday, March 23, 2011

Re arrange the script Files in RFT

Before re arranging the scripts take the backup of all the scripts files and open the project in Eclipse. Now Change the project mode  from Functional Project to Java (In Eclipse find the option in right most corner)

Here user can drag and drop the script and suite files to new location and also move the resources file (map file,.rftdef and datapool ) to new location of resources folder.It will per mentally remove the moved files from the source location.

Advantages of drag and drop , will help to associate all helper class. No need to map any path in helper class.

Problem : Resource files are not mapped with script File because the script file path got changed.

         Open the “*.rftdef” xml from resource path and edit or change new location of the following files.
1.Script file 2. DataPool 3. Map file. After saving the file,Now try to acess the map and datapool from the script file. If you didnt change the path, it will throw as "File got corrupted or Not available."


Problem 2: when try to run the script file , it will throw error as ”Not able to read the script definition file.
           In helper class change the method input values. End of the helper class file user can find the “setScriptName” as function and change the path of the script Name in that method.
Read More


560 Free Online Courses

Top 200 universities launched 500 free online courses.  Please find the list here .