Hi Dhaval, What objects r displayed after clicking.
Better post a screenshot with some properties to understand your problem. Thanks, Uday QTP \ UFT Videos <http://www.youtube.com/user/AnemUday/videos> On Wednesday, 7 August 2013 06:06:46 UTC+5:30, [email protected] wrote: > > I have script developed to test pdf, doc or ppt file name as below. > > *Browser*("Browser Name").*Page*("Page name").*link*("link name").*click* > *wait*(2) > * If* *Browser*("name").*Dialog*("File Download").*Exist* Than > *PDF_Name*= Browser("name").*Dialog*("File Download").*Winobject* > ("ObjName").*GetROPropert*y("text") > * If* *PDF_Name* = "generaltutorial.pdf" Than > *Reporter.ReportEvent micPass.* "pdf exist > > Now my question is This was the script developed in IE8 where there was > FILE DOWNLOAD dialog box. and from that we can get PDF Name. > > Now I am migrated to Win 7 and IE9 > > In IE9 there is no FILE Download dialog box and there is a notification at > the bottom of page. > > How to get PDF name from it? > > Is there any other method to validate name of pdf? > > Help appreciated > > Thanks > Dhaval > > > -- -- 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.
