Checking parsed text in a loop and writing to file?

thehobo

Client
Регистрация
22.10.2011
Сообщения
12
Благодарностей
0
Баллы
0
HI

I want zenno to count the amount of lines in a text file linx.txt with urls then initiate a loop where it checks the urls for a text if the text is not found it should write the url to a file error.txt and continue with the loop until all urls are checked and then exit.

I'm having problems getting the urls with the "not found" texts written to a file in the loop.
it just saves a blank space in the error.txt file and exits as if there are no more lines to check in the linx.txt file.

This im my template:
Посмотреть вложение get page text.xml

What am I doing wrong here?
 

bigcajones

Client
Регистрация
09.02.2011
Сообщения
1 216
Благодарностей
683
Баллы
113
in your step where you get the page url, there shouldn't be anything in the parameters box. The parameters box is there for getting page text...etc, not for anything to do with page URL. Remove the branch execution result from there and it should help. Here's the stepID and branch:

●9●3●0●7●6●1●|≡1≡7≡7≡6≡8≡0≡1≡7≡2≡1≡
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)