Thanks for this critical info.
I tried to build the process with 5 products and found out that the “eye” button plays a key role on the “visibility” of the details.
Explanation:
- When I open the link on the browser for the first time, the details are not visible (Like Yesterday).
- I search for a medicine and click the “eye”, the details will be visible. But there is a catch.
- The Website will display the details of only 1 medicine at a time. Example: I clicked the visibility for “Paracetamol”. You can see below, the details are visible but if I search for “Montelukast” (using URL), it will have the details of “Paracetamol”. This means that “URL based search” is not possible.
-
You Must search for the medicine on the search bar, click visibility, and then go to that URL/Tab. This must be done for each medicine.
-
This will solve the Visibility issue.
As for the Selectors Issue:
I have found out that the following details are present on the page:
Based on the type of medicine, the details will be visible. (Because medicines could be fluid, tablet, capsule, injection, etc and hence the details will also vary. For Example, some medicines strictly require Prescriptions, hence this detail will not be present on all medicines). I have selected 5 different medicines to demonstrate the same.
What Did I Do ?
- Use “Check App State”, to check whether medicine Code (detailcode) is visible. I have done the following under the “Target appears” sequence.
- Use “Get Attribute” activity for each of the data you wish to extract.
– Set “Continue On Error” to True. (if the detail is not present for that medicine)
– Set “Timeout” to 2.
– Attribute being fetched “visibleInnerText”.
– In the “Get Attribute” use Strict selectors Only. Use the “id” of the element (As shown in my excel column headers Or in my previous reply regarding inspect code)
Here, is the Sample Output after Running it:
Note: Handle the new tabs being created when you click the visibility buttons (I have not looked into it, as it is out of scope for this solution)
I hope the selector issue will be resolved with this. If so, do mark it as solution. If not, let me know for further queries.
Cheers.





