Help - How can I read javascript alert boxes in Zenno?

V Munich

Пользователь
Регистрация
20.02.2014
Сообщения
85
Благодарностей
3
Баллы
8
Hello,

I really need to be able to read javascript alertboxes on my project.

I'm talking about this:



On a browser such as Firefox or Google Chrome, the alert box shows up normally. On Zennoposter/Projectmaker, it is totally ignored, I can't even see it, the page just refreshes.

The same happens on Ubot and I was hoping that it would work on Zenno.

Is there any way to read them?
 

V Munich

Пользователь
Регистрация
20.02.2014
Сообщения
85
Благодарностей
3
Баллы
8

darkdiver

Administrator
Команда форума
Регистрация
13.01.2009
Сообщения
2 284
Благодарностей
2 728
Баллы
113
Alerts are blocked in projectmaker and zennoposter. They are blocked to prevent hangs of the browser.
 

V Munich

Пользователь
Регистрация
20.02.2014
Сообщения
85
Благодарностей
3
Баллы
8
Is there a way to allow them?
 

darkdiver

Administrator
Команда форума
Регистрация
13.01.2009
Сообщения
2 284
Благодарностей
2 728
Баллы
113
no there is no way.
why do you need them?
 

V Munich

Пользователь
Регистрация
20.02.2014
Сообщения
85
Благодарностей
3
Баллы
8

darkdiver

Administrator
Команда форума
Регистрация
13.01.2009
Сообщения
2 284
Благодарностей
2 728
Баллы
113
Do you want to automate alert boxes of the site (these alert boxes are not produced by your Javascript action)?
 

V Munich

Пользователь
Регистрация
20.02.2014
Сообщения
85
Благодарностей
3
Баллы
8
I'm making an account verification bot.

I want to read the javascript alertboxes generated by the website I'm logging in with the accounts.

If the account being verified does not exist (Alertbox says: Account does not exist), the bot will set on my mysql DB that the account does not exist.
If the account/password is incorrect, the bot will set on my mysql DB that the password is incorrect.
If the login was successful, the bot will set on my mysql DB that the login was successful.

The only way to know for sure if the password is wrong, or if the account does not exist, is reading the javascript alertbox.
 

darkdiver

Administrator
Команда форума
Регистрация
13.01.2009
Сообщения
2 284
Благодарностей
2 728
Баллы
113
ok I will add task to add environment variable with latest alert text.
 
  • Спасибо
Реакции: V Munich и bigcajones

V Munich

Пользователь
Регистрация
20.02.2014
Сообщения
85
Благодарностей
3
Баллы
8

aleksa77

Client
Регистрация
30.09.2011
Сообщения
914
Благодарностей
90
Баллы
28
DD, is this same situation on site http://www.monova.org/ for option login ?

You can see this is javascript, , i was one time succes open this tab, but i can not repeat, i enable javascript, enable ajax , but can not again open ?
 

darkdiver

Administrator
Команда форума
Регистрация
13.01.2009
Сообщения
2 284
Благодарностей
2 728
Баллы
113
no this is the different problems.
I add task to the bugtracker.
 
  • Спасибо
Реакции: aleksa77

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113

V Munich

Пользователь
Регистрация
20.02.2014
Сообщения
85
Благодарностей
3
Баллы
8

Teko

Client
Регистрация
03.07.2014
Сообщения
35
Благодарностей
4
Баллы
8

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
You can find these variables in Evironmant tab.
 
  • Спасибо
Реакции: Teko

Teko

Client
Регистрация
03.07.2014
Сообщения
35
Благодарностей
4
Баллы
8
Wow, superb! Thank you.
 

Teko

Client
Регистрация
03.07.2014
Сообщения
35
Благодарностей
4
Баллы
8
How I can clean Page.LastAlertText?
After successful end of the project and run next iteration, {-Page.LastAlertText-}==last error message.
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
This variable should be cleared on restart of project.
You can't set it to blank within a project.
 

Teko

Client
Регистрация
03.07.2014
Сообщения
35
Благодарностей
4
Баллы
8
It will be good to clear Page.LastAlertText before (re)start project in PM.
Now it stays with old value even after reopen project. (In ZP all right)
 

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