Click here to Skip to main content
15,887,596 members
Home / Discussions / C#
   

C#

 
AnswerRe: run time validation for text box Pin
Gerry Schmitz24-Sep-15 9:01
mveGerry Schmitz24-Sep-15 9:01 
QuestionC# UserControl Inheritance Pin
didydj24-Sep-15 1:40
didydj24-Sep-15 1:40 
AnswerRe: C# UserControl Inheritance Pin
OriginalGriff24-Sep-15 2:19
mveOriginalGriff24-Sep-15 2:19 
AnswerRe: C# UserControl Inheritance Pin
BillWoodruff24-Sep-15 7:13
professionalBillWoodruff24-Sep-15 7:13 
AnswerRe: C# UserControl Inheritance Pin
Gerry Schmitz24-Sep-15 8:56
mveGerry Schmitz24-Sep-15 8:56 
GeneralRe: C# UserControl Inheritance Pin
BillWoodruff24-Sep-15 12:18
professionalBillWoodruff24-Sep-15 12:18 
AnswerRe: C# UserControl Inheritance Pin
didydj28-Sep-15 4:07
didydj28-Sep-15 4:07 
Question(Selenium web driver using c#)How to make the webdrivers.exe path to environment varibales in my local machine Pin
Member 1200855524-Sep-15 0:47
Member 1200855524-Sep-15 0:47 
Hi Gautham,

Nice to see your article on Selenium webdriver using C#

I have gone through one of your article-(Automated Testing Of Web Pages Using Selenium-Web Driver).In that i have few doubts

1.How to add the all(chrome,iedriver exe) files folder to enviornment variables in my local machine.Please take a look and help me on this issue.
2.I have written n ran code like below,getting error as source code not found.please see the screen shot also.

public static IWebDriver InitializeDriver()
{
//if (WebDriver == null)
// {
//string DRIVER_PATH = @"C:\Web drivers\IEDriverServer.exe";
string browser = Convert.ToString(ConfigurationManager.AppSettings["BrowserType"]);
switch (browser)
{
case "ie":
WebDriver = new InternetExplorerDriver(@"C:\Web drivers\IEDriverServer.exe");
return WebDriver;
//break;
//case "FF":
// WebDriver = new FirefoxDriver(DRIVER_PATH);
// break;
case "chrome":
WebDriver = new ChromeDriver(@"C:\Drivers\BrowserDrivers\chromedriver");
return WebDriver;
//break;
default:
WebDriver = new FirefoxDriver();
return WebDriver;
//break;
}
// }
}
AnswerRe: (Selenium web driver using c#)How to make the webdrivers.exe path to environment varibales in my local machine Pin
Pete O'Hanlon24-Sep-15 0:54
mvePete O'Hanlon24-Sep-15 0:54 
QuestionNewbie: code doesn't return result, could someone please help? Pin
Member 1200834023-Sep-15 23:41
Member 1200834023-Sep-15 23:41 
AnswerRe: Newbie: code doesn't return result, could someone please help? Pin
OriginalGriff24-Sep-15 0:14
mveOriginalGriff24-Sep-15 0:14 
QuestionRe: Newbie: code doesn't return result, could someone please help? Pin
Richard MacCutchan24-Sep-15 1:13
mveRichard MacCutchan24-Sep-15 1:13 
QuestionMAKE AUTOMATIC NUMBER Pin
Saepul Bahri23-Sep-15 17:28
Saepul Bahri23-Sep-15 17:28 
AnswerRe: MAKE AUTOMATIC NUMBER Pin
Pete O'Hanlon23-Sep-15 21:09
mvePete O'Hanlon23-Sep-15 21:09 
AnswerRe: MAKE AUTOMATIC NUMBER Pin
OriginalGriff23-Sep-15 21:48
mveOriginalGriff23-Sep-15 21:48 
QuestionVIEW DATA FROM DATABASE Pin
Saepul Bahri23-Sep-15 17:24
Saepul Bahri23-Sep-15 17:24 
AnswerRe: VIEW DATA FROM DATABASE Pin
aarif moh shaikh23-Sep-15 19:24
professionalaarif moh shaikh23-Sep-15 19:24 
QuestionColor Calculation Pin
RadioButton23-Sep-15 13:27
RadioButton23-Sep-15 13:27 
AnswerRe: Color Calculation Pin
Ravi Bhavnani23-Sep-15 18:29
professionalRavi Bhavnani23-Sep-15 18:29 
QuestionLanguage Converter Pin
vish_jani23-Sep-15 1:51
vish_jani23-Sep-15 1:51 
AnswerRe: Language Converter Pin
Pete O'Hanlon23-Sep-15 2:29
mvePete O'Hanlon23-Sep-15 2:29 
GeneralRe: Language Converter Pin
Vish_jani23-Sep-15 3:13
Vish_jani23-Sep-15 3:13 
GeneralRe: Language Converter Pin
Eddy Vluggen23-Sep-15 3:25
professionalEddy Vluggen23-Sep-15 3:25 
GeneralRe: Language Converter Pin
Pete O'Hanlon23-Sep-15 4:24
mvePete O'Hanlon23-Sep-15 4:24 
GeneralRe: Language Converter Pin
Ravi Bhavnani23-Sep-15 18:31
professionalRavi Bhavnani23-Sep-15 18:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.