Using SQuirrel SQL for database testing in Rational Functional Tester

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

Using SQuirrel SQL for database testing in Rational Functional Tester

by Shoaib Patel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Daniel,

I have read your 2 series article "Extending IBM Rational Functional
Tester with Open Source Tools: Part 1: Using SQuirreL SQL for Database
Testing" on developerWorks. I want to automate SQuirrel SQL for doing
data base testing.
However SQuirrel SQL's objects are not getting recorded in RFT. When I
am trying to record some action nothing is happening. Only it shows
StartApp() in the script and nothing else.
However in above mentioned article it is said that it should work.
What could be the possibility of me getting failure?
I have attached the script for your reference, you can see that
connection part is not recorded.
Please help me in this regard.

I have installed Java 1.5
RFT version is 7.0.1.2
SQuirrel SQL version 2.6.6

Waiting for a solution from you.

Thanks,
Shoaib.


import resources.Script1Helper;
import com.rational.test.ft.*;
import com.rational.test.ft.object.interfaces.*;
import com.rational.test.ft.object.interfaces.SAP.*;
import com.rational.test.ft.object.interfaces.siebel.*;
import com.rational.test.ft.object.interfaces.flex.*;
import com.rational.test.ft.script.*;
import com.rational.test.ft.value.*;
import com.rational.test.ft.vp.*;

/**
 * Description   : Functional Test Script
 * @author spatel1dd
 */
public class Script1 extends Script1Helper
{
        /**
         * Script Name   : <b>Script1</b>
         * Generated     : <b>Jul 4, 2008 3:40:32 PM</b>
         * Description   : Functional Test Script
         * Original Host : WinNT Version 5.1  Build 2600 (S)
         *
         * @since  2008/07/04
         * @author spatel1dd
         */
        public void testMain(Object[] args)
        {
                startApp("squirrel-sql");
        }
}

-------------------------------------------------------------------------
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
_______________________________________________
Squirrel-sql-users mailing list
Squirrel-sql-users@...
https://lists.sourceforge.net/lists/listinfo/squirrel-sql-users

Re: Using SQuirrel SQL for database testing in Rational Functional Tester

by Daniel K Gouveia :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi --

It sounds as though you need configure your Java environments within RFT.  You can do this off of the configure menu option.  I would recommend allowing RFT to look for all of the Java environments on your desktop.  When it returns the list of environments that it found, simply select them all and click on the Enable button.  I believe that should fix your issue.

Best Regards,

Dan

*******************************************
Daniel Gouveia
Sales Engineer
Techline Americas, Rational Software Brand
IBM Software Group
Office - (978) 241-1003
Fax - (845) 491-5564
Email - dgouveia@...

Hey! Check out my blog -
The Software Quality Picture



"Shoaib Patel" <patel.shoaib@...>

07/04/2008 06:16 AM

To
Daniel K Gouveia/Lexington/IBM@IBMUS
cc
Rebecca J Bence/Cupertino/IBM@IBMUS, squirrel-sql-users@...
Subject
Using SQuirrel SQL for database testing in Rational Functional Tester





Hi Daniel,

I have read your 2 series article "Extending IBM Rational Functional
Tester with Open Source Tools: Part 1: Using SQuirreL SQL for Database
Testing" on developerWorks. I want to automate SQuirrel SQL for doing
data base testing.
However SQuirrel SQL's objects are not getting recorded in RFT. When I
am trying to record some action nothing is happening. Only it shows
StartApp() in the script and nothing else.
However in above mentioned article it is said that it should work.
What could be the possibility of me getting failure?
I have attached the script for your reference, you can see that
connection part is not recorded.
Please help me in this regard.

I have installed Java 1.5
RFT version is 7.0.1.2
SQuirrel SQL version 2.6.6

Waiting for a solution from you.

Thanks,
Shoaib.



import resources.Script1Helper;
import com.rational.test.ft.*;
import com.rational.test.ft.object.interfaces.*;
import com.rational.test.ft.object.interfaces.SAP.*;
import com.rational.test.ft.object.interfaces.siebel.*;
import com.rational.test.ft.object.interfaces.flex.*;
import com.rational.test.ft.script.*;
import com.rational.test.ft.value.*;
import com.rational.test.ft.vp.*;

/**
 * Description   : Functional Test Script
 * @author spatel1dd
 */
public class Script1 extends Script1Helper
{
        /**
         * Script Name   : <b>Script1</b>
         * Generated     : <b>Jul 4, 2008 3:40:32 PM</b>
         * Description   : Functional Test Script
         * Original Host : WinNT Version 5.1  Build 2600 (S)
         *
         * @since  2008/07/04
         * @author spatel1dd
         */
        public void testMain(Object[] args)
        {
                startApp("squirrel-sql");
        }
}
-------------------------------------------------------------------------
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
_______________________________________________
Squirrel-sql-users mailing list
Squirrel-sql-users@...
https://lists.sourceforge.net/lists/listinfo/squirrel-sql-users
LightInTheBox - Buy quality products at wholesale price