the judgment about tab

enrc66

Client
Регистрация
12.10.2013
Сообщения
89
Благодарностей
8
Баллы
8
Hello,admin

In pm .there is a problem about tab that how do we judge the new tab is open or not 。

our case is :by mouse emulation click,there will a new tab,but ,we can't judge the new tab is open correctly, otherwise we can't do next .


how do you resolve this problem?


thankyou
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 812
Благодарностей
1 187
Баллы
113
Hello,admin

In pm .there is a problem about tab that how do we judge the new tab is open or not 。

our case is :by mouse emulation click,there will a new tab,but ,we can't judge the new tab is open correctly, otherwise we can't do next .


how do you resolve this problem?


thankyou

Can you please explain how new tab can open NOT correctly ?
 

enrc66

Client
Регистрация
12.10.2013
Сообщения
89
Благодарностей
8
Баллы
8
the new tab is open by mouse emulation click,or by click picture ,but ,the picture is not found correctly,
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 812
Благодарностей
1 187
Баллы
113
the new tab is open by mouse emulation click,or by click picture ,but ,the picture is not found correctly,
If picture is not find correctly and new tab is not opened then you will get error when trying to click on element in new tab. This is way how you can know is there tab opened or not.
 

enrc66

Client
Регистрация
12.10.2013
Сообщения
89
Благодарностей
8
Баллы
8
If picture is not find correctly and new tab is not opened then you will get error when trying to click on element in new tab. This is way how you can know is there tab opened or not.
I see what you mean,but ,the problem to be resolved is how to deal with the next step in project is decided by the new tab open or not,

In other words, the zp (not only me) must know the new tab open or not , to deal next step by different method.

(I know there is the 'bad end' in pm,but it only excute one ,not loop. what i need is the loop ,until to open the new tab correct, that's the key problem )
 

bigcajones

Client
Регистрация
09.02.2011
Сообщения
1 216
Благодарностей
683
Баллы
113
Can you search for something on the tab? If so, if it is not found do an unsuccessful exit(red dot) off of that and loop back up, keep checking until the tab is opened and the element on the tab is found.
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 812
Благодарностей
1 187
Баллы
113

enrc66

Client
Регистрация
12.10.2013
Сообщения
89
Благодарностей
8
Баллы
8
I know the red bad end, i also have said ,it is only excute one time, can't loop until what you want.
 

enrc66

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

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 812
Благодарностей
1 187
Баллы
113
I know the red bad end, i also have said ,it is only excute one time, can't loop until what you want.
There is not only big red dot bad end possible to use. There is also possible to use small red dots from every action.

Capture.JPG

no ,

there is mouse click by mouse emulation in my project, the element to be clicked is not static,

and mouse emulation clicking is also needed !

I'm pretty sure that you do not need to use mouse emulation or even search by picture.
Because search by picture is designed to click on elements in flash websites.
Also mouse emulations is designed to use if you want to make websites unable to determine that you use bots.
Example google using such approach to determine if this is bot or human.

Cheers
 

enrc66

Client
Регистрация
12.10.2013
Сообщения
89
Благодарностей
8
Баллы
8
There is not only big red dot bad end possible to use. There is also possible to use small red dots from every action.

Посмотреть вложение 4763




I'm pretty sure that you do not need to use mouse emulation or even search by picture.
Because search by picture is designed to click on elements in flash websites.
Also mouse emulations is designed to use if you want to make websites unable to determine that you use bots.
Example google using such approach to determine if this is bot or human.

Cheers
I see what you mean ,i have a try, thank you,

in fact ,my purpose is that make the website unable to determine whethe I use bots.

seo ,as well as we know:-)
 

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