i have a silk scripts now i want to run the script in different browser. Right now we automated all the test cases in IE based now want to run the same script in FireFox/Netscape
my problem is, if i want run the script in IE just i want put name IE in Excel TestData based on that value my browser invoke only IE then my automation scripts will start execution in IE Browser. if i change instead of IE to Netscape in TestData Excel sheet my browser only invoke Netscape. so depending upon testdata by browser will invoke then it will start my testscripts.
Please let me know the solustion how i can solve the problem if i can run the script in different browser.if you have any code pls shared.
Instead you can use different option sets for each browser. For ex, You can have different OPT files for IE6, IE7, NN7, FF2.
Before running the scripts, choose the correct option set. Otherwise you can run from command prompt. In my prev company, I wrote batch scripts for each browser and used to run the batch file.
I also had the same problem where I setup scripts in IE but running in Firefox causes many errors. Even if I change the extensions it did not work. I'll need to try the .opt files to see if it's an easy fix!