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