SAFS- Migrating from Robot to RFT

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

SAFS- Migrating from Robot to RFT

by Ravenclaw :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi All,
I wanted to know, If one have implemented RRAFS in Robot and want to switch to RFT(SAFS). Is it possible?
Please give a link of any such document available.

Thanks,
Raven.

Re: SAFS- Migrating from Robot to RFT

by Carl Nagle :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yes, migrating from using Robot to using RFT is not only possible but has been done repeatedly here at SAS.

Generally, you have to install RFT and make sure you have the latest available version of SAFS (including Overlay) to get the most bang for your buck.

In general, you make the SAFS TID run the test instead of Robot ensuring that you have configured the TID to use RFT.  After doing the Overlay install samples of using the TID with RFT will be present in your C:\SAFS\Project directory.

Generally, folks here simply run the existing test using the TID and RFT and see where it might fail and fix those items.

Common tweaks to a working SAFS test:

1) LaunchApplication:
   a) The SAFS TID generally needs the full path to the app to run unless the app
      will be found internally via the System PATH.
   b) You must specify the executable, not a file type like .TXT or something that
      Windows would lookup the appropriate EXE.  For example, you can't simply
      Specify "-jar MyAppsJar".  You must specify "java -jar MyAppsJar".

2) Some App Map recognition strings may need to be tweaked to work with RFT.
   Most will work unmodified, though.

3) Item indices may need to be adjusted.  SAFS and RFT usually try to make
   Everything 1-based.  RRAFS allowed different technologies and controls
   To be either 1-based or 0-based.  So some items "Selected" by index may
   Have to have those indices changed to 1-based indices.

You would use the STAF Process Container tool to explore your apps.  You should be able to run this from C:\SAFS\Project]runSTAFProcessContainer.bat once everything is configured correctly.

As I have stated elsewhere, a person "dedicated" to migrating a test from Robot to RFT could probably do this in a week for fairly complex suites of tests.  This assumes the SAFS and RFT environments are all properly setup and working prior to the attempt to migrate.

Carl

-----Original Message-----
From: Ravenclaw [mailto:shoaib_patel@...]
Sent: Monday, June 22, 2009 5:13 AM
To: safsdev-developers@...
Subject: [safs-developer] SAFS- Migrating from Robot to RFT


Hi All,
I wanted to know, If one have implemented RRAFS in Robot and want to switch
to RFT(SAFS). Is it possible?
Please give a link of any such document available.

Thanks,
Raven.
--


------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
safsdev-developers mailing list
safsdev-developers@...
https://lists.sourceforge.net/lists/listinfo/safsdev-developers