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 qtp automation framework, what is the purpose of the framework and which folders included in this framework pls tell me with brief description

2 Answers   PSI Data Systems,


in how many ways you perform batchtesting?

2 Answers   Sapient,


IS standard check point is very important than the other check points in QTP? If so why?

4 Answers  


Can you do more than just capture and playback?

2 Answers  


I Have web table shown below ----------------------------------------| | orcut | GMAIL | NAUKRI | |----------|---------|-------------------| |HOT MAIL | MONSTER | VISIT FACEBOOK | |----------|---------|-------------------| |SKYPE ACC | IRCTC | GOOGLE | --------------------------------------- Here i have 2 question friends.. 1.i want to chick the link "VISIT FACEBOOK" is there or not if it's there i want to click the link 2.here how to find the web table row or column count ... don't write the excel or data table script here friends ..consider that it's a WEB TABLE

3 Answers   HCL,






Explain about Table and DB Checkpoints?

1 Answers   Crea,


please give me the code for doing retesting of gmail login page using functions so the function has to give the value

0 Answers  


What will be the output of the statements below? On error Resume Next Sum 100/0 if Sum= 0 Then msgbox "Pass" else msgbox "Fail" End If

3 Answers   IIT,


write a test script in QTP to test the text that written in an image(i.e jpg)of a web page???

0 Answers  


What is the architecture of framework

0 Answers  


How do I generate Test Results window using descriptive method ( run time ) after my test execution process? Please have a look of my below code. ========================================================= Dim qtApp Dim qtTest Dim qtResultsOpt Set qtApp = CreateObject("QuickTest.Application") qtApp.Launch qtApp.Visible = True qtApp.Options.Run.CaptureForTestResults = "Always" qtApp.Options.Run.RunMode = "Fast" qtApp.Options.Run.ViewResults = True qtApp.Open "C:\Automation\Example", True Set qtTest = qtApp.Test qtTest.Settings.Run.OnError = "NextStep" Set qtResultsOpt = CreateObject ("QuickTest.RunResultsOptions") qtResultsOpt.ResultsLocation = "C:\Automation\Example\Res1" qtTest.Run qtResultsOpt MsgBox qtTest.LastRunResults.Status qtTest.Close Set qtResultsOpt = Nothing Set qtTest = Nothing Set qtApp = Nothing ========================================================== This code is working fine, but Test Result window is not displaying after execution. Anybody can please help me regading the same. Thanks Akshaya Madali Capgemini India Pvt Ltd 9823213538

0 Answers   Cap Gemini,


Hi all, what is the latest version of QTP?

20 Answers   CTS,


Categories