You need to use GetTOProperty for this.

Read below article for the difference
http://knowledgeinbox.com/articles/qtp/object-identification/gettoproperty-vs-getroproperty/

On Jan 7, 3:53 pm, "[email protected]" <[email protected]>
wrote:
> Hi Group,
>
> I'm trying to get class name of a parent window
>
> Below gives me "Browser" as result when i execute
>
> Browser("title:=.*").GetRoProperty("micClass") Or Browser
> ("LogicalName").GetRoProperty("micClass")
>
> But, following lines doesnot give me any value.
>
> Window("nativeclass:=SciCalc").GetRoProperty("micClass") Or
> Window("LogicalName").GetRoProperty("micClass")
>
> I tried the following combinations
> micClass, Mic Class, Class Name, ClassName, Class, etc.
>
> Could anybody please help me to get Class Name of Parent object for
> window based applications?
>
> Thanks,
> Ismail Ali
> 9945544146

--~--~---------~--~----~------------~-------~--~----~
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