Hi Nidhi
'here x1,x2,y1,y2 Out are you Parameter
'No need to specify any value for x1,x2,y1,y2 variable
'Must not use any constant value
find =Winobect("DialogObj").GetTextLocation ("TabName" ,x1,y1,x2,y2)
If find =True Then
Winobect("DialogObj").Click (x1+x2)/2 ,(y1+y2)/2
Else
msgbox "not found OK text"
End If
=======Other======
if any tool-tip display in each Tab, then find tool-tip and click on that
feel free to ask if you any query
--
Thanks & Regards
Sujit :)
On Thu, May 24, 2012 at 4:14 PM, Nidhi Sharma <[email protected]>wrote:
> Hi All,
>
> Please help me in resolving this issue.
>
> Iam using siebel application in which I have many tabs and to see
> information for each tab,it needs to be clicked.
>
> But when i do the object spy on that it shows only winobject and
> individual tabs are not recognized.
>
> There are no keys from the keyboard also which are hitting those tabs.
>
> The problem is not resolved even after i had the siebel add-in.
>
> Thanks,
> Nidhi
>
> --
> 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
"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