calling the values from the variables instead of hard coding

Asked by Bharadwaj

Hi RaiMan,

I want to the Process of the Calling the Values From Variables Instead of hard coding where i can use the Variables multiple times.

Ex Login Credentails like user name and password i want to store in the variables instead of hardcoding in sikulix.

Please help me on the same.

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

Supposing you are using the SikuliX IDE with Python scripts:

Python language has all you need.

Revision history for this message
Bharadwaj (bharadwaj-yarramalli) said :
#2

Yes , I am using sikulix IDE only.

is it possible to invoke/call the python scripts from sikulix IDE .

If yes do u have any sample code or any links that can be Helpful to use python in Sikulix IDE and Previous Question to solve it

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

http://sikulix-2014.readthedocs.io/en/latest/interaction.html#input describes a possibility to request username and password from the user. Is this what your are looking for?

Revision history for this message
Best RaiMan (raimund-hocke) said :
#4
Revision history for this message
Bharadwaj (bharadwaj-yarramalli) said :
#5

Thanks RaiMan, that solved my question.