How to reuse the code in sikuli
How to reuse the code in sikuli :
Hi Guys, sorry for the repeated question but I am unable to understand / implement the solutions i found.
1. I have created a script to read data from excel row by row from 1st column & i want to paste it somewhere in browser and perform few steps then i want to go back to that excel and read 2nd row data and so on till there is a data in 1st column.
As soon as i find a blank row i want to stop
2. Or i would like to perform read operation say 100 times is it possible ?
My code :
hover("
click("
hover("
click("
type(Key.DOWN)
print("Message : Down Button pressed...")
wait(1)
while not exists(
print("Message : Keyword found...")
wait(1)
type(
wait(1)
hover(
click(
wait(1)
type(
wait(1)
click(
type(Key.DOWN)
wait(1)
hover(
while exists(
break;
Please help me with this guys, Thanks in Advance !!
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Saket
- Solved:
- Last query:
- Last reply: