thanx guys...dont know what happened but suddenly this scripts working 
without any changes as it used to work before......but the script which has 
a problem is : gmail login page
Set box=browser("creationtime:=0").Page("title:=0").WebElement("class:=card 
signin-card clearfix")

Set desc=Description.Create
desc("micclass").value="WebEdit"

Set objWebEdit = box.ChildObjects(desc) >>>>>>>>>>>>>>>>same error 
here........
 
....
i am trying to access object inside a object...thats the reason why i used 
webelement and then inside that webedit box.....which shoull allow me , 
right ? but no , its giving general run error.....
even after setting the box till Page , its the same error.....


On Thursday, November 21, 2013 12:42:20 PM UTC, Rajeshwari Sudhakar wrote:
>
> while accessing the child objects of the page i get general run 
> error....previously running script also is giving an error.....even after 
> uninstalling  qtp 10, n  installing  qtp 11.5 getting the same error... can 
> u somebody please guide as i am terribly stuck .... i m unable 2 go 
> further....  
>
> -2147467259 - tats the error code i am getting
>
>
> for ref i hv given the code below 
> w3schools.com<http://www.google.com/url?q=http%3A%2F%2Fw3schools.com&sa=D&sntz=1&usg=AFQjCNG4g2GQM4_AIjdpBxisFAik4YaFkw>home
>  page:
>
> Set box=browser("creationtime:=0").Page("title:=.*").WebElement(
> "class:=boxRef")
>
>
> Set desc=Description.Create
> desc("micclass").value="Link"
> '
> Set box_links=box.ChildObjects(desc)      '>>>>>>>>>>>>>>>>>general run 
> error----->  -2147467259 erroe code at this point
> MsgBox GetLastError
>
> print "total links " & box_links.count()
>
> For i=0 to box_links.count-1
>     print box_links(i).getroproperty("innertext")
>
> Next
>

-- 
-- 
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.

Reply via email to