Unable to automate get full text activity

I am trying to automate get full text where I am supposed to go to an application and enter an account no, then I am suppose to get the data (Under get full text) and got to the next pages and finally come out after covering all pages.

I am able to yo it for 1 account only. The challenge I am facing is when I am trying to do same activity for account no 2 its not working because the number of pages differs to account no 1 (may be more or may be less).

In my case :
The first screen has data (the screen that we get after entering account no) and it will have a drop-down (it looks like drop-down but works like a next button) to go to the next screen (so before clicking on drop-down I am doing get full text to capture all the data available in the current screen)

And after clicking on drop-down I am getting diverted to next screen where I am suppose to the same get full text activity

This process will continue till the time we reach to a screen which does not have any data and there will be a popup stating about no data available and to click on “OK”

Is there a way we can automate this for multiple accounts

@dipon1112000

Please use Wildcard (*) in Title of the Selector.

So, it will not depend on any account.

Hope it will helps you :slight_smile:
Cheers!!

Hi thanks but this did not work

Can you share the image what you are doing and where you getting the error.
Then it will be helpful to answer.

Thanks

@dipon1112000

  1. Use a For Each Activity:
  • Drag and drop a “For Each” activity.
  • Set the collection to the list of account numbers you want to process.
  1. Enter Account Number and Extract Data:
  • Inside the loop, use the “Type Into” activity to input the account number.
  • Use the “Click” activity to click on the drop-down or next button.
  • Use the “Get Full Text” activity to capture data from the current screen.
  1. Check for No Data Popup:
  • Add an “Element Exists” activity to check if the popup with the message “No Data Available” exists.
  • Use an “IF” activity to handle the scenario:
    • If the popup exists, add a “Click” activity to click “OK” and then use the “Continue” activity to go to the next iteration.
    • If the popup does not exist, continue with data extraction.
  1. Continue to Next Page:
  • After extracting data, add the necessary activities to navigate to the next page (e.g., click on the next button).
  1. Exit the Loop:
  • Continue this process until you reach a point where there’s no more data to retrieve.

Thank you for helping but I am not sure how to set collection to the list of account I for each activity

I was doing assign activity where Account (string) = CurrentRow(0). toString (under For each data row)

So do you mean the variable for Account should collection

I am not sure how to do this
(Set the collection to the list of account numbers you want to process.)

Can provide the step pls

Can anyone help pls as I am not sure of this step

(Set the collection to the list of account numbers you want to process.)

Can you share a work flow please

I have done element exist followed with if activity in which I have used click activity to click on ok and then a continue activity but it seems that the next page is getting picked but full text is not getting captured

@Nawazish_Ahmad

Can anyone help pls me with a resolution