KAPOW

Welcome to the Kapow forum. Here you can get help, use your skills to help others and enjoy hanging out in the company of other Kapow Robot Developers.


How to direct d site to d currnt position using repeat step?????:confused:

Share

JK

Posts : 1
Points : 1560
Join date : 2013-08-14

How to direct d site to d currnt position using repeat step?????:confused:

Post by JK on Wed Aug 28, 2013 4:13 pm

How to direct d site to d currnt position using repeat step?????confused
avatar
Shyam Kumar
Ranks

Posts : 82
Points : 1746
Join date : 2013-07-05
Location : Kerala, India

Re: How to direct d site to d currnt position using repeat step?????:confused:

Post by Shyam Kumar on Thu Aug 29, 2013 11:04 am

Repeat action work together with the Next action. With out next action repeat step will not work. The Repeat action marks the start of the repeat loop. In a subsequent step, another iteration of the loop can be requested using a Next action. You should place a Repeat step followed at some point by a Next step. In each iteration of the repeat loop, another iteration can be requested using the Next action.

    We can give a purticular value or a current location in repeat step using your logic, I will give one solution,

    After repeat action step, add a new step for geting the repeat value,(Get Iteration action in loop tag), and map the variable. We can use an available variable in database, after that add new "Test Variables" action step. Before it you should add a Query Database action step in frond of the repeat action step, and use this a query same like,


Code:
select count(variable_name) as variable_name1 from database_name.table_name where(conditions)

Then give column to variable mapping for a purticular variable. Then test the variable
">="
to mapped varibale, and set error handling give the nearest iteration.


Working Process:

    First execute the query and get the count of the variable_name, after Test Variables action execute and repect iteratin automatically chainged based on our conditins. Here the Query Database action execute first time only.

                                           
                                                              ............It will work.

    Current date/time is Sun Nov 19, 2017 6:23 am