Suggestions on verifying text

Greetings Everyone,

I’ve been meaning to ask this for a while now. Does anyone have suggestions on verifying text on a webpage? For a while now I have been using assertElementPresent, then I use select (GUI) to click the box with text, then I copy the text in the Value field.

I don’t think this method is full-proof. I believe I’ve seen before some steps involving the Sandbox and JS? JavaScript is still foreign to me.

I wanted to reach out and seek any advice or better method’s I could be using. I find the current method to be iffy. For example, the select will find the box, but the text could be different from day to day and thus still check it as true when it’s not.

Thanks!

Maybe this helps?

Or in general: Extract the text from the website and then check it with “IF…”.

I appreciate you taking the time to reply and guiding me to that. I’m finding the results iffy, but I’m going to keep practicing and putting it to use.

Thank you!