Use variable in selector

@Sarvesh11

And also show me original selector of this.

1

1 Like

@Sarvesh11

Your selector looks ok. Don’t know where is the problem.

I opened that site from my end. Tell me what you are trying to do here. Will check it and update you.

https://www.fwd.com.sg/car-insurance/comprehensive-motor-insurance/online-quote/#/quotation/quickQuestions

on this form i need to pass values dynamically…for now i m working on “year” field of “born in”
i want to select value dynamically over here…thanks for looking into this
Regards

@Sarvesh11

please check the attached workflow. Here, I cretaed one variable “year” of type string and passed into the selector. open that web page and then run this workflow.

selectYear.xaml (10.9 KB)

1 Like

Your solution is working fine i did the same thing but sometimes it works some time it doesnt it doesnt give any error thoughYearSelect.xaml (9.9 KB)

@Sarvesh11

Could you please try with Attach browser activity once.

Solution works; Just need to SimulateClick for each Click Activity

1 Like

Hi @Daun,

From starting and ending add double quotes (")

Check this new feature for this! How to use variables in selectors in Studio (dynamic selectors) without string manipulation! - #4 by lakshman

3 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.