Rational Functional Tester & SAFS

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

Rational Functional Tester & SAFS

by Fabio Andrés :: Rate this Message:

| View Threaded | Show Only this Message

Hi every one!

I am making inroads in RFT and I want to use SAFS and RRAFS, but I have the next questions, I hope you may help me to solve it.

1. Where can I find information about SAFS and RRAFS instalation to RFT, or is the same (the same release files) to Rational Robot.

2. Which ones are the requirements to SAFS works correctly with RFT.

3. RFT supports Visual Basic and Java Programation languaje, which is most recommended to use SAFS?

4. In which Porgramation language is made the framework to RFT?


Thanks in advanced.

Fabio



Re: Rational Functional Tester & SAFS

by Carl Nagle :: Rate this Message:

| View Threaded | Show Only this Message

Fabio,

SAFS can work with Rational Robot, but it is a slightly different.  Primarily, when using SAFS with Robot--Robot is the test driver and SAFS provides support.  As you might know, when you use SAFS with RFT and no Robot then SAFS is the test driver controlling everything.

The SAFS you use with RFT is the same SAFS you use with Robot.

For RRAFS with Robot you must install the "rrafs engine" RRAFS Release from 2007 and the RRAFS Patch from 2009.09.18 on top of that.

http://sourceforge.net/projects/safsdev/files/

The install doc:
http://safsdev.sourceforge.net/sqabasic2000/DDEngineSetup.htm

IMPORTANT NOTES:

RRAFS for Rational Robot CANNOT use STAF V3.3.3

If you have installed STAF V3,
  you will have to uninstall it and reinstall STAF V2.

STAF V2 cannot be installed with Java 1.6
You will need Java 1.5 to install STAF V2.6.11
http://java.sun.com/javase/downloads/5u20/jre


If you have STAF V2 already installed, then when you install RRAFS you can select "No" when prompted to install STAF and SAFS--because they are already installed.

Follow the documentation path in DDEngineSetup:
http://safsdev.sourceforge.net/sqabasic2000/DDEngineSetup.htm

This does tell you have to configure RRAFS.INI to enable the use of SAFS with Robot and even use RFT with Robot through SAFS.

Carl

-----Original Message-----
From: Fabio Andrés [mailto:rockfavc@...]
Subject: [safs-rrafs] Rational Functional Tester & SAFS


Hi every one!

I am making inroads in RFT and I want to use SAFS and RRAFS, but I have the
next questions, I hope you may help me to solve it.

1. Where can I find information about SAFS and RRAFS instalation to RFT, or
is the same (the same release files) to Rational Robot.

2. Which ones are the requirements to SAFS works correctly with RFT.


Thanks in advanced.

Fabio

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
safsdev-rrafs@...
https://lists.sourceforge.net/lists/listinfo/safsdev-rrafs

Re: Rational Functional Tester & SAFS

by Fabio Andrés :: Rate this Message:

| View Threaded | Show Only this Message



Fabio,

SAFS can work with Rational Robot, but it is a slightly different.  Primarily, when using SAFS with Robot--Robot is the test driver and SAFS provides support.  As you might know, when you use SAFS with RFT and no Robot then SAFS is the test driver controlling everything.

Hi Carl, thank you for clarify this theme.
Now, the framework source code follow been in SQABasic language? or changes the language? in RFT how can I make debugging on framework libraries


Re: Rational Functional Tester & SAFS (with Rational Robot)

by Carl Nagle :: Rate this Message:

| View Threaded | Show Only this Message

Fabio,

I'm not sure I understand what you really want to do here:

"Now, the framework source code follow been in SQABasic language? or changes
the language? in RFT how can I make debugging on framework libraries?"

All the libraries supporting RRAFS for Rational Robot are in Robot's SQABasic language.  You get the sourcecode for these when you download and unzip RRAFS.  If you wish to step thru these in Debug Mode, you have to do that in Rational Robot.  You would essentially run your CycleDriverTest script (or equivalent) in Robot in Debug mode.  Anything that happens in SAFS--outside of Robot--happens in a completely independent process space unavailable to Rational Robot.

Of course, you cannot debug SAFS Java-based code in Rational Robot.

To debug SAFS framework libraries (Java) you would have to use Eclipse or RFT and launch those independent processes separately--depending on what you intend to debug.  To do anything with SAFS in debug mode you would have to be setup with the Java source in a development environment, per se.

Here are the separate processes that individually *might* be debugged:

1) Rational Robot (SQABasic)   or
   SAFSDRIVER     (Java)

2) SAFS_ROBOTJ (Java RFT engine)

3) SAFS_DRIVERCOMMANDS (Java Driver Commands Engine)

It is a bit trickier to attempt to debug running SAFS Services like SAFSVARS, SAFSMAPS, SAFSLOGS, and SAFSINPUT.

So, why don't you tell us more specifically what you really want to do.

Carl

-----Original Message-----
From: Fabio Andrés [mailto:rockfavc@...]
Subject: Re: [safs-rrafs] Rational Functional Tester & SAFS

>> SAFS can work with Rational Robot, but it is a slightly different.
>> Primarily, when using SAFS with Robot--Robot is the test driver and SAFS
>> provides support.  As you might know, when you use SAFS with RFT and no
>> Robot then SAFS is the test driver controlling everything.

Hi Carl, thank you for clarify this theme.
Now, the framework source code follow been in SQABasic language? or changes
the language? in RFT how can I make debugging on framework libraries

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing.
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
safsdev-rrafs@...
https://lists.sourceforge.net/lists/listinfo/safsdev-rrafs

Re: Rational Functional Tester & SAFS

by Fabio Andrés :: Rate this Message:

| View Threaded | Show Only this Message

Hi Carl, thank you for answer.

I really want to use SAFS and RFT, I did used SAFS with Rational Robot, I'm trying to integrate SAFS and RFT but I don't know how start this job.

I installed STAF, SAFS, RFT, I remember in Rational Robot just I need build the repository, object map, cycle, suites an steps files, there exists too an SQABasic Script from wich I call the cycles or suite files.

I want make the same but from RFT. could you share with me a tutorial, getting start handbook, or step by step, some url,  and may be I can getting initialize with this tools.
I know the cycles, suites ad steps are the same, but how should be the script that invoke all process? or for example if a need make debugging in framework librarys (stepdriver.sb, suitedriver.sbl, Listviewfunctions.sbl) can I do it?

I thanks your help

Fabio

Re: Rational Functional Tester & SAFS

by Carl Nagle :: Rate this Message:

| View Threaded | Show Only this Message

>> I really want to use SAFS and RFT, I did used SAFS with Rational Robot,
>> I'm trying to integrate SAFS and RFT but I don't know how start this job.

Review the samples provided in the SAFS\Project and SAFS\Samples.  The INI files and BAT files provided are exactly what you need to do--especially look at those INI files showing that the [SAFS_ROBOTJ] engine is being used.

>> I installed STAF, SAFS, RFT, I remember in Rational Robot just I need
>> build the repository, object map, cycle, suites an steps files, there
>> exists too an SQABasic Script from wich I call the cycles or suite files.

The INI files and BAT files you see in the samples is exactly what you have to do.  The BAT file launches SAFSDRIVER, which reads the contents of the INI files and executes the tests.

See: http://safsdev.sourceforge.net/doc/org/safs/tools/drivers/SAFSDRIVER.html

>> I want make the same but from RFT. could you share with me a tutorial,
>> getting start handbook, or step by step, some url,  and may be I can
>> getting initialize with this tools.

Setup_RobotJ with TID:
http://safsdev.sourceforge.net/sqabasic2000/SetupRobotJ.README.htm#usewithtid

SAFS Quick Start with RFT:
http://safsdev.sourceforge.net/sqabasic2000/SAFSQuickStart.htm

IBM DeveloperWorks Tutorial:
http://www.ibm.com/developerworks/rational/library/09/plainlanguagetestscriptusingsasfwithrft/index.html?S_TACT=105AGX15


>> I know the cycles, suites ad steps are the same, but how should be the
>> script that invoke all process? or for example if a need make debugging
>> in framework librarys (stepdriver.sb, suitedriver.sbl,
>> Listviewfunctions.sbl) can I do it?

As mentioned above, it is the BAT file and INI file launching SAFSDRIVER that is the equivalent of running CycleDriverTest script for Robot.  The implementation for SAFS for RFT is entirely Java-based and you do not need or use the *.SB or *.SBL files from Rational Robot.

If you want to execute the RFT code in debug mode then you have to setup an RFT developer project for SAFS.  This is a bit more complicated than simply using the JAR files and running SAFS with RFT.  This requires someone familiar with using and debugging in the Eclipse/RFT environment.
As mentioned in an earlier post, SAFS running with RFT is spread across 3 separate debuggable Java JVM processes:

  1) SAFSDRIVER JVM
  2) SAFS STAF Services JVM
  3) SAFS/RobotJ JVM (RFT)

Some loose info for setting up a development environment can be found here:
http://safsdev.sourceforge.net/sqabasic2000/SAFSDevelopment.htm


Carl


------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
safsdev-rrafs@...
https://lists.sourceforge.net/lists/listinfo/safsdev-rrafs

Re: Rational Functional Tester & SAFS

by Fabio Andrés :: Rate this Message:

| View Threaded | Show Only this Message

Hi Carl, I hope you are fine.

Thank you for your answers.

I guess,  if I want check some framework functions, I need set the environment development, or if I want build my own functions, I need this settings.

I want follow the URL that you suggested me
http://safsdev.sourceforge.net/sqabasic2000/SAFSDevelopment.htm
but I can't get the "Developer Environment Doc" file placed in the link of first Item: "Successfully populate your development environment from CVS".

I thank you for all you can do for me to get the environment development, I want to learn more about SAFS.

Thanks in advanced.

Fabio

Re: Rational Functional Tester & SAFS

by Carl Nagle :: Rate this Message:

| View Threaded | Show Only this Message

SourceForge recently revamped their documentation and removed the DocManager service.  All SAFSDEV documentation using the old DocMan service has been moved to:

http://sourceforge.net/apps/mediawiki/safsdev/index.php?title=Special:AllPages

I have updated the SAFSDevelopment doc to point to the new Developer Environment Doc using MediaWiki, but most links to other DocMan doc will still need to be fixed.  I note in the Developer Environment doc there are MANY references to both SAFSDEV and SourceForge links which are now broken because of this most recent change on SourceForge.

We will get to these as best we can.

Carl

-----Original Message-----
From: Fabio Andrés [mailto:rockfavc@...]
Sent: Friday, December 11, 2009 7:28 PM
To: safsdev-rrafs@...
Subject: Re: [safs-rrafs] Rational Functional Tester & SAFS


Hi Carl, I hope you are fine.

Thank you for your answers.

I guess,  if I want check some framework functions, I need set the
environment development, or if I want build my own functions, I need this
settings.

I want follow the URL that you suggested me
http://safsdev.sourceforge.net/sqabasic2000/SAFSDevelopment.htm
but I can't get the "Developer Environment Doc" file placed in the link of
first Item: "Successfully populate your development environment from CVS".

I thank you for all you can do for me to get the environment development, I
want to learn more about SAFS.

Thanks in advanced.

Fabio


------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
safsdev-rrafs@...
https://lists.sourceforge.net/lists/listinfo/safsdev-rrafs