How to pass variable into url

Hi Guys:

my selector html app=‘chrome.exe’ title=‘E-Way Bill System’ url=‘https://ewaybillgst.gov.in/BillGeneration/EwayBillPrint.aspx?ewb_no=601043764850

want to pass variable ewb_no

i have passed variable like 'html app=‘chrome.exe’ title=‘E-Way Bill System’ url=‘https://ewaybillgst.gov.in/BillGeneration/EwayBillPrint.aspx?"+ewn_no+"’

but doesnt work, please help

1 Like

Hi Smita,
Try this
ewb_no is a variable which keeps changing.
“html app=‘chrome.exe’ title=‘E-Way Bill System’ url=https://ewaybillgst.gov.in/BillGeneration/EwayBillPrint.aspx?ewb_no=”+ewb_no.tostring

1 Like

@smita.mobifly as you can see the initial selector ewb_no=601043764850 the number get changed every time you get new ewb_no if you want to pass variable to that keep **ewb_no=**as it is and pass variable for only that number.just try this once.
"html app=‘chrome.exe’ title=‘E-Way Bill System’ url=‘[https://ewaybillgst.gov.in/BillGeneration/EwayBillPrint.aspx?ewb_no="+variable+"
let me know if any thing goes wrong

1 Like

Hey buddy @smita.mobifly

Try like this buddy
html app=‘chrome.exe’ title=‘E-Way Bill System’ url=‘https://ewaybillgst.gov.in/BillGeneration/EwayBillPrint.aspx?ewb_no=’ " + ewb_no.ToString + " ’

Kindly try this and let know buddy
Cheers

1 Like

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