Quantcast
Channel: Silk Test Knowledge Base
Viewing all articles
Browse latest Browse all 105

Why is my Silk Test Workbench .Net KDT not executing the base state of my application on playback?

$
0
0
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

Viewing all articles
Browse latest Browse all 105

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>