Actually when we create object we parametrize that object with CLASS and
VALUE and syntax is like this:-

CreateObject("Class.Value")

So if we create the Excel Object then "EXCEL" is a class of that object and
"APPLICATION" is value of that Excel object.

Similarly in WORD application.

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
On 27 November 2011 02:25, Chandan Mishra
<[email protected]>wrote:

> Hi All,
>       when we create an object in excel,word for this we will write
> the syntax
>
> CreateObject("Excel.Application")------------------> For Excel
> CreateObject("Word.Application")------------------> For Word
>
> My question is why we are writing
> Excel.Application,Word.Application.Instead of this why we are not
> writing Application.Excel,Application.Word i m facing this question in
> interview.
>
> Could  anybody please give me the answer?
>
> Regards,
> Chandan Kumar Mishra
>
> --
> 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

Reply via email to