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.
