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

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

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.
 
use "get url" ,compare the urls
 
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
 
It is in the Data action
 
Sometimes i add pause for X sec between actions and it works pretty good.
 
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.
 
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.
 
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?
 
Is there "select all" element presented on page when every items are deleted?
 

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