use Browser("creationtime:=0").Hightlight
or Browser(LogicalName).Highlight



On Sun, Mar 16, 2014 at 12:45 PM, Geethu Prasanna <[email protected]
> wrote:

> Hi,
>
> When UFT opens the excel application, the focus is not changing from excel
> to application. Its remain in Excel. Please send me the solution to change
> the focus from excel to application .
>
> Script used to open excel is
>
> set objexcel = Createobject("excel.application")
> objexcel.Visible = True
> Set objWorkbook = objExcel.WorkBooks.Open("C:\qtpsheet1.xlsx")
>
> Regards,
> Geethu Prasanna
>
> --
> --
> 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/d/optout.
>

-- 
-- 
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/d/optout.

Reply via email to