Forum Discussion
arorasaksham
New Contributor
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 object browser). I think this issue is specific to Powerbuilder and testcomplete only.
umer_chaudhary
9 years agoOccasional Contributor
Tania, I'm customer with TestComplete having more than 4 licenses and im myself TestComplete Certified. I'm also having the same issue with dynamic datawindow elements. On some areas TestComplete sticks to the status of first read elements within dynamic DataWindow elements and doesnt update the future populated objects. I have tried sys.refresh method, delaying script before reading the next object or calling for sys.refreshmappinginfo nothing seems to work. I can also verify that the Object Browser actually gets stuck to the last state and doesnt recognize a change within the area to reload the data probably. Please guide me if there is any way to reload the MSAA plugin on runtime which seems to help get the correct status back? or maybe the sys.refresh function needs improvement for this area? Thanks. Best Regards Umer
- escap899 years agoContributor
I am having the same.
Its TC bug i guees.
What i did is:
num = panel.ChildCount x=0 rows_number=0 while (x<num): if(panel.child(x).Caption=="zn" and panel.child(x).Visible == 1): rows_number=rows_number+1 x=x+1 Log.Message("rows_number: ") Log.Message(rows_number)
Problem is that u can only tests filter that give back less rows than i can see on my screen cause the rest gonna have visible=0.
Looks like TC cant delete child on refresh - he only refresh properties - so only way is couting on properties.
Related Content
- 10 years ago
- 5 years ago
Recent Discussions
- 2 days ago