Fresh rows recognize by TestComplete
Hi!
I have some problem that i solved already but how i did it is far away from the good practices that we should use.
In my application that is created under PowerBuilder12 i have alot of datagrids that shows some data inside.
Application functionality allows me to add some new rows to these datagrids or filter them etc.
If i open some window with a datagrid (lets say it shows 1 row) TestComplete recognize that 1 row very well (object spy)
If i add another row by some functionality and try to use object spy again TestComplete recognize still first row but dont see the second one.
What i did in my tests before was close and open a window with that datagrid (takes timeif i have to do in every case).
I established that:
refresh() - no help
findchildby- helps but using that everytime also takes time
Another reason i need it is: i need to test my app also if it shows a new row directly after user add it.
I recorded a short video that shows my problem (video is avaible to open in firefox).