hi all, can you explain, What is the meaning of exist(2) or exist (1) means,
On Mon, Mar 25, 2013 at 9:14 AM, ssuummit <[email protected]> wrote: > Yes Rahul, > > I got the reason why my Reg ex was wrong. > > Thanks for your concern & help!!! > > Sumit > > > On Sunday, 24 March 2013 14:32:17 UTC+5:30, iRahulSingh wrote: >> >> Hey Sumit, >> >> hope you know, why your Regex was wrong and why it's correct now. >> just thought of asking it as an advice. >> >> Cheers.. >> >> On Sunday, March 24, 2013 10:18:44 AM UTC+5:30, ssuummit wrote: >>> >>> 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. > > > -- Thanks&Regards, Prasad Kopparapu +91-9032114331 -- -- 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.
