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
How do you know the location Id of an object if you know its index id?
What are the different properties of an web object
Can we create user defined functions in qtp?
How to capture all the data of a webtable, weblist and combolist using QTP?
How many types of actions are there in quicktest professional?
How to use output values in qtp ?
What VBScript operators, functions, and statements do you use in QuickTest Professional?
Step 3&4 are repeated until an the object in recognised uniquely.
What are the Disadvantages of shared object repository?
What are the things(properties, and other details) will be recorded while recording an object using normal recording?
Can any one tell me about "Mapping Repository Parameter Values" and why we use it....??How to use it???Please, tell the preconditions also...........???? Thanks in Advance
Hi, I am using 2 excel sheet.First excel sheet works fine with the script, if it opens the 2nd excel sheet,it works fine,but after finish all the rows it is giving the following error in the following line. InValid Procedure call or argument Line (178): "Browser("name:="&result,"application version:=internet explorer 7").Page ("title:=bgt.*", "index:=0").WebList ("name:=SearchType","html id:=Select1","location:=0").Select SearchType1". I have seen a web article says that,If we use any vbscript friendly name it may gives the above error-Invalid procedure call or argument not sure,Am I using any VBScript frienlyName? in the above line? [but the same line is perfecly working for first Excel ] It is little urgent. Any Help Thanks you
What is method name to compare two XML files.
What are the steps involved in recovery scenario wizard?
What is the use of sendkeys and what are send keys