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

  • Автор темы Автор темы V Munich
  • Дата начала Дата начала

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:

zF3xjET.jpg


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?
 
Alerts are blocked in projectmaker and zennoposter. They are blocked to prevent hangs of the browser.
 
Is there a way to allow them?
 
no there is no way.
why do you need them?
 
Do you want to automate alert boxes of the site (these alert boxes are not produced by your Javascript action)?
 
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.
 
ok I will add task to add environment variable with latest alert text.
 
  • Спасибо
Реакции: V Munich и bigcajones
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 ?
 
no this is the different problems.
I add task to the bugtracker.
 
  • Спасибо
Реакции: aleksa77
You can find these variables in Evironmant tab.
 
  • Спасибо
Реакции: Teko
Wow, superb! Thank you.
 
How I can clean Page.LastAlertText?
After successful end of the project and run next iteration, {-Page.LastAlertText-}==last error message.
 
This variable should be cleared on restart of project.
You can't set it to blank within a project.
 
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)
 

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