Forum Discussion
AlexKaras
12 years agoChampion Level 3
Hi,
Yes, Ajax might be a source of the problems as well. After some object is modified by Ajax function, this should be detected by TestComplete and invalidate the object in its cache. Then TestComplete will refresh the object (and its children) and it is possible that none of object's properties are available until refresh completes.
You may try to use the WaitProperty() function (see help for more details) to pause script until the required property is available and continue test execution immediately after the property becomes available.
Yes, Ajax might be a source of the problems as well. After some object is modified by Ajax function, this should be detected by TestComplete and invalidate the object in its cache. Then TestComplete will refresh the object (and its children) and it is possible that none of object's properties are available until refresh completes.
You may try to use the WaitProperty() function (see help for more details) to pause script until the required property is available and continue test execution immediately after the property becomes available.
Related Content
- 12 years ago
- 14 years ago
- 3 years ago
- 3 years ago
Recent Discussions
- 2 days ago
- 2 days ago
- 5 days ago