i have data-table stores data from from Excel file, using the “Get Row Item” activity i am typing the value into an application using “Type Into” Activity with expression - //row.itemArray(0).ToString//. i have condition if the value of the row does not appear while searching on the application i wanted it to skip to the next row and loop each row until it find the search result in the application.
i tried few thing and it did not work and i am just a beginner to programming and condition
i am using If statement below “Element Exist” Activity and it works, but i dont know how to increment to the next row.
Dears,i have uploaded my Xaml file, i am using the For each row activity. still i could not understand.
picture contains were i stuck. picture is part of the xaml file.
@ Madhavi, hi i am using the “for each row” the looping working fine and incremental is working fine,but what i wanted to achieve is how to increment if an if condition fails within the current For Each row loop.
Even though if there is a condition failing, if you haven’t specified a break activity within for each row, automatically the control will increment the element.
But if you are speaking about an unexpected exception inside the loop, then enclose the section inside the for each row (body sequence) in try catch block and when an exception occurs, the control then goes to the next element.
Can you please explain the flow where you are facing a break now. and if you can send the workflow, we can review and update it
i have only one for each row loop starts for a each number in a datatable, for loop starts with the 1st mobile number and searches the service provider website to download the bill, during this it goes through series of condition in that one if condition is when it tries to search a for mobile number and service provider website does not return a result, at this stage i want to increment to next number, if the number is found it will navigate to next page and download the bill.
Also i will try your suggestion of enclosing this condition at the body sequence and let you know,
i have attached the workflow for you review