How to record Java application in QTP 8.2?

Questions by umangkapoor   answers by umangkapoor

Editorial / Best Answer

Answered by: santosh

  • Jun 28th, 2006


1)First install java-addin along with QTP.

2)Set the reqired properties for objects to identify the objects in Tools..>Object identification(Mandatory and assistive properties)

3)Test--->Click Record-->Select javaoption.or click F3.

The script will come as..

Javawindow("").JavaInternalframe("").Javalist("").Select""

Showing Answers 1 - 3 of 3 Answers

santosh

  • Jun 28th, 2006
 

1)First install java-addin along with QTP.

2)Set the reqired properties for objects to identify the objects in Tools..>Object identification(Mandatory and assistive properties)

3)Test--->Click Record-->Select javaoption.or click F3.

The script will come as..

Javawindow("").JavaInternalframe("").Javalist("").Select""

Hi Santosh,

In Object Identification, there are two Properties to be added-1)Mandatory 2) Assistive.

First of all we cannot add the same properties in both. They must be different.

I have added all the properties to Mandatory. But its a bit of confusion that to whom i should assign the properties.

Still it is not recording the Java application. There are tabs, check boxes, buttons in the application , which are not recorded! in QTP

The other way is if i click on Low level recording then it records all the things. Which i think is not a rite way.

Please guide!

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions