Current Revision posted to Silk Test Knowledge Base by chrislo on 5/1/2015 1:42:33 PM
If you are experiencing an issue with a Silk Test Workbench .Net script not executing the base state of your application during playback. The IsBaseState Keyword property may be missing from the Keyword attribute of the test in question.
To resolve the issue the IsBaseState Keyword property must be included and the value of the property set to True.
e.g. The Keyword Driven Test below will execute the basestate because the IsBaseState Keyword property has been included.
<Keyword("kw_StartQuote",IsBaseState:= True)>
PublicSub kw_StartQuote()
With _desktop.BrowserApplication("demo_borland_com")
With .BrowserWindow("BrowserWindow")
.DomListBox("quick-link jump-menu").Select("Auto Quote")
EndWith
EndWith
EndSub
Tags: keyword, workbench, BaseState, KDT, .NET