SilkTest Question 22: Explain advantages of DOM extension over VO extension?

Document Object Model (DOM) browser extension has several advantages over
Virtual Object (VO) browser extension in Silk Test.
  • The recorder displays a rectangle which highlights the controls as QA Engineer is recording them.
  • The DOM extension recognizes text size and actual name of objects.
  • No dependency from browser size and text size setting.
  • Better support fir borderless tables.
  • The DOM extension provide more classes and properties than are available in VO extension.

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 is 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_INTERVAL, 0)

or

if your manager don't want you to mess with 4test code park your mouse pointer outside the verified window during test plan execution.

or

go to Options -> Agent -> Bitmap and change appropriate values in tab.

SilkTest Question 20: How to use regular expression in Silk Test?

The QA engineer would like to know how to use regular expressions in the test case to verify that certain string has the valid format?

Unfortunately, SilkTest does not support POSIX or Perl style regular expressions even in the recent 8.0 version. The smart Quality Assurance Engineer can use question mark (?) to match any single character or asterisk (*) to match any string of zero or more characters. The following function SubStr, MatchStr and GetFiled might be useful, but all of them have some limitations.

SilkTest interview questions for QA Testers