Still not working On Wednesday, July 17, 2013 1:49:41 PM UTC-4, Asiq Ahamed wrote: > > Use creation time, > > Browser(“creationtime:=1“) > Browser(“creationtime:=2“) > > Sent on my BlackBerry® from Vodafone > ------------------------------ > *From: * [email protected] <javascript:> > *Sender: * [email protected] <javascript:> > *Date: *Wed, 17 Jul 2013 10:43:22 -0700 (PDT) > *To: *<[email protected] <javascript:>> > *ReplyTo: * [email protected] <javascript:> > *Subject: *Re: Two different pages have same browser and page name how to > identify them ? > > So i am running a loop > when it comes back it still looks for login page and fails > > > here is my code > > > Set > mypage2=browser("title:=Facebook","index:=0").page("title:=Facebook","index:=0") > if mypage2.Exist Then > mypage2.WebEdit("html id:=email","name:=email").Set"Team.com" > mypage2.WebEdit("html id:=pass","name:=pass").Set"360" > mypage2.WebButton("html id:=u_0_1","name:=Log In").Click > > End If > ' > Set > mypage3=browser("title:=Facebook","index:=1").page("title:=Facebook","index:=1") > msgbox mypage3.WebElement("class:=_b--").GetROProperty("innertext") > > > > > > > > > > > On Wednesday, July 17, 2013 12:45:21 PM UTC-4, Akhalesh Yadav wrote: >> >> Use ordinal identifier index=0 for first one login pop up and index=1 for >> wall popup. >> >> >> Thanks >> Akhalesh >> >> >> On Wed, Jul 17, 2013 at 8:30 PM, <[email protected]> wrote: >> >>> I am working on an application which has facebook interface button to >>> share a story. >>> When i click on a button it brings popup window of facebook login page. >>> has browser & page title(FACEBOOK) >>> when i enter user name and password and login to the site >>> the next wall popup window displays has browser & page title(FACEBOOK) >>> this wall popup page and login popup page have same page & browser >>> title. What should i do to identify them as two different pages ? >>> >>> -- >>> -- >>> 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. >>> >>> >>> >> >> >> >> -- >> Akhalesh yadav >> +919555717928 >> +919310680659 >> > -- > -- > 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] 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.
