Forum Discussion

royd's avatar
royd
Regular Contributor
7 years ago
Solved

aqObject.CheckProperty, url - cmpContains troubles!

Hi everyone   I am trying to verify patr of the url with the following -   aqObject.CheckProperty(Browsers.Item(Project.Variables.webBrowser).Window(0), "URL", cmpContains, "Login.aspx"); ....
  • nmrao's avatar
    nmrao
    8 years ago

    Etks,

     

    Not sure what your use case is. But that is interesting technically.

     

    And here is how you can get it. By the way, thank your for your search and the link with which I got the clue for the below:

     

    def nContext = context.getProperty("#CallingTestRunContext#")
    log.info nContext.currentStepIndex