Hi ,
Can any one suggest me how to convert an object variable to Uipath.Core.Browser type variable.
Thanks in Advance.
Hi ,
Can any one suggest me how to convert an object variable to Uipath.Core.Browser type variable.
Thanks in Advance.
Hi @Rajeswari24
click variables tab in down click variable type drop down click browse for types
Type name enter Uipath.Core.Browser and click ok type will be change.
Regards,
Kommi Jeevan.
I have an output variable whose type is Object. I want to convert that to Browser Type.
For example-
config(“browserType”) - this variable type is object , i want that to convert to Uipath.Core.Browser
Hi !
Same issue here. We want to use Config(“myBrower”) to transport Browser from one .xaml to another one.
How to cast Object → Browser ?
Alex
Did you find a way to do that? I would like to do that too
Hi Rajeswari,
hope this will help you
System.Enum.GetNames(GetType(BrowserType)) is returning a String()
DirectCast(BrowserType.Parse(getType(BrowserType), strBrowserTypeName),BrowserType
Regards,
Akhil B
kindly note:
this topic is in origin about converting an Object Variable to a Browser variable
the later mentioned Enum handling is a different case
For the Enum handling have a look here (also check the referenced ither topics)
that’s works for me.
Thanks!!