I’m trying to get the registration company number of a firm from a website. However, the Get Text activity is returning different elements from the webpage.
For ex:
I go to NewRegister > Enter 311584 in the “Enter a Name or Reference Number text field” > Choose Firm as the option and Enter > Click on the first firm that shows up > Capture the Registered Company Number
In this case, I correctly get the Registered Company Number.
I go to NewRegister > Enter 311584 in the “Enter a Name or Reference Number text field” > Choose Firm as the option and Enter > Click on the first firm that shows up > Capture the Registered Company Number
In this case, I correctly get the Registered Company Number.
I go to NewRegister > Enter 312026 in the “Enter a Name or Reference Number text field” > Choose Firm as the option and Enter > Click on the first firm that shows up > Capture the Registered Company Number
In this case, I am getting www.ibsbroking.com which is below the website element.
I’m using the below selector -
I have tried a lot of different selectors but it is not working.
How do I get the the correct Registered Company Number in both the cases?
Thank you for taking your time to answer my question. I tried using the above I got an error and it didn’t work. However, there are a couple of things that I want to highlight -
We are trying to get the Registered company number and not the firm reference number.
I have an excel sheet with more than 500 reference numbers. So it has to be dynamic.
@HS_Manohar Which part is dynamic I mean we are first entering register number.
Enter 312026 in the “Enter a Name or Reference Number text field” > Choose Firm as the option and Enter > Click on the first firm that shows up > Capture the Registered Company Number