Pick dynamic value from Web, tried * in selector but not working

Hi Team,

Can you please help - I am trying to extract data for different scripts (stock) in web, but it is not picking the value. I tried ‘*’ in selector inplace of value (3.60) but it is not working.

Selector: webctrl aaname=‘3.60’ parentid=‘knowledge-finance-wholepage__entity-summary’ tag=‘SPAN’ /

Error in case value change from 3.60 to something else:
Price: Cannot find the UI element corresponding to this selector: webctrl aaname=‘3.60’ parentid=‘knowledge-finance-wholepage__entity-summary’ tag=‘SPAN’

@dineshthaldi1

Is it possible to share the website or a screen of the selector ?

Link 1: value 3.60
https://www.google.com/search?q=Trident+ltd+Share+price+NSE&rlz=1C1CHBF_enUS833US833&oq=tri&aqs=chrome.0.69i59j69i57j35i39j0l2j69i60l3.2550j1j7&sourceid=chrome&ie=UTF-8

Link 2: value 2950
https://www.google.com/search?q=bajaj+finance+share+price+nse&rlz=1C1CHBF_enUS833US833&oq=baj&aqs=chrome.0.69i59l3j69i57j69i60l3j69i61.2183j0j7&sourceid=chrome&ie=UTF-8

@dineshthaldi1

What do you do, to get that informations ?

i am using screen scraping, it is working fine for all other values as they are in table for example: low, high, previous close etc (refer values below chart).
The only value which is not coming is the price which is above chart i.e. 3.60 and 2960 in case of the link provided

I tried edit Selector and putting * i.e. aaname =‘*’ in place of aaname =‘3.60’. But it is not working, only picking value for first link and not working for other links in loop (for each row)

@dineshthaldi1

I think you should consider making the title dynamic too…

sorry, unable to understand, have enclosed the screenshot

@dineshthaldi1

Try this :point_down:

<html app='firefox.exe' title='* - Recherche Google' />
<webctrl aaname='*' parentid='knowledge-finance-wholepage__entity-summary' tag='SPAN' />
1 Like

Thanks… I tried but it is also not working… it is not picking up the value (Price)…using Chrome… getting blank…

Hai@dineshthaldi1

Refer this, it may help u

1 Like

Hi @dineshthaldi1

Try with below Selector

<html app='chrome.exe' title='* - Google Search' />
<webctrl aaname='*.*' parentid='knowledge-finance-wholepage__entity-summary' tag='SPAN' />

Hope this helps

Thanks

1 Like

Hi@Sowndaryacse… it works… Thanks for your help :slight_smile:

Thanks all for your help and Swift response :slight_smile:

Your welcome :grinning: