How to test for a clickable link in a form's infoMessage via ATF Test?

Joe Walters
Mega Sage

Is it possible to configure an ATF Test step that does the following?

  1. Asserts that an infoMessage is displayed on a form (as opposed to an errorMessage, for instance)
  2. Asserts the text within the infoMessage
    1. For now, we're using an Assert Text on Page (Custom UI) Test step
  3. Asserts there is a clickable link within the infoMessage
  4. Asserts that, when clicked, the link navigates to a different browser tab

Below is an example of what we'd like to test (if possible) via ATF, instead of relying on manual testing.

image.png

 

 

1 ACCEPTED SOLUTION

No there is no way to test the others

 

View solution in original post

5 REPLIES 5

Tanushree Maiti
Tera Patron

Hi Tanushree, I don't think the links you provided apply to my question, but thanks for your response.

Shaqeel
Mega Sage

Hi @Joe Walters 

 

You can not validate the clickable links just the text.

Hi Shaqeel, thanks for your response. This is as I expected. I'm already asserting the text within the infoMessage, but was hoping someone may have come up with a novel way to ATF Test the other items.

 

I doubt that there's a way to do it in ATF yet.