Forum Discussion

jayrichardson's avatar
New Contributor
11 months ago

Using Text[Get]

Can anyone help with an issue using Text[Get], under object properties in a keyword test, that doesnt show name or value it should retrieve?

I am trying to compare two input field values on different web pages within same test.

Thanks in advance for help!

2 Replies

  • MW_Didata's avatar
    Regular Contributor

    You could also use the Object spy to see what property has the text you want to compare

    (most of the time .Text I guess)

    Then just use

    If "Aliases.applicationpaththingy.Textbox.Text" (as onscreen object) = "Your text" (as string)

    Then:  do a thing


    Hope this helps

  • rraghvani's avatar
    Champion Level 3

    Are you able to provide an example or a screenshot of the issue please?