Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

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

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

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)>

Public Sub kw_StartQuote()

   With _desktop.BrowserApplication("demo_borland_com")

      With .BrowserWindow("BrowserWindow")

           .DomListBox("quick-link jump-menu").Select("Auto Quote")

      End With

    End With

End Sub

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2015-05-01 14:42
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.