I wanted to create a script which will perform some operations on website application…
Scenario:-
- We have an order history page on our website. Within this page, we have a list of orders organized by customer.
- I am going to pass an order number via a configuration file.
- We need to verify whether the given order number is present on the order history page. Once it is found, we need to perform validation for that order number using activities such as “Get Text” and “Click.”
Note: The order number we provide may not always appear at the top.
Is it possible to do?
Thanks & Regards
@Palaniyappan
I am able to retrieve all the order numbers using the data scraping method. However, the challenge I am encountering is that the order number I am providing is not always in the top position; it may be in the 2nd position or even the last. When creating the script, we are currently capturing the element for the first order only. How should we capture the element based on the order number provided?
Thanks & Regards
How is the output looking after scrapping
Can u share that as a screenshot
@Kunal_Mhetraskar
@Palaniyappan

Now, let’s consider that in the configuration file, I have provided an order number that is located in the 3rd position within the data table. So, I can identify that order number within the data table by comparing it to the input order number. However, if I wish to perform operations specifically on this 3rd order, is that feasible?
Additionally, I am also capturing other fields, such as the products in that order. How can I capture those fields as well?
Can anyone help me on this ??
Thanks & Regards