3
votes
4answers
2k views

using Selenium 2 / Web Driver with C#

I have recently been looking at using Selenium 2 / webdriver for some automated web tests. The API looks great. However is it possible to record a test through the selenium-IDE and generate C# code ...
0
votes
1answer
70 views

How do I create a dynamic (?) variable in a function in C#?

My web.app is basically a calendar interface where you can add workouts to a day. I have a Helpers (class?) where I put all the functions just once so I can call them in other places. Sorry, it's been ...
0
votes
1answer
493 views

Selenium WebDriver 2.20 - IE 8.0 - SeleniumTests.Test.TheTest:System.InvalidOperationException : Could not find Cancel button

Following is the code I have wriiten to close the dialog with "Ok/No" button displayed on page load."The web page you are viewing is trying to close the window.Do you want to close this window?" is ...
0
votes
1answer
367 views

Dialog confirmation not working in Selenium RC with C#

I am trying to confirm a dialog pop-up in Selenium RC using C#. I recorded my steps in Selenium IDE and exported to C# (RC). The important part of the code is the following: ...
1
vote
0answers
299 views

"the type or namespace name 'TestSuite' could not be found (are you missing a using directive or an assembly reference?)

I am facing an error "the type or namespace name 'TestSuite' could not be found (are you missing a using directive or an assembly reference?)" Can anyone let me know whats the problems. I am using ...
0
votes
0answers
380 views

Exported Selenium IDE script in Visual Studio Issue

Using the Selenium IDE plugin for firefox I have created a working script that I want to use as part of a utility written in C# using Visual Studio. I have exported this script from the IDE and added ...
0
votes
0answers
98 views

iframes, OpenWindow AJAX and Selenium

I have nested iFrames, Frames, Window.Open (JavaScript), and AJAX just to name a few that make up my ASP.NET WebSite application. When I try to replay my Selenium script in IDE and it breaks with the ...