« Return to Thread: What to do after the install.

Re: What to do after the install. (RFT)

by Carl Nagle :: Rate this Message:

Reply to Author | View in Thread

Some parts of this message have been removed. Learn more about Nabble's security policy.

Stephen,

 

c:\SAFS\Project  is the root directory of what we might call a SAFS Project.  A valid SAFS Project contains the directory structure of:

 

  <root> \Datapool\

                                       \Bench

                                       \Dif

                                       \Logs

                                      \Runtime  (may be optional)

                                      \Test

 

You should see this directory structure under C:\SAFS\Project

If you 'runTIDTest.bat' from that directory everything should work because it is a valid SAFS Project.

 

The test table files (.CDD, .STD, .SDD) are in the Project\Datapool  directory.

 

I don't know if those (very old) Java samples you tried are going to work with SAFS and RFT.  They were originally designed MANY years ago for Rational Robot.  I recommend you first try to use the C:\SAFS\Project project first.

 

I also do not know if the Java validation is going to work using a remote UNC path.  Not sure if I ever tried that.

 

Something else I've seen is that some distributions of SAFS don't seem to have the following file:

 

C:\SAFS\DatastoreJ\resources\DatastoreDefinition.rftdsd

 

This file is critical when pointing to an RFT datastore.  The easiest thing to do is to have RFT create a new Datastore or Project which will then provide that file.  I've also got mine below:

 

DatastoreDefinition.rftdsd:

<?xml version="1.0" encoding="UTF-8"?><DatastoreDefinition L=".DatastoreDefinition"><ProjectName/><ProjectPath/><ScriptSourceUID/><DefaultMapName/><MajorVersion>2</MajorVersion><MinorVersion>2</MinorVersion><ProjectSubType>java</ProjectSubType><Name>datastorej</Name></DatastoreDefinition>

 

If you attempt to copy our DatastoreJ directory instead of creating a new RFT Project you must add this file into the DatastoreJ\resources directory.

 

Carl

 

From: Stephen O'Shaughnessy
Sent: Thursday, July 10, 2008 1:55 PM
To: Developers' List for SAFS--Software Automation Framework Support
Subject: Re: [safs-developer] What to do after the install. (RFT)

 

I think I am starting to figure this all out, but I still feel pretty stupid because I still am not quite getting it.

 

I copied runTIDTest.bat, TIDTest.ini, and safstid.ini to my project root.  I modified them to point to my project root and to the Datastore folder I created there.  I don't see any .SDD files in the C:\safs\Project path so I copied the JavaApp2.MAP, JavaTestSuite.STD, and JLaunchTestSuite.SDD from the c:\safs\Samples\Java\Datapool  to my project root\Datapool.  When I double click runTIDTest.bat (from my project root) I get the following error:


S:\QA_Group\Testing_Framework\Example_2008-07-10>java -Dsafs.project.config="\\fs1\Public\QA_Group\Testing_Framework\Example_2008-07-10" org.safs.tools.drivers.SAFSDRIVER

 

Insufficient configuration information available:
Cannot resolve valid Project RootDir:

 

null

 

S:\QA_Group\Testing_Framework\Example_2008-07-10>pause

 

I thought it might be the UNC naming for my project root so I changed ProjectRoot in the tidtest.ini file to use a drive letter, and still had the same error.  What makes a valid project root?

 

Thanks,

 

Steve O

 


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
safsdev-developers mailing list
safsdev-developers@...
https://lists.sourceforge.net/lists/listinfo/safsdev-developers

 « Return to Thread: What to do after the install.

LightInTheBox - Buy quality products at wholesale price!