Tablular Data inside Sikuli?
Asked by
Marianne Murray
Hello!
Is it possible to have data inside the script in table format? Instead of list?
(Test users don't have admin rights on the test machines so can't use Python)
My test needs the URL and the title of the page as inputs, so my inelegant solution is to use 2 lists... It works, but i'd feel more confident if the title was always with the URL...
Example for how i got it to work...
UL=(
r"http://
r"http://
r"http://
TL=(
"title1",
"title2",
"title3")
current=0
for i in range (3):
print (UL[current])
print (TL[current])
current+=1
Is there a better way to do it?
I'm concerned that if something happens to the data the lists will get out of sync...
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:
To post a message you must log in.