Hello All,

I am new in QTP. I was trying to execute below mentioned 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 tried to put a value for eg. "Google" in place of * in 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" while i was using '*' in value for name property?

Can anyone let me know the reason?

Thanks a lot 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