How to pass the browser type as parameter

Hi All,

I need to pass different browsers as parameter to open application in all browsers one by one.
Could you please suggest any idea for this issue?

Thanks,
Bala.

@Bala_Murugan_Kothand
have a look here:

for each typeArgument set to UiPath.Core.BrowserType
Statement: System.Enum.GetValues(GetType(BrowserType))

OpenBrowser Activity:
grafik

Hi,

Thanks for your reply. I need to read the browser value from excel file and send it as parameter to BrowserType values. How can I do it.

Attached the my script file for the same.

Thanks,
Bala.BlankProcess1.zip (14.1 KB)

@Bala_Murugan_Kothand
Have a look on this Playgame

  • fill in all Browsertypes into an input dialog as selection option
  • Using selected Browser Option for e.g. opening the particular browser

grafik

System.Enum.GetNames(GetType(BrowserType)) is returning a String()
DirectCast(BrowserType.Parse(getType(BrowserType), strBrowserTypeName),BrowserType) is returning the BrowserType based on the given String Name

So BrowserType Name can be retrieved from excel and be used for opening the particular Browser

1 Like

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