Anindo, You have not specified the property details for "MyDesc" object and you are trying to count the childobjects of null descriptive objects. You have to specify some property values to Mydesc.
Regards Shalabh Dixit My QTP Blog <http://shalabhdixit.wordpress.com/> On Wed, Jul 3, 2013 at 7:21 AM, Satnam Singh <[email protected]> wrote: > May I know what do you want to do for which you have written this code.? > > > On Wednesday, 3 July 2013 00:32:24 UTC+5:30, andy mondal wrote: >> >> >> Hi All, >> >> May be I am missing something here. >> >> ChildObjects is throwing General run error >> >> Code and Screenshot followed - >> >> Set webPage = Browser("creationtime:=0").**Page("title:=*") >> Set Mydesc = description.Create >> Set PageObject = webPage.ChildObjects(Mydesc) - *Error* >> >> Print "TotalObject" & PageObject.count >> >> >> >> >> >> -- >> >> >> Please help . >> Thanks in advance >> >> Regards, >> > -- > -- > 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. > > > -- -- 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.
