Is using SystemUtil method (CloseProcessByWndTitle) is the answer for ur question? or is ther any other option to go for???
On Thursday, February 14, 2013 9:22:17 PM UTC+5:30, Gaurav_Accenture wrote: > > Hi Rohit, > > Please read my first mail. We do not have to use ordinal identifier here.. > > Regards, > Gaurav > > On Thu, Feb 14, 2013 at 7:52 PM, Rohit Guru <[email protected]<javascript:> > > wrote: > >> use creation time in that case. >> >> >> On Thu, Feb 14, 2013 at 7:48 PM, gaurav sharma >> <[email protected]<javascript:> >> > wrote: >> >>> Hi Ravi, >>> >>> I used Browser("name:=Google").Close It is working fine.. >>> >>> But what if I have more than 1 browser with same Google page then this >>> code will not work..Any suggestion? >>> >>> Regards, >>> Gaurav >>> >>> >>> >>> On Thu, Feb 14, 2013 at 7:40 PM, gaurav sharma >>> <[email protected]<javascript:> >>> > wrote: >>> >>>> Hi Lavanya, >>>> >>>> Yes we can close the browser by its title. >>>> >>>> systemutil.CloseProcessByWndTitle("Yahoo! India - Microsoft Internet >>>> Explorer") >>>> >>>> I tried using URL "yahoo.com". >>>> >>>> It works fine. >>>> >>>> Regards, >>>> Gaurav >>>> >>>> >>>> On Thu, Feb 14, 2013 at 3:33 PM, Ravi Sid <[email protected]<javascript:> >>>> > wrote: >>>> >>>>> Hi, >>>>> Use the normal method : >>>>> Browser("name:=Google Search").Close will close specified browser >>>>> >>>>> Thanks, >>>>> Ravi >>>>> >>>>> On Thu, Feb 14, 2013 at 10:59 AM, Lavanya Ch >>>>> <[email protected]<javascript:>> >>>>> wrote: >>>>> > Hi, >>>>> > iam new to QTP, i just want to know can we use SystemUtil methods >>>>> here to >>>>> > close the browser by its title ie., SystemUtil.closeprocessbywndtitle >>>>> > please let me know the answer for the question. >>>>> > >>>>> > >>>>> > On Wednesday, February 13, 2013 11:32:33 PM UTC+5:30, >>>>> Gaurav_Accenture >>>>> > wrote: >>>>> >> >>>>> >> Hi Ganesh, >>>>> >> >>>>> >> 'hasmenubar' property do not holds numeric value,instead it holds >>>>> boolean >>>>> >> values. >>>>> >> Micclass is not possible in this scenario as we are using more than >>>>> 1 >>>>> >> browser. >>>>> >> >>>>> >> Regards, >>>>> >> Gaurav >>>>> >> >>>>> >> On Wed, Feb 13, 2013 at 10:30 PM, Ganesh muralidharan < >>>>> [email protected]> >>>>> >> wrote: >>>>> >>> >>>>> >>> Have your tried with >>>>> Browser("hasmenubar:=0").Page("micclass:=Page")? >>>>> >>> >>>>> >>> >>>>> >>> On Wed, Feb 13, 2013 at 10:46 AM, gaurav sharma <[email protected] >>>>> > >>>>> >>> wrote: >>>>> >>>> >>>>> >>>> Hi, >>>>> >>>> >>>>> >>>> If I want to close child browser without using ordinal >>>>> >>>> identifier(creation time and index no.) and hwnd property then >>>>> how will I >>>>> >>>> close it? >>>>> >>>> >>>>> >>>> -- >>>>> >>>> GAURAV SHARMA >>>>> >>>> S/W ENGG. >>>>> >>>> ACCENTURE >>>>> >>>> >>>>> >>>> -- >>>>> >>>> -- >>>>> >>>> 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. >>>>> >>>> >>>>> >>>> >>>>> >>> >>>>> >>> >>>>> >>> >>>>> >>> >>>>> >>> -- >>>>> >>> 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 >>>>> >>> >>>>> >>> --- >>>>> >>> 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. >>>>> >>> >>>>> >>> >>>>> >> >>>>> >> >>>>> >> >>>>> >> >>>>> >> -- >>>>> >> GAURAV SHARMA >>>>> >> S/W ENGG. >>>>> >> ACCENTURE >>>>> > >>>>> > -- >>>>> > -- >>>>> > 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]<javascript:> >>>>> > To unsubscribe from this group, send email to >>>>> > [email protected] <javascript:> >>>>> > 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] <javascript:>. >>>>> > For more options, visit https://groups.google.com/groups/opt_out. >>>>> > >>>>> > >>>>> >>>>> -- >>>>> -- >>>>> 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]<javascript:> >>>>> To unsubscribe from this group, send email to >>>>> [email protected] <javascript:> >>>>> 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] <javascript:>. >>>>> For more options, visit https://groups.google.com/groups/opt_out. >>>>> >>>>> >>>>> >>>> >>>> >>>> -- >>>> GAURAV SHARMA >>>> S/W ENGG. >>>> ACCENTURE >>>> >>> >>> >>> >>> -- >>> -- >>> 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]<javascript:> >>> To unsubscribe from this group, send email to >>> [email protected] <javascript:> >>> 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] <javascript:>. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >>> >>> >> >> -- >> -- >> 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]<javascript:> >> To unsubscribe from this group, send email to >> [email protected] <javascript:> >> 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] <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > > > -- > GAURAV SHARMA > S/W ENGG. > ACCENTURE > -- -- 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.
