UiExplorer dynamic elements selector not working


#1

Hi Guys,
I’m trying to extract prices from Yahoo Commodities.
However, when I try the selector below, it does not work. This was the one given in the practice solutions.

<html title='Commodities Futures - Yahoo Finance' />
<webctrl aaname='*&quot;  + selectedCommodity +    &quot;*' tag='TR' />
<webctrl colName='Last Price' parentid='commoditiesInner' tag='SPAN' />

I used Internet Explorer and url is https://finance.yahoo.com/commodities

This is my XAML file.GetYahooCommodoties.xaml (6.6 KB)

I dont fully understand how did the answer get colName='Last Price' and parentid='commoditiesInner'

Thanks


#2

Hi @mingerz i dont get your question clearly but if you want to extract Last price from the yahoo commodities the use
use web recording from recording action–>>go to the page of commodities by click actions—>>
scrap data option—> click on the first price a popup will come and ask you wether you want whole table or only the Last price column to get complete table click yes and to get only last price click NO
—>again a popup will come and ask you to select a pattern click on the second price in the last price column and you will see the all the prices from last column being scraped.

The selectors are automatically generated but if you want to edit selectors you can use ui explorer.

Regards
Nara