Hi,
Well, I am not sure whats value of CountChkboxs. Also When u spy on
object you can see the value of the associated property. So In
GetROProperty it could be "text" or " all item" depends on which
property is associates with that value. Otherwise I do not see any
error in your work!
 For i = 0 To CountChkboxs insead    For i = 0 To  CountWebEdits

On Jan 20, 11:02 am, maddy <[email protected]> wrote:
> Hi
>
>         untill now i did'nt work on th application built on power
> builder , so , below code may work...
>
> 1] try By using < object > method ---> which will be used get value
> for Automation object property
>
>       Runtimevalue=Trim(Browser("Browser").Page("page").WebEdit
> ("webedit").Object.value)
>       Datatable("Columnname","sheetname")=Runtimevalue
>
> 2] use childobject method
>
>                      Set pagobj=Browser("Browser").Page("page")
>                      Set WebEditDesObj=description.Create()
>                      WebEditDesObj("micclass").value="WebEdit"
>                      WebEditDesObj("name").value="searchvaluerow1"
>                      WebEditDesObj("type").value="text"
>                      WebEditDesObj("kind").value="singleline"
>                      Set WebEdits =pagobj.ChildObjects(WebEditDesObj)
>                      CountWebEdits= WebEdits.Count()
>
>                      msgbox CountWebEdits
>
>                      For i = 0 To CountChkboxs
>
>                           valu=Trim( WebEdits(i).GetROProperty
> ("value"))
>                           msgbox valu
>
>                      Next
>
>                      Set WebEdits =Nothing
>                      Set WebEditDesObj=Nothing
>                      Set pagobj=Nothing

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

Reply via email to