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.
Answer Posted / 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 View All Answers
I had installed QTP 9.2. It is working fine but whenever I open QTP, it is trying to reinstall the below-mentioned files again and again "QTP92PS82UPGRADE.exe", "recogn.dll". If anybody has these files, please provide those files in this site or you can send that files to my mail id also (lravi4u@yahoo.com). If you don't know where the files will be in the QTP, search in the QTP software CD or path of QTP program installed (C:\Program Files\Mercury Interactive\QuickTest Professional)
What is the basic concept of quicktest professional?
In an interview, what r the general questions asked in SQL which is realted to testing ?pls give me anwser to this question?
What is object repository in qtp?
how to know no.of mails in our g mail by using vb-script
How we can import data from database?
i can done the project with QTP in that time i can say how many members in my team size?
What are the methods of the TextStream object that are used for reading from a text file?
when will you do debug your script? and explain that process?
how to idetfy which test cases are automated?who will deside that plz tell me
what you mean by artifact,milestone...
Suppose I created one object as virtual object? That object is applicable to that test? Or all the tests?
What is the expert view?
I need to pull the data from the page which in row, column vice into excel sheet, how can it be done using QTP? eg: Name Dept xyz gdty i need the same data to be exported in excel sheet.
What we are looking for is to load properties of object dynamically as for our application the global repository will pretty huge. It will be really helpful to us if something similar to following functions of Winrunner is available in QTP. #Define descriptor auto strDesc; #set property in the descriptor Gui_desc_set_attr(strDesc,?Class?,?Edit?); --- put other properties #Add Edit box to GUI Map Gui_add(? ?,strWindowName,strEditboxName,strDesc);