Forum Discussion

TestingHobo's avatar
TestingHobo
Contributor
10 years ago

How do i validate a URL redirect

Hi   I am currently trying to validate a URL redirect, we have a process that if you navigate to http on login it will redirect you to https. I am using javascript but i am unalble to use indexO...
  • HKosova's avatar
    10 years ago

    You can use a property checkpoint for the URL property:

     

    var redirected = aqObject.CheckProperty(Page, "URL", cmpStartsWith, "https://");
    // The checkpoint posts a log entry

    if (redirected) { // Do something }