Hi, Try the following code before the function call:
Set Winobj = Description.create Winobj("regexpwndtitle").value="Print" Winibj("text").value="Print" PrintReport(WinObj) Let me know if it works or not. If the object is still not recognized, try adding some other property-value pair for the object-Winobj. Thanks, Gurman -- -- 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 MercuryQTP@googlegroups.com To unsubscribe from this group, send email to mercuryqtp+unsubscr...@googlegroups.com 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 mercuryqtp+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.