Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to add all the Objects to OR in a single attempt for any Java Screen?
#1
Not Solved Question 
Hi Guys,

I am working on a Java Swing Application and want to add all the objects to OR for a particular screen in a single attempt either manually or in script.

I need this bcoz I have to change few properties of all these objects at run time. Sad

Is it possible in QTP or shall I use any other way?
Reply
#2
Not Solved
Yes you can add all objects in a single attempt. while adding the objects you can choose the option for it. 'select all test objects'. more details in QTP help - Adding and Deleting Test Objects in an Object Reporistory.

Reply
#3
Not Solved
I tried this :Object > Add Objects or click the Add Objects toolbar button and selected "All Object type" option in Define Object Filter.But only parent objects of a perticular object are being added not all the objects on screen.
Reply
#4
Not Solved
I am not very sure, check if QTP - Java add-in works with java swing objects, is it different?

Reply
#5
Not Solved
Saket,

Java add-in works perfectly with Java Swing Objects.

Can we do it by scripting? Like identifying every object from the application and adding it to OR?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  active screen in uft one koslender 0 1,450 12-01-2020, 05:45 PM
Last Post: koslender
  UFT unable to identify Java app objects consistently lester 1 2,075 07-12-2018, 08:28 PM
Last Post: Ankur
  UFT not recogniziing Java Objects/ Elements YogeshCallappa 0 2,286 11-08-2016, 02:43 PM
Last Post: YogeshCallappa
  Find a value in SAPGUILabel Screen jimgral 0 3,176 07-14-2016, 01:46 PM
Last Post: jimgral
Shy Java Swing application objects identification issue kavithaminu 2 3,526 07-22-2015, 02:07 AM
Last Post: uftuser18

Forum Jump:


Users browsing this thread: 1 Guest(s)