Support > Forums > OpenBots Studio > How to define variables
I have been trying to follow the self training videos and getting stuck with my very first bot, since in the video it says to enclose variables in "(" and ")", whereas in the visual studio it doesn't accept it (throws error) Also there is no "Create Browser" command as per the video but there is a "Selenium Create browser" command instead. Are the two same? Also in this command, there is a need to specify a "Browser Instance Name", but when I try any name, enclosing it in all types of brackets or even "", it throws an error.
Clearly the videos and the studio are out of synch. Very frustrating. Can someone please help?
This forum has 317 topics, 687 replies, and was last updated 4 months ago by Nataly Alvarado...
Hello, I had the same issue with variables I think you can use the Selenium Create Browser, that work fine for me
In the field if you want add text you have to put " (double quote) before and after like that : "This is a text" If you want add a variable you have 3 option:
In the main vue, below the ProjectPath variable you had a variable like vBrowser with the type OBAppInstance for the Browser Instance Name
In the command vue you clic on the field and do a CTRL+K to create a variable
Your variable is already exist so you can click on the "insert variable/argument" to select it
Hope it help, Have a good day
You are not authorized to reply, please click here to login and add your reply to this topic.