The very best idea would be to in checking if you have chosen ActiveX
ADD-IN in ADD-in manager at qtp-startup
*Open Flight reservation* window and then goto *OR-->view-->locate in
Repository* and find the Test objects class
For date of flight it could be winobject sometimes
if in that case winobject
Window("Flight Reservation").winobject("Date Of Flight").Type "value"
or
Window("Flight Reservation").ActiveX("MaskedEdBox").Type "Value"
On Sunday, May 29, 2011 8:10:38 PM UTC+5:30, vamsi wrote:
>
> Hi All,
>
> When I run the below line of script Flight Reservation -
> Window("Flight Reservation").ActiveX("Date Of Flight").Type
> input_data("Date_Of_Flight")
>
> In OR naming convention is correct.
> I faced below error--
> "The "Date Of Flight" ActiveX object was not found in the Object
> Repository.
> Check the Object Repository to confirm that the object exists or to find
> the correct name for the object."
>
> How to identify the Activex objects
> Thanks in Advance
>
> --
> Vamsi Reddy
> *09618272979*
>
> * *
>
>
>
--
--
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.