How to ensure that after "Click" , the next page loads before going to next step

blizzstorm

Новичок
Регистрация
13.01.2014
Сообщения
7
Благодарностей
0
Баллы
1
As above, i would like a "click" button , the page loads before going to the next step just like when you click a hyperlink(the page loads before moving to next step). Currently after click button, it goes to next steps and causes problems as the next step does something on the next page.
 

enrc66

Client
Регистрация
12.10.2013
Сообщения
89
Благодарностей
8
Баллы
8
use "get url" ,compare the urls
 

rostonix

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

blizzstorm

Новичок
Регистрация
13.01.2014
Сообщения
7
Благодарностей
0
Баллы
1
Not too sure if i understand how it works as i used the recorder for some of the steps

my current step is
1)Go to Page www.page.com
2) Click checkbox to "select all"
3) Click "Delete" button (a pop up message to confirm pops up)
4) Click "Ok" on pop up box

Once the new page loads after clicking "OK" , i would repeat No. 2-4. But if page is not loaded, No. 2 will produce an error.

How do i use the above take current URL you recommend above? sorry am a beginner in this
 

bigcajones

Client
Регистрация
09.02.2011
Сообщения
1 216
Благодарностей
683
Баллы
113
It is in the Data action
 

azp

Client
Регистрация
26.12.2012
Сообщения
52
Благодарностей
3
Баллы
8
Sometimes i add pause for X sec between actions and it works pretty good.
 

nitin2003

Client
Регистрация
18.09.2012
Сообщения
195
Благодарностей
11
Баллы
18
On failure of this action, add the same action one more time. This way it will try to reload the page at least one more time.
 

blizzstorm

Новичок
Регистрация
13.01.2014
Сообщения
7
Благодарностей
0
Баллы
1
Thanks all. I know i have been advised to use take URL, but am not sure what settings or what exactly this function does?

i currently also use pause( 15 seconds) which makes sure after the button click the page loads before going to next step, but when the internet connection goes slow, the problem comes again. and i cannot pause too long, as the program is suppose to run in loops as many times possible.
 

rostonix

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

blizzstorm

Новичок
Регистрация
13.01.2014
Сообщения
7
Благодарностей
0
Баллы
1
Thanks rostonix.

But on another part of my script, the same thing happens But the page remains the same.
1)Go to Page www.page.com
2) Click checkbox to "select all"
3) Click "Delete" button (a pop up message to confirm pops up)
4) Click "Ok" on pop up box
5) The same page reloads with all the items deleted.
6) Process another function when all items deleted. (so need all the items deleted after clicking "ok" before this function starts, If internet connection lags and the items are not deleted, the other function will screw up )

So URL is the same, will not be able to compare.

any ideas?
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 715
Баллы
113
Is there "select all" element presented on page when every items are deleted?
 

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