Get the value on a webpage and value is a href

activities
studio

#1

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.


#2

Hi! Try using Screen Scraping!


#3

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


#4

Thanks Niket, will try.


#5

Ok vikas, will give a try using that activity.


#6

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

Capture2


#7

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


#8

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


#9

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)


#10

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


#11

Ok, vikas. Thanks.


#12

Ok Niket.


#13

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

Capture3


#14

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


#15

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.


#16

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.


#17

Tried screen scraping for the whole table or data scraping?


#18

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.


#19

Please provide the link to the website :slight_smile:


#20

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