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

learn more… | top users | synonyms

0
votes
4answers
32 views

Im unable to locate the element to enter the text in the txt box in c#

i tried using xpath, Id to find elements. even though im getting the error "unable to locate the element" please can anyone help? HTML Snippet <input type="text" value="" maxlength="256" id="...
0
votes
3answers
51 views

How to automate functionality of this complex web application?

I am tasked with creating regression suite from scratch for this huge, confusing mess of a software. General idea is like this: 1) User presses "Create this thing", first step of thing creation is ...
4
votes
2answers
285 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
2answers
58 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 screenshot of my flash application . Below are the steps I have to perform: Click on allow click on capture click on ...
2
votes
2answers
550 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 ...
2
votes
2answers
311 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 ...
1
vote
2answers
736 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 factors/...
0
votes
2answers
25 views

I am unable to switch to popup window in c# selenium

I have to create a new record, for that a new popup window opens. so i am unable to switch to that window. I used this code to switch the popup window foreach (string handle in driver.WindowHandles) {...
0
votes
2answers
60 views

How to verify if a button is not clickable in Selenium (C#)?

Can anyone suggest a good method to use when you want to check if a element is NOT clickable. In one of my scripts, I'm trying to verify that a button clickable until a certain action is taken on the ...
0
votes
2answers
102 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 ...
2
votes
1answer
134 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: ...
2
votes
1answer
71 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 ...
1
vote
1answer
36 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 ...
0
votes
1answer
15 views

How to handle file upload through windows form when using selenium grid?

Writing tests with c#/nunit and running tests on the same machine i could use System.Windows.Forms, or call Autoit script to handle upload window that selenium cant interact with normally. But this ...
0
votes
1answer
174 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
1answer
376 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
864 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
32 views

Coded UI test cases not running on 64 bit machine

I have created some test cases in Coded UI on 32-bit machine and now I have got another machine for running these test cases (which is 64 bit machine), when I executed my test cases using that machine,...
1
vote
0answers
92 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 pdf");....
0
votes
0answers
25 views

How to Run Selenium webdriver c# script in Grid with different browser?

How to Run Selenium webdriver c# script in Grid with different browser? If the script is built in Nunit framework.
0
votes
0answers
6 views

How to get control inside Windows 10 mobile IE edge browser coded UI?

I was working on writing coded UI test automation where I need to get controls inside the IE Edge browser on Windows 10 mobile emulator. I am using coded UI universal platform for Windows 10 Phone.
0
votes
0answers
11 views

Selenium : NUnit: C#: I want the case is re executed one more time when it is failing

My Testsuite has a number of cases but sometimes it fails due to low internet connectivity(HttpsRespose) or (element not found) , I want the case is re-executed one more time when it is failing. ...
0
votes
0answers
13 views

Winforms+WPF Automation software tool

I work for an IT company which has two applications developed, one in Winforms and the other one in WPF (both of these apps comunicate with each other). I'm a QA Tester but I honestly don't know how ...
0
votes
0answers
67 views

Webdriver will not click checkbox

I am passing in the checkbox ID, grabbing the element and then if the checkbox is not checked I want to check it. It wouldn't check the box though, so I was debugging and then it worked when I added a ...
0
votes
0answers
33 views

how to run selenium scripts in already opened cef based application

How to run selenium scripts in already opened cefclient application.(CefClient is a sample CEF based application). How to get the window properties in selenium c#?
0
votes
0answers
22 views

Selenium automatically disposing the application after 60 seconds

am trying to automate CEF(Chromium Embedded Framework) Based application through selenium. am able to execute the .exe file by using setBinary function. after executing that selenium is not waiting ...
0
votes
0answers
59 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
27 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
38 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
82 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 Microsoft....
0
votes
0answers
150 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 ...
-1
votes
0answers
21 views

How to select option after clicking settings button in selenium c#?

I am unable to select options under settings button. I clicked on settings button using findelement(by.id("O365_MainLink_Settings")).click();. This is what I did by doing inspect element. But for to ...