set opage=Browser("Creationtime:=0").page("title:=.*") >>>>>>> rectified
syntax error,this should work. *':' *was missing manoj
On Thursday, 21 November 2013 12:42:20 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 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/d/optout.