Ask a Question

Using Text[Get]

jayrichardson
New Contributor

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 2
rraghvani
Champion Level 3

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

MW_Didata
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

cancel
Showing results for 
Search instead for 
Did you mean: