How to get a field value

Asked by Thomas Bryan

Is possible to get some field value?

I would like do something easy. Example:
1- Open Firefox
2- Click on navigation toolbar
3- Get the navigation toolbar value...
4- Do something with this value

-----

switchApp("firefox.app")
click([navigation toolbar])

and now...
X=[toolbar content]
If X == "something":
    pass
else:
    pass

------
Is it possible?

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
Tsung-Hsiang Chang
Solved:
Last query:
Last reply:
Revision history for this message
Best Tsung-Hsiang Chang (vgod) said :
#1
Revision history for this message
Thomas Bryan (thobryan) said :
#2

Thanks Tsung-Hsiang!

Revision history for this message
Thomas Bryan (thobryan) said :
#3

Thanks Tsung-Hsiang Chang, that solved my question.