Active Topics Memberlist Calendar Search Help | |
Register Login |
One Stop Testing Forum : Types Of Software Testing @ OneStopTesting : Functional Testing @ OneStopTesting |
Topic: Identifying java objects using RFT |
|
Author | Message |
shailendra11
Newbie Joined: 10Feb2009 Location: India Online Status: Offline Posts: 1 |
Topic: Identifying java objects using RFT Posted: 10Feb2009 at 2:38am |
Hi all,
I am using RFT for a java application testing. This application is invoked by running a .bat file. In the applicaion config setting if I add this application as a .bat application then the RFT is not identifying the objects. Please provide me the solution if anyone have faces this kind of problem.
Thanks and Regards,
|
|
Shailendra
Post Resume: Click here to Upload your Resume & Apply for Jobs |
|
IP Logged | |
cprasenjit26
Senior Member Joined: 14May2009 Location: India Online Status: Offline Posts: 151 |
Posted: 15May2009 at 5:06am |
RFT uses Java and VB.NET as its scripting languages. Verification points in RFT can be created during recording using . Another important feature of RFT is object map. Understanding object map and how it. RFT comes with a regular expression evaluator tool to help you identify regular expressions you need.
|
|
IP Logged | |
gmontaltog
Newbie Joined: 05Aug2009 Location: Italy Online Status: Offline Posts: 1 |
Posted: 05Aug2009 at 1:40am |
I use RFT to test a custmized eclipse+CDT IDE, and it actually starts from a .bat file with no issues.
this is what you need to do...
(1)
- menu "Configure->Configure application for testing";
- in the "Configure application for testing" dialog click in the "Add" button and set the wizard's fields as follows:
kind of application: Executable or Batch file
Select executable....: <path to your .bat file>
it will create an "Application" entry in the "Configure application for testing" dialog.
- take care that "Working dir" and "Path" both point to the same directory where the .bat is located, that should be the same path where the java application is.
(2)
- menu "Configure->Enable Environments for testing"; - in the "Enable Environments for testing" dialog enable the Java Environment that you are going to use to run your application.
if you are testing an Eclipse-based app, go in the "Eclipse Platforms" tab and fill the "Path" in order to make it point to the executable directory (that should be the same of the .bat file) and then click on "Enable".
please note that, for recognizing an eclipse application, RFT will look for a file named "startup.jar" located in that path: since it is not used any more by recent eclipse versions, you may fool it by creating a file (even an empty text file will do) and then renaming it "startup.jar" ;-)
that's all, hope it works for you too!
Edited by gmontaltog - 05Aug2009 at 1:40am |
|
IP Logged | |
Forum Jump |
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
© Vyom Technosoft Pvt. Ltd. All Rights Reserved.