Forum Discussion

royd's avatar
royd
Regular Contributor
6 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"); ....
  • royd's avatar
    royd
    6 years ago

    Hi Alex

     

    Figured it out, hope this helps anyone in my situation. Following works -

     

    aqObject.CheckProperty(Sys.Browser(Project.Variables.webBrowser).Page("*"), "url", cmpContains, "Login.aspx");