lundi 11 janvier 2016

Is there a way to retrieve text file values on the other machine in Eggplant?

I'm having a hard time reading text file from the other machine. I already tried to mapped the file like this \10.212.9.20\Eggplant\Test\propertyfile.txt. But it doesn't work. Here's my code:

set the itemDelimiter to "="
    repeat with theParams = each line of file "\\10.212.9.20\Eggplant\Test\propertyfile.txt"
    insert item 2 of theParams after myList
end repeat

put item 6 of myList into ServerURL
put item 10 of myList into Username
put item 9 of myList into Password

Thanks for the help.

Aucun commentaire:

Enregistrer un commentaire