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.
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.