SilkTest Question 21: How to fix bitmap failed to stabilize error?
Software Quality Assurance Manager suddenly asked me to create straightforward test case for bitmap verification. During test case recording I selected option to verify entire window, but the eerie error “*** Error: Bitmap failed to stabilize” appeared during test case execution. The whole QA team not able to find solution related to this issue in SilkTest documentation and one of us have seen already prepared pink slips for the whole department in manager’s office. Described bitmap issue occurs if the verified windows in not stable i.e. there is something changing on the screen frequently. The automation testing tool captures the stable copy of the bitmap and would raise E_BITMAP_NOT_STABLE exception if didn’t get tested window in the specified time. Your QA engineers can use the different approaches to get stable bitmap. Set the following options to 0 in code Agent.SetOption (OPT_BITMAP_MATCH_COUNT, 0) Agent.SetOption (OPT_BITMAP_MATCH_TIMEOUT, 0) Agent.SetOption (OPT_BITMAP_MATCH_IN