Get the value on a webpage and value is a href

Hai,
In my requirement, I need to get the value as shown in the screenshot below, but that value is a hyperlink. Can I know which activity should be used to get that value.

Capture1

Thanks,
Sushmitha.

Hi! Try using Screen Scraping!

Use Get attribute activity, where attribute is ‘aaname’. You’ll have it.

Thanks Niket, will try.

Ok vikas, will give a try using that activity.

Hi vikas, am getting the below error while using the Get attribute activity.

Capture2

Vikas, my requirement is on WebPage!! so can I use screencraping?

Yes sure you can use screen scraping, there is no constraint that you cannot use screen scraping in web pages!

Hey Sushmitha,

I just gave an example here
open https://www.bseindia.com/ in IE, execute the attachment.

In your case find a generic selector (Use Ui Explorer). Which would work for dynamic data populated in it.

Regards,
Vikas ReddyPickData.xaml (7.0 KB)

As @Niket_Ghai Suggested, you can try this if you are in not in-line with my solution.

Ok, vikas. Thanks.

Ok Niket.

Vikas, I run the given xaml file. But got the same error .

Capture3

Sorry Vikas. I got the output. Previously I didn’t indicate on the screen.

Vikas, from the below screenshot ,
Capture4

I need to get those values and put them in the excel sheet as shown below.

Date, Base_Currency, To_Currency, Conversation_Rate
July 16, 2018, USD, GBP, 1.31593

Can you give me any suggestion for that.

Thanks.

Capture4
I need to get those values and put them in the excel sheet as shown below.

Date, Base_Currency, To_Currency, Conversation_Rate
July 16, 2018, USD, GBP, 1.31593

Can you give me any suggestion for that Niket!?

Thanks.

Tried screen scraping for the whole table or data scraping?

Yes Niket, tried screens scraping for the whole table and getting empty in the output( message box).

Main.xaml (10.3 KB)

Above attached is the xaml file I tried Niketh.

Please provide the link to the website :slight_smile:

https://www.x-rates.com/