Contributions
Re: How to handle dynamic powerbuilder DataWindow?
Hi Tanya, Thanks for response, but refresh doesn't work. Since the datawindow is dynamic and the object browser is not getting refreshed. The object browser is getting freezed for first available instance of data window. Even the spy is not working. I have tried refreshing already (both by code as well as through objectbrowser). I think this issue is specific to Powerbuilder and testcomplete only.1.6KViews0likes2CommentsHow to handle dynamic powerbuilder DataWindow?
Hi, I am working on a powerbuilder application having dynamic pbdw control. The rows are loaded based on some filter criteria. I am not able to identify objects in the application. However if i try to spy application which has pre loaded data, i can identify them correctly. for e.g. in the below code. The objExpectationIds doesnt return anything . But if application is preloaded with data before execution it works. Please help PropNames=Array("Caption","ObjectType") PropValue=Array("expectation_id","Edit") objExpectationIds=expectationPanel.FindAllChildren(PropNames,PropValue,5) Log.Message("") For i=0 to UBound(objExpectationIds) if(objExpectationIds(i).Value="82286") then objExpectationIds(i).Click Exit For end if Next1.6KViews0likes4Comments