Cannot fetch values from terminal

Hi, In the terminal, I want to know the status of only one batch among 5 different batches. For this using while loop,
Condition - batch number is not equal to current batch number then index (coordinates) ++

Outside while loop , if statement - if batch number is equal to current batch number then do the following task

On running the code - infinite loop is running. Why ?

Also, Is there any other way to store terminal screen data into excel within table format so that I can easily use excel.

Please suggest the logic and activities to be used. Thanks :blush:

You can run in debug mode to understand why you do not exit the loop. Perhaps you need extra conditions like index <= 5.

As for the other question, you can use Get Screen Area activity to retrieve the tabular part of the screen and then feed the output into a Generate Data Table From Text activity (from the System package). You get a DataTable that you can easily iterate through.

Hi, Thanks for helping. I have used the index method and it worked😊

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.