C# is a multi-paradigm programming language developed by Microsoft.

learn more… | top users | synonyms

1
vote
2answers
309 views

Selenium: Select 2nd item by both class and with certain text?

I am creating some test scripts using Selenium WebDriver in C#. The AUT contains a left menu in which the position/ordering of the links depend upon the 'User Preferences' and a lot of ...
1
vote
2answers
245 views

Handle drop down on web page dialog selenium C#

I am working on automation of a website using Selenium and C#, but I am stuck in a situation where on a button click a new webpage dialog opens and on that web page dialog we have to select some value ...
0
votes
2answers
67 views

Inconsistent behaviour of Click() in Selenium

I'm working on a Product automation(Web CMS), where element.Click() shows the inconsistent behaviour. Basically we are using, Selenium + Nunit GUI(unit testing framework) - To run the test cases from ...
3
votes
1answer
161 views

Explicit wait is not reliable with Selenium C#

While creating test scripts in Selenium WebDriver using C#, I have used Explicit wait (after going through this link) and have also gone through SO and SQA links for the same. So, I implemented it ...
2
votes
1answer
301 views

Downloading a file using Selenium Webdriver C# not working

I am using Selenium Webdriver with C# for creating Automation test cases and have encountered an issue i.e. not able to automate the file download windows pop-up. On doing search over web, I found ...
1
vote
1answer
27 views

How to capture image from webcam in selenum webdriver c#

I have to capture image using webcam and save as profile image. Below is the screen shot of my flash application . Below is the step I have to perform. 1) Click on allow 2) click on capture 3) ...
1
vote
1answer
21 views

Coded UI slows down in executing JS enabled fields

Coded UI test cases doesn't respond well on time if they encounter any field having JavaScript validation. Issue: Currently I am facing some issues with the time taken by Coded UI in execution of ...
1
vote
1answer
68 views

Accept SSL certificates in Selenium Opera C#

I am trying to launch an Opera web driver, but whenever I go to the homepage of the site under test, I get certificate errors. I have tried using the CapabilityType.AcceptSslCertificates = true: ...
0
votes
1answer
22 views

Software to Build a Selenium POM

I have a basic script that parses through HTML and creates a basic POM based on Inputs, Selects etc. It does a decent job but I was curious if there is any 'professional' or popularly used pieces that ...
0
votes
1answer
20 views

Running parallel scripting in Selenium Web driver for Firefox, do I need Selenium Grid?

I have a process, using Selenium Web driver for Firefox, for automatic look up for information on one specific site. Due to the volume of the data being looked up, I will need to run parallel ...
0
votes
1answer
194 views

Coded UI Test cases taking too much time to execute

Update: I used some hit and trial method for this issue and found that this issue of slowness occurs only when Coded UI (or my code) encounters any Date-Type text field. If there is no Date-Field over ...
2
votes
0answers
2k views

Coded UI - How write code to use existing browser (if exists) otherwise launch new browser window

I am stuck badly with this piece of code. I am trying to write a code to use existing Browser if it exists otherwise launch my website in new browser window. Currently, if browser is not open with ...
2
votes
0answers
784 views

Get Visual Studio (2013 Community) unit test execution messages

Hi, I'm trying to make "nice" test execution report and get next messages: Message StackTrace Elapsed time Test name and Test Outcome are easily taken as TestContext parameters, for output I'm ...
1
vote
0answers
78 views

PDF Automation using URL opened in Selenium, not a new URL

Currently im using Selenium Webdriver for c# and PDFBox to automate the PDF text of a report. Now, using PDFBox, we have the ability to parse a pdf given a URL link, with URL = new URL("link of ...
1
vote
0answers
50 views

Skipping iteration for test cases

This is a simulation of the test suite I want to run with selenium webdriver. Running through everything will generate 128 test-cases which are too ambiguous. I plan to reduce it to 32 by only ...
0
votes
0answers
8 views

Sikuli and it's effectiveness with .NET

I am researching a proof of concept for the automation tool Sikuli, and I work primarily at a .NET shop. I see a lot of videos using this product with Java and Eclipse. My question is simply: Does ...
0
votes
0answers
36 views

Selenium: any more ideas when everything fails but Sleep?

So... I have no idea why (well, probably Javascript) but here are the different issues with the code below. With a visibility/enabled wait, Selenium executes the Click() but it doesn't do anything ...
0
votes
0answers
16 views

Implications of UI testing in Linux instead of Windows

I'm currently working on parallelizing my Selenium tests using Selenium Grid and Docker. Right now my test suite is running on Chrome in Windows - the issue is that Docker can only create Linux ...
0
votes
0answers
12 views

Not able to locate chrome browser using Coded UI - C#

When I wrote the code for IE, it works: BrowserWindow browserWindow = new BrowserWindow(); BrowserWindow.CurrentBrowser = "ie"; browserWindow = BrowserWindow.Locate("Google"); ...
0
votes
0answers
98 views

Issue with Radio buttons selection in Coded UI

I am using Coded UI for creating some test cases for a web application, while doing the same I have encountered an issue. I am not able to select a Radio Button using their Displayed Text, however if ...
0
votes
0answers
76 views

How to organize tests and PageObject classes with FluentAutomation and MSTest (Cannot resolve symbol “I” error)

I am trying to run the example in the documentation here. I am using Visual Studio with MSTest, so I modified the code a little bit and it looks like this now: using System; using ...
0
votes
0answers
122 views

CodedUI [CUIT] doesn't work with Bootstrap Date Picker

I have been working with CodedUI in a bootstrap UI, which my currently working solution is built on. I recently noticed when automating the functionalities for a Smoke test, the recorded steps (CUI ...
0
votes
0answers
175 views

Selenium C# Why does Telerik Rad date picker clear its date text in the date picker text box when running tests?

using System; using System.Text; using System.Text.RegularExpressions; using System.Threading; using NUnit.Framework; using OpenQA.Selenium; using OpenQA.Selenium.Firefox; using ...