Script performance is slow with CUITe

Dec 19, 2011 at 5:49 AM


I am using CUITe to write scripts. When I execute the scripts, playback is slow. I studied the debug trace and found 2 warnings which are repeated numerously. Clearly, FindAllDescendants is taking longer than expected:-

W, 2876, 13, 2011/12/18, 15:31:16.278, 52312871260, QTAgent32.exe, PERF WARNING: FindAllDescendents: took 1116 ms. Expected it to take maximum 500 ms.

W, 2876, 13, 2011/12/18, 15:31:16.575, 52313947501, QTAgent32.exe, Playback - [WARNING] Internal warning: Could not obtain technology manager for given id in GetTechnologyManagerById.

The time taken in ms changes with every warning

Could anyone provide a solution for this issue please?




Dec 21, 2011 at 2:05 PM

This (slow performance) has anything to do with CUITe.

CUITe is just a wrapper over Coded UI Test.

Dec 29, 2011 at 3:06 AM

Thanks for your reply Sureba.

But I have observed a difference in speed of execution of scripts developed with CUITe and UIMap. The scripts written with UIMap works faster than that of CUITe.