you can still fetch a value from JavaObject which in case you think as 
JavaTable. there are two ways you can tackle this problem. 

1. Talk to your developer and try to understand why it is happening. 
Sometime there are using third party API to create objects therefore Java 
Add-in does not recognize those custom objects. 
2. You can use .object (DOM) methods to fetch values from that JavaObject. 
So you need to do JavaObject.object.here you need to apply native 
properties. 
If you google it, you will find details about it but I would suggest to 
talk to your developer and try to understand. They can also provide to 
runtime methods which can use to perform your task . 

On Saturday, September 14, 2013 1:46:27 AM UTC-4, Satnam Singh wrote:
>
> Are you sure the object is Java object?? if thats the case , it will be 
> not possible to run the automation as per my understanding. 
>
>
>
>
> On Friday, September 13, 2013 3:33:06 PM UTC+5:30, Maedipalli Pulakesh 
> wrote:
>>
>> I am new to QTP and need your help in scripting this.
>>
>> It is a Java based desktop application. I need to search for a particular 
>> string "1FR" in the table with other values in 2nd column. 
>> But when spying on object [1FR], the whole table is highlighted and shown 
>> as JavaObject:Website.
>>
>> The complete spying details about the object are
>>
>> "Class Name:=JavaObject",
>> "abs_x:=28",
>> "abs_y:=292",
>> "attached text:=Service and Equipment Information",
>> "background:=fffff",
>> "class description:=object",
>>
>> "class_path:=org\.eclipse\.swt\.browser\.WebSite;org\.eclipse\.swt\.ole\.win32\.OleControlSite;org\.eclipse\.swt\.ole\.win32\.OleClientSite;org\.eclipse\.swt\.widgets\.Composite;org\.eclipse\.swt\.widgets\.Scrollable;org\.eclipse\.swt\.widgets\.Control;org\.eclipse\.swt\.widgets\.Widget;java\.lang\.Object;",
>> "developer name:=",
>> "displayed:=1",
>> "enabled:=1",
>> "focused:=0",
>> "foreground:=00000",
>> "height:=2974",
>> "index:=",
>> "label:=",
>> "labeled_containers_path:=",
>> "logical_location:=X_SMALL__Y_BIG",
>>
>> "path:=WebSite;OleFrame;Browser;Composite;LayoutComposite;Section;LayoutComposite;Form;ScrolledForm;Composite;Composite;Composite;Composite;Shell;",
>> "tagname:=WebSite",
>> "to_class:=JavaObject",
>> "to_description:=JavaObject",
>> "toolkit class:=org\.eclipse\.swt\.browser\.WebSite",
>> "width:=700",
>> "x:=0",
>> "y:=0"
>>
>> Please help me with the script to search for that value "1FR".
>> Let me know if more details are required.
>>
>

-- 
-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

--- 
You received this message because you are subscribed to the Google Groups "QTP 
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to