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

How u execute test cases in manual testing?

2 Answers   Accenture, Infosys,


How will we compare the texts in the two word files using QTP writing the script in Descriptive Programming. Thanks

0 Answers  


I want to know what are QTP functons and what are VB script functions. What is the difference between them.When we have to use these functions.

0 Answers  


what is Business Process Testing plz explain?

7 Answers   iFlex,


I install .Net Add-Ins in my system. It installed properly. But all the objects are recognizing as window objects only. But it has to recognize as swf objects. In Record and Run setting i selected 'Record and run test on any open browser' and Record and run test on any open Windows-based application' Can any one tell what setting i have to do to recognize objects correctly as swf...? Please give some suggestions..?

1 Answers  






how can you write a script without using GUI in QTP?

5 Answers   Ordain Solutions,


What is the use of low level recording? How does it useful?

1 Answers  


DIFFERENT RUN MODE IN QTP..1-VERIFY MODE 2-UPDATE MODE 3- dEBUG MODE. My question is in whic sitution we use these modes Explain me with example

1 Answers  


Hi All, I Want To excute scripts batch without using QC .I need code for that Thanks Balaji

0 Answers  


plz can any one send me what is Automation Testing Frameworks.. Thanks in advance

1 Answers  


I'm quite new at QTP. Im doing a web-based app testing. I create something new item and a new link is created in the home page. This link is dynamic as it changes every 3 seconds. Obviously the new link is not in my Object Repo and I am trying to find a way how can I do a check or get the propery of the link I created. I can do it on keyword, but I need to do a check on expert mode, vbscript. I always get an error that is not identified whenever i try to check it (browser(b),page(p).link(newlink). Any idea?

4 Answers  


Is there is any method how to connect remote desk throw QTP if yes please answer with a example?

3 Answers   HP,


Categories