I am automating a Java application. This application is
developed using SWT. I am not able to get the GUI object.
Even i tried with Java add-in.
In tutorial it states SWT is not supported any idea.
Anybody worked in such appln.

My question is whether it is possible to record the GUI
object of SWT appln. how it is possible.



I am automating a Java application. This application is developed using SWT. I am not able to get ..

Answer / siggiklar

Recording for SWT is not supported.
since SWT version 3.3 you need a privat patch from Mercury
to run your tests. Without the patch windows are not
recognized as Java windows.
To Create a TestCase you must identify the Objects you need
and put it in the object repository. Then you can select
objects you need and add parameters to them.
This is really bad.
I had to work in a project with this behaviour :-(
Better give something like Squish from Froglogic a try.
Squish has the possibility to use several scripting languages.
Initial recording is no problem and the best it is much cheaper.
http://www.froglogic.com/

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

what is flag=0 in qtp tool.. i am strugglin to use flag function , exactly when it is used , any real time expert pls explain clearly?

1 Answers  


Which MS Excel formulas are possible to use in the DataTable? I am searching a formula for searching a field in the datatable

3 Answers   HP,


interviwer asks what is data table? my ans is Data table is an internal Excel file of QTP...intervier not happy with this also? can u post any other answer?

3 Answers   Accenture,


How to Analyze the Checpoint results by Table and DB Checkpoints?

1 Answers  


Some time when i wanna learn the object i face issue like i am not able learn the object in proper manner... eg:for text bo on web page it should learn as webedit but some times it reads as winobject:internetexpoler-server, because of this i have to uninstall the qtp and re-install it again when i do this it reads the object perfectly.....plz suggest the soln

0 Answers  


What is the difference between keyword driven frameworkd and Modularisation framework?(Chandana)

5 Answers   Wipro,


how to get childobject from .net application. i tried but its showing child object count zero. but window has child objects.the following script i written... pls help me how to get. set parent=SwfWindow("winodw name") CheckObjectDescription parent, SwfButton Public Function CheckObjectDescription(parent, oDesc) Set oDesc = Description.Create() oDesc("micClass:").Value ="Swfbutton" Set children = parent.ChildObjects(oDesc) cntObj=children.count msgbox(cntObj) End function

1 Answers  


what are the disadvantages in QTP 9.2?

1 Answers  


How many actions we can write in a test?

7 Answers   TCS,


How to swap two numbers by using parameter passing method byref in a fucntion and return the result to outside of the function?

1 Answers   CTS, IBM, London,


How can we import into Excel "Details" ,"Result" ,"Time" parameters from within a Results Report which is generated after a Run error when a script is executed in QTP? Refer E.g below Status Functionality Description RunDate Fail Login User should be able to Login 12/3/2007 StartTime EndTime Details* 1:31:58 PM 1:32:29 PM (this one i want)

0 Answers  


For which type of project the iterative model is suitable?

0 Answers  


Categories