zennoposter run html element index was outside the bounds of the array

Mankush

Client
Регистрация
31.10.2011
Сообщения
189
Благодарностей
17
Баллы
28
I`m trying to find an element by a certain attribute name and value.
When I have my element tree window and element properties windows open - this works fine. from the action designer. it find all the elements.

But, when i close those windows - it does not work while debugging - claiming that "zennoposter run html element index was outside the bounds of the array".

Any ideas why is this happening or how to solve it?
 

Вложения

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 715
Баллы
113
Cause leftintab position changes.
use leftinbrowser
 
  • Спасибо
Реакции: Mankush

Mankush

Client
Регистрация
31.10.2011
Сообщения
189
Благодарностей
17
Баллы
28
I have tried writing "leftinbrowser" instead of "leftintab" - but it cannot find my element.
It does not state "leftinbrowser" in the element properties.
Any ideas how to work around this issue...?
 

Вложения

Mankush

Client
Регистрация
31.10.2011
Сообщения
189
Благодарностей
17
Баллы
28
Found it manually, and it`s working, like you suggested
thank you : )
 

Mankush

Client
Регистрация
31.10.2011
Сообщения
189
Благодарностей
17
Баллы
28
My joy was too soon ...
Now trying to run it the poster - does not work.
Any ideas how to solve this?
 

Mankush

Client
Регистрация
31.10.2011
Сообщения
189
Благодарностей
17
Баллы
28
And if I change the value to variable (but with the same value) - it wont even work in project maker
 

Mankush

Client
Регистрация
31.10.2011
Сообщения
189
Благодарностей
17
Баллы
28

bigcajones

Client
Регистрация
09.02.2011
Сообщения
1 216
Благодарностей
683
Баллы
113
It would help if we knew what site, what link you are trying to press. Then we could look and see if we could help you out.
 

Mankush

Client
Регистрация
31.10.2011
Сообщения
189
Благодарностей
17
Баллы
28
The website is facebook. the element to click is the "like" button - but specifically the "like" button for the posts - not the "like" button of the comments.
When I try using leftinbrowser with 196 - it`s working perfect in project maker. when trying using variable in project maker - it does not work. when trying to make it work in zennoposter - it does not work
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 715
Баллы
113
Element should be visible in browser (not outside of visible area) in order to operate with it's coordinates.
In next build there will be new method which will help to scroll to element.
 
  • Спасибо
Реакции: bigcajones и Mankush

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