Forum Discussion

jamesc12's avatar
jamesc12
Occasional Contributor
10 months ago

Opening browser from BeforeFeature hook causes 'Unable to find the object Sys.Browser("*")' error

Hi all, I have 2 feature files, with multiple scenarios inside them. I am opening the browser using the following function below: function OpenBrowser() { Log.AppendFolder("Open browser for the te...
  • jamesc12's avatar
    9 months ago

    Hi all,

    Just to follow up on this, I found out why this was a problem.

    In the Azure Devops Pipeline, the TestCompleteAdapter does NOT support BeforeFeature and AfterFeature hooks. Confirmed by Smartbear themselves. 

    Thanks again and hope this helps someone else that bumps into this issue.