Hi,
Could you please try once again with below block of code and let me
know the Error number

SystemUtil.Run "iexplore", "https://developer.salesforce.com/";
Dim abc
Set abc = Description.Create
abc("micclass").value = "Link"
Set odef = Browser("name:=Salesforce Developers | API Documentation,
Developer Forums & More").Page("title:=Salesforce Developers | API
Documentation, Developer Forums & More").ChildObjects(abc)
msgbox Err.Number
Print odef.count

Regards
Jayaraju Metta
[email protected]



On Mon, Jun 15, 2015 at 2:04 AM, rajpradeep32 <[email protected]> wrote:
> Hi Guys,
>
> I am getting General run error while running this script, I am trying to
> print the total count of links present in a page.
>
>  SystemUtil.Run "iexplore", "https://developer.salesforce.com/";
> Set abc = Description.Create
> abc("micclass").value = "Link"
> Set def = Browser("name:=Salesforce Developers | API Documentation,
> Developer Forums & More").Page("title:=Salesforce Developers | API
> Documentation, Developer Forums & More").ChildObjects(abc)
>>>>>>> Error comes at this line
> Print def.count
>
> --
> --
> 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/d/optout.



-- 
Regards,
Jayaraju.M
+91-9492162134

-- 
-- 
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/d/optout.

Reply via email to