Quantcast
Channel: New board topics in SmartBear Community
Viewing all articles
Browse latest Browse all 20990

How to handle dynamic powerbuilder DataWindow?

$
0
0

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 toUBound(objExpectationIds)

 

if(objExpectationIds(i).Value="82286") then

objExpectationIds(i).Click

ExitFor

endif

Next

 


Viewing all articles
Browse latest Browse all 20990

Trending Articles