Manojrsr
7 years agoContributor
How to Retrieve Browser Name from External File
I have to retrieve Browser value from CSV File,
In CSV file , Browsername is 14th col (btFirefox), so i used Driver.value(14).
How to use browser name in CSV File
Error Occurs :
The specified browser 'btFirefox' was not found in the collection of the supported browsers. To specify a browser, use either the btIExplorer, btFirefox, btChrome or btEdge constant, or use the browser's index (zero-based) in the collection.
I have written script to launch browser.
function launchBrowser(page,browser,Driver)
{
Browsers.Item(Driver.Value(14)).Run("AppURL");
page=Sys.Browser().Page("*");
}