Active TopicsActive Topics  Display List of Forum MembersMemberlist  CalendarCalendar  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin


 One Stop Testing ForumTypes Of Software Testing @ OneStopTestingFunctional Testing @ OneStopTesting

Message Icon Topic: Identifying java objects using RFT

Post Reply Post New Topic
Author Message
shailendra11
Newbie
Newbie
Avatar

Joined: 10Feb2009
Location: India
Online Status: Offline
Posts: 1
Quote shailendra11 Replybullet 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 IP Logged
cprasenjit26
Senior Member
Senior Member
Avatar

Joined: 14May2009
Location: India
Online Status: Offline
Posts: 151
Quote cprasenjit26 Replybullet 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 IP Logged
gmontaltog
Newbie
Newbie
Avatar

Joined: 05Aug2009
Location: Italy
Online Status: Offline
Posts: 1
Quote gmontaltog Replybullet 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 IP Logged
Post Reply Post New Topic
Printable version Printable version

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



This page was generated in 0.078 seconds.
Vyom is an ISO 9001:2000 Certified Organization

© Vyom Technosoft Pvt. Ltd. All Rights Reserved.

Privacy Policy | Terms and Conditions
Job Interview Questions | Placement Papers | Free SMS | Freshers Jobs | MBA Forum | Learn SAP | Web Hosting