Hello All,

You are right. My regular expression was wrong. I forgot to put '.' before 
'*'

Thanks for your help!!

Sumit

On Saturday, 23 March 2013 22:38:43 UTC+5:30, ssuummit wrote:
>
> Hello All,
>
> I am new in QTP. I was executing below code and got the result "browser 
> not exist".
>
> systemutil.Run "iexplore.exe","google.com"
> Set myb=browser("name:=*")
> If myb.Exist(2) Then
> print "browser exist"
> else
> print "browser not exist"
>     End If
>
> But if I put a value for eg. "Google" for name property then got the 
> result "browser exist".
>
> systemutil.Run "iexplore.exe","google.com"
> Set myb=browser("name:=Google")
> If myb.Exist(2) Then
> print "browser exist"
> else
> print "browser not exist"
>     End If
>
> I couldn't understand the reason behind this. Why i didn't get result 
> "browser exist" when i was using '*' for name property value.
>
> Could anyone let me know the reason behind this??
>
> Thanks for your help!!!
>
> Sumit
>

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


Reply via email to