It could be because of the brackets () used in TransRef(protected) try to
put \

e.g. "attached text:=TransRef\(\protected\)\"

On Tue, Feb 1, 2011 at 2:11 PM, Shell <[email protected]> wrote:

> Hi,
>
> I am working on a Mainframe application and trying the descriptive
> programming on it. For some reason, it is not working. Here is what I
> am trying
>
> When I add the field to the repository with only the attached text
> property, it is working fine however when I am trying to use the
> descriptive programming it is not working. I am getting the error
> "cannot identify the object"
>
>
> TeWindow("TeWindow").TeScreen("TeScreen").TeField("TransRef(protected)").GetROProperty("text")
>
> TeWindow("TeWindow").TeScreen("TeScreen").TeField("attached
> text:=TransRef(protected)").GetROProperty("text")
>
> Thanks
> Shell
>
> --
> 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]<mercuryqtp%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/MercuryQTP?hl=en




-- 
Regards,


Ganesh Muralidharan
'God Never Forgets'

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