Try this
.WinObject("Internet Explorer_Server").ClickOnText "Networking.*find
devices"
or
create DP.
obj("GiveSomePropertyName").value="Networking.*find devices"
set obj1=.WinObject("Internet Explorer_Server").childobject(obj)
x=obj1.count
for i=0 to x //may be more the one object
if instr(obj1(i),"Networking")>0 then
obj1(i).click
end if
next
Let me its working or not..
On Thursday, July 7, 2016 at 8:30:54 PM UTC+2, [email protected] wrote:
>
>
>
> Hi
>
> All links without the special character are clicked but the system won't
> click this link because it doesn't know what -- is?
>
>
>
> .WinObject("Internet Explorer_Server").ClickOnText "Networking — find
> devices"
>
>
> How do I write this statement?
>
>
>
>
> Thanks
>
>
>
--
--
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.