I have created this Keyword:
Validate Header
Wait Until Page Contains id=outputtext-text-Header:ApplicationHeaderCoachView1:ApplicationHeaderCoachViewInner1:Output_Text1
Element Should Be Visible id=outputtext-text-Header:ApplicationHeaderCoachView1:ApplicationHeaderCoachViewInner1:Output_Text1
But it always fail and give me this error:
Text 'id=outputtext-text-Header:ApplicationHeaderCoachView1:ApplicationHeaderCoachViewInner1:Output_Text1' did not appear in 5 seconds.
The Element HTML Code is:
<p id="outputtext-text-Header:ApplicationHeaderCoachView1:ApplicationHeaderCoachViewInner1:Output_Text1" aria-labelledby="outputtext-label-Header:ApplicationHeaderCoachView1:ApplicationHeaderCoachViewInner1:Output_Text1" class="text-left">FCP</p>
I'm trying to verify that element is present on the page. I don't care about the text that this element display, I only need to verify its filled on the page. But always have this error that element did not appear in 5 seconds. I already try Element Should Be Visible, Page Should Contain Element, Page Should Contain TextField and other keywords.