*Hi Suresh,* * You need to identify all the objects present at web page 1 and 2 then compare to each of them.* *1. Need to identify the total no. of visible links at page 1 and page 2 using child object method.* * if page1.childobjects(link) =page2.childobjects(link)* * for i=0 to ubound(LinktextArr1) * * for j=0 to ubound(LinktextArr2) * * if linkTextArr1(i)=linkTextArr2(j) Then * * Print "Link matched"* * else* * Print " Link does not matched"* * End if* * Next* * Next* * End if* * * *2. Need to identify the total no. of visible Text boxes at page 1 and page 2 using child object method..* * compare page1.text box to page2.text box same like as step 1* * * *3. Need to identify the total no. of visible broken links or image links at page 1 and page 2 using child object method.* *4. Need to identify the total no. of visible buttons at page 1 and page 2 using child object method.* *5. Need to identify the browser versions of page 1 and page 2 using child object method.* * ETC.....* * * *I hope this is enough info for you if you have required more then plz describe in details your requirements.* * * * * *Thanks...* *Akhalesh Yadav*
On Sat, Oct 19, 2013 at 2:56 PM, bhavin v patel <[email protected]> wrote: > what you need to compare between two pages? its title, url or name? you > can do > > if page1.GetRoProperty("name of property") =page2..GetRoProperty("name of > property") then > pass > else > fail > end if .. > you can get value of property into an arrays and compare two arrays also. > > > On Saturday, October 19, 2013 3:25:44 AM UTC-4, suresh varatharajan wrote: >> >> Hi Guys, >> >> How to compare two web page objects using QTP and how to find the page >> difference and Error (Page cannot be found). >> >> Please help me to solve the above issue. >> -- >> Regards, >> Suresh.V >> > -- > -- > 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] 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.
