What to do after the install.

View: New views
11 Messages — Rating Filter:   Alert me  

What to do after the install.

by Steveo251k :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ok, I'm lost again.  Now that I have SAFS and RFT running, how do I create tests?  I looked at the c:\safs\sample\classics example but nothing looks right.  I don't have the directories the readme file talks about.  The .rec files look like Basic and RFT doesn't know what to do with them.  I created the directories manually and copied the files over.  I tried to run CycleDriverTest.rec script, but, of course, it is not Java so RFT does nothing.
 
I see the step files and map files in the classics example ( and other places) but I don't see how these are linked/called from what I have set up so far.
 
Am I missing an obvious piece of documentation?
 

Steve O'Shaughnessy
QA Project Lead
TransWorks
Fort Wayne IN
(260) 487-4652
sosha@...

 

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

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

by Carl Nagle :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

The next step really is to look at the runTIDTest example in C:\SAFS\Project

 

This uses SAFSDRIVER to run tests instead of RRAFS and CycleDriverTest script.  Currently it contains no GUI testing pieces--only Driver Commands and other commands not requiring an engine like RFT.

 

You will have to modify the TIDTest.INI file to include the SAFS_ENGINES section and add the entry to use RFT as the ' First' engine.  Thus, you would have to add this to the TIDTest.INI file:

 

[SAFS_ENGINES]

First=org.safs.tools.engines.SAFSROBOTJ

 

[SAFS_ROBOTJ]

AUTOLAUNCH=TRUE

DATASTORE="C:\SAFS\DatastoreJ"  (or wherever your RFT Project/Datastore is defined)

 

Then, in the .SDD files that make up the TIDTest you can start adding Driver Commands and RFT-supported Component Functions as defined in the SAFS Keyword Reference to get GUI testing done with RFT.

 

Also, look at this new doc I just pushed today that provides a little more information for App map development with RFT:

 

http://safsdev.sourceforge.net/sqabasic2000/CreateRFTAppMaps.htm

 

Carl

 

From: safsdev-developers-bounces@... [mailto:safsdev-developers-bounces@...] On Behalf Of Stephen O'Shaughnessy
Sent: Wednesday, July 09, 2008 2:49 PM
To: Developers' List for SAFS--Software Automation Framework Support
Subject: [safs-developer] What to do after the install.

 

Ok, I'm lost again.  Now that I have SAFS and RFT running, how do I create tests?  I looked at the c:\safs\sample\classics example but nothing looks right.  I don't have the directories the readme file talks about.  The .rec files look like Basic and RFT doesn't know what to do with them.  I created the directories manually and copied the files over.  I tried to run CycleDriverTest.rec script, but, of course, it is not Java so RFT does nothing.

 

I see the step files and map files in the classics example ( and other places) but I don't see how these are linked/called from what I have set up so far.

 

Am I missing an obvious piece of documentation?

 

Steve O'Shaughnessy
QA Project Lead
TransWorks
Fort Wayne IN
(260) 487-4652
sosha@...

 


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

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

by Steveo251k :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
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
 


From: safsdev-developers-bounces@... [mailto:safsdev-developers-bounces@...] On Behalf Of Carl Nagle
Sent: Wednesday, July 09, 2008 3:14 PM
To: Developers' List for SAFS--Software Automation Framework Support; Rational Robot SAFS--Software Automation Framework Support
Subject: Re: [safs-developer] What to do after the install. (RFT)

The next step really is to look at the runTIDTest example in C:\SAFS\Project

 

This uses SAFSDRIVER to run tests instead of RRAFS and CycleDriverTest script.  Currently it contains no GUI testing pieces--only Driver Commands and other commands not requiring an engine like RFT.

 

You will have to modify the TIDTest.INI file to include the SAFS_ENGINES section and add the entry to use RFT as the ' First' engine.  Thus, you would have to add this to the TIDTest.INI file:

 

[SAFS_ENGINES]

First=org.safs.tools.engines.SAFSROBOTJ

 

[SAFS_ROBOTJ]

AUTOLAUNCH=TRUE

DATASTORE="C:\SAFS\DatastoreJ"  (or wherever your RFT Project/Datastore is defined)

 

Then, in the .SDD files that make up the TIDTest you can start adding Driver Commands and RFT-supported Component Functions as defined in the SAFS Keyword Reference to get GUI testing done with RFT.

 

Also, look at this new doc I just pushed today that provides a little more information for App map development with RFT:

 

http://safsdev.sourceforge.net/sqabasic2000/CreateRFTAppMaps.htm

 

Carl

 

From: safsdev-developers-bounces@... [mailto:safsdev-developers-bounces@...] On Behalf Of Stephen O'Shaughnessy
Sent: Wednesday, July 09, 2008 2:49 PM
To: Developers' List for SAFS--Software Automation Framework Support
Subject: [safs-developer] What to do after the install.

 

Ok, I'm lost again.  Now that I have SAFS and RFT running, how do I create tests?  I looked at the c:\safs\sample\classics example but nothing looks right.  I don't have the directories the readme file talks about.  The .rec files look like Basic and RFT doesn't know what to do with them.  I created the directories manually and copied the files over.  I tried to run CycleDriverTest.rec script, but, of course, it is not Java so RFT does nothing.

 

I see the step files and map files in the classics example ( and other places) but I don't see how these are linked/called from what I have set up so far.

 

Am I missing an obvious piece of documentation?

 

Steve O'Shaughnessy
QA Project Lead
TransWorks
Fort Wayne IN
(260) 487-4652
sosha@...

 


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

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

by Carl Nagle :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

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

by Steveo251k :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Are the example table files part of the distribution?  There are no .STD or .SDD files in my c:\SAFS\Project directory.  There is TIDTest.CDD and several .MAP files.


From: safsdev-developers-bounces@... [mailto:safsdev-developers-bounces@...] On Behalf Of Carl Nagle
Sent: Thursday, July 10, 2008 4:19 PM
To: Developers' List for SAFS--Software Automation Framework Support
Subject: Re: [safs-developer] What to do after the install. (RFT)

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

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

by Carl Nagle :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Well…you're right.  The existing test only needs the .CDD file.  My bad.

 

I'm forwarding a ZIP file containing a simplified set of files to Extract into C:\SAFS\Project.

 

These instructions are included in the ZIP:

 

SimpleRFTTest_README

 

Extract files and folders of SimpleRFTTest.UNZIPME into C:\SAFS\Project.

 

Remember to select "Use Folder Names" for the Exctract so the files will

be placed in the appropriate subdirectories.

 

This simple test assumes C:\SAFS\DatastoreJ is setup properly as a working

RFT Project.  Otherwise, the DATASTORE= path in RFTTest.INI must be changed

to point to the RFT Project Datastore you are using.

 

Execute C:\SAFS\Project\runRFTTest.BAT once RFT setup is complete to verify

it is working properly for SAFS.

 

Use this test structure as an example of piecing together a SAFS test with

RFT.

 

I will be adding this ZIP file to the download area once we are happy with it.

 

Carl

 

 

From: safsdev-developers-bounces@... [mailto:safsdev-developers-bounces@...] On Behalf Of Stephen O'Shaughnessy
Sent: Friday, July 11, 2008 10:58 AM
To: Developers' List for SAFS--Software Automation Framework Support
Subject: Re: [safs-developer] What to do after the install. (RFT)

 

Are the example table files part of the distribution?  There are no .STD or .SDD files in my c:\SAFS\Project directory.  There is TIDTest.CDD and several .MAP files.

 


From: safsdev-developers-bounces@... [mailto:safsdev-developers-bounces@...] On Behalf Of Carl Nagle
Sent: Thursday, July 10, 2008 4:19 PM
To: Developers' List for SAFS--Software Automation Framework Support
Subject: Re: [safs-developer] What to do after the install. (RFT)

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

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

by Steveo251k :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Is RFT or some batch file supposed to create this directory structure or do we create it by hand.  I added a datapool to my RFT project, but I don't get this structure.  I don't even get a Datapool folder.  It looks like just a MyDatapool1.rftdp file in my root.
 
FYI, sorry for the delay in getting back to this, I was pulled away on another project.
 
Steve O


From: safsdev-developers-bounces@... [mailto:safsdev-developers-bounces@...] On Behalf Of Carl Nagle
Sent: Thursday, July 10, 2008 4:19 PM
To: Developers' List for SAFS--Software Automation Framework Support
Subject: Re: [safs-developer] What to do after the install. (RFT)

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