Questions regarding automation of web applications for testing purposes according to specific of used web browser.

learn more… | top users | synonyms

3
votes
2answers
205 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 ...
1
vote
1answer
240 views

RFT 8.6 : Failed to enable Firefox31.4 ESR and IE11 browser with JRE 1.7 on Windows 7 Professional SP1 ( 64bit)

I am trying to configure RFT 8.6 with the installed browsers but getting errors while doing it, below are the configurations details of my setup followed up with the error I am facing... RFT 8.6 on ...
0
votes
1answer
251 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 ...
1
vote
3answers
60 views

How to take the screenshot of a window based GUI application?

I am automating tests of a GUI application similar to calculator. I am using Java and AutoIt for implementing the test cases. I need to take screenshot on failure. I have tried taking screenshot ...
0
votes
2answers
132 views

Coded UI Test case execution issue

I have some Coded UI test cases which are using external files e.g. XML files that contains the Element Name and ID to be located over a page. This XML file is used by Test Cases (under TestMethod ...
2
votes
4answers
204 views

How best to test file download links using Selenium

On a website I am testing we have various links that download PDF files to the users computer. Our selenium suite runs nightly on bamboo, if we were to download the various files overnight it ...
3
votes
4answers
95 views

What to ask programmers before automating with Selenium

What points should I discuss with frontend programmers when preparing a product on which, as a tester, I will use Selenium to automate? I am referring to things like, no dynamic ids for elements etc. ...
1
vote
1answer
23 views

Automating web app screenshots and inputs [on hold]

Good day, I've been working for some time now on a web app and recently my workload has grown tremendously. I have to take presentable (showing correct info and setup) screenshots for our product and ...
0
votes
0answers
16 views

how to use dumbster

public class Email_Dumbster extends TestCase { public Email_Dumbster(String s) { super(s); } public void testSend() { SimpleSmtpServer server = SimpleSmtpServer.start(); Properties ...
1
vote
2answers
52 views

How to automate UI testing of an app using a Google login

We are using a testing framework composed of robot-framework with ExtendedSelenium2Library that our developers are using to write acceptance tests. Our Web site has several auth options, including ...
0
votes
2answers
71 views

How to Automate Repetitive Web Browser Tasks?

How can I automate a task which has to be run repetitively. I have to Enroll Merchants by pulling Merchant Details from an Oracle DB. These Merchant Details are to be filled in a web form, thus by ...
2
votes
3answers
63 views

What do I need to do if dropdown takes more time to populate 1st element from dropdown list?

What do I need to do if drop down take time to populate 1st element from drop down list? Select Cdropdown = new Select(driver.findElement(By.xpath("//select[@id='ClientId']"))); ...
1
vote
1answer
89 views

Need help to find Selenium Webdriver contents and the learning sites [duplicate]

I am a beginner to Selenium Webdriver.I know some basics of it but don't have whole contents about selenium webdriver with me which I should learn.I also know java and its concepts very well.So, I ...
0
votes
3answers
38 views

xpath - element is not located even when I construct the xpath

element is not found //HTML Code <input type="text" maxlength="61" style="width:185px;" value="" name="name73652d80" onblur="fieldTrack(this); "/> input type="text" onblur="fieldTrack(this);" ...
1
vote
2answers
439 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
1answer
267 views

How can I bring Chrome browser to focus when running a Selenium test using ChromeDriver on Mac?

When executing a Selenium test with ChromeDriver, I would like to bring the test browser into focus to see the actions taking place. The way I am able to do that now is by manually clicking the ...
2
votes
1answer
197 views

Automating Chrome on Windows 8.1 with JavaScript using Selenium's WebDriverJS

I'm automating Chrome on Windows 8.1 with JavaScript using Selenium's WebDriverJS. 1) To get started with WebDriverJS for Node, I downloaded a copy of the ChromeDriver and selenium-server-standalone ...
1
vote
1answer
52 views

Driver lost focus

I have one test case with java selenium webdriver. When I go to the login, everything is OK, but when I go to the other click in the new show, driver can´t find the object. Selenium IDE captured the ...
0
votes
2answers
656 views

Selenium - How to get table rows visible in the dialogbox?

In a Selenium Junit test, for a table with 'n' rows in a dialog box of a webpage, I am able to calculate number of rows using Table.size() (Table is a List of elements which finds elements with tag ...
0
votes
1answer
55 views

How to locate Facebook POST button using Java selenium web driver?

Code: driver.findelement(By.xpath(".//*[@id='js_2y']/div[4]/div[2]/div/div[2]/div/button")).click(); Every time I try by locating xpath, it's gives an exception, could not locate element. May 04, ...
4
votes
1answer
1k views

What Is the Best Way To Mock Browser Time and Time Zone in Selenium?

I like to run Webdriver tests with altered time and time zone. I see two approaches ahead: 1) Using a mocking library like SinonJS or TimeShift.js. 2) Using system libraries like ...
0
votes
1answer
20 views

Why does my capybara element.click not work in Safari?

I am using rspec-capybara for my tests and I am clicking on a button which had been placed there through Javascript (ajax). Clicking on the button works when using WebDrivers for Chrome, Firefox and ...
1
vote
1answer
30 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
2answers
108 views

QTP 11.0 not recording actions in IE 11

I am trying to do simple recording of actions in Web-page using HP QTP 11.0. QTP is ran under admin user. The settings used are: Record and Run Settings > Web > Open the following address when a ...
0
votes
2answers
43 views

How to select a record by applying filters in columns using Selenium Webdriver?

I am a test automation engineer and use Java with Selenium Webdriver for scripting my tests. My question is this- A webpage has a header with columns, along with column filters. It is similar to MS ...
2
votes
2answers
75 views

How to set ComboBox value in Coded UI using Value Attribute?

In coded UI is there a way to set the value of a ComboBox using the value of Value Attribute. Consider the following Html of a ComboBox: <select name="ParametersID" tabindex="-1" title="ABC" ...
0
votes
0answers
10 views

Does anyone have experience of automating ZK based applications?

Does anyone have experience of automating multi browser web based applications using the ZK platform, and if so which tool did you use and how have you overcome the UUID issue?
0
votes
1answer
632 views

Logging in Selenium Webdriver using Log4net [duplicate]

I am using log4net for creating execution logs of test cases which are created and being executed using Selenium Webdriver in C#. I was able to implement the logging functionality but I am facing an ...
1
vote
2answers
397 views

C# Selenium Webdriver “The path is not of a legal form.” [closed]

Running firefox portable (which I know used to work) is now producing an error "The path is not of a legal form." when trying to load profile. var binary = new ...
2
votes
2answers
1k views

How to edit field in Robotframework using Selenium2library

My problem is being unable to enter text in login and password fields in certain page. I would like to know how to be able to enter text in this situation. I have been able to automate entering text ...
2
votes
3answers
2k views

Selenium Web driver and Mozilla Firefox Compatibility

Currently am using selenium-java-2.53.0,can you tell me which is the most stable FF version for it.
0
votes
1answer
26 views

Automation script for Minimal Form Interface with dynamic ids [duplicate]

I am trying to automate a minimal form interface using Selenium to capture an element & later Java code. But the challenge is the minimal form has only one input container which is constantly ...
0
votes
1answer
32 views

Not able to click Left Navigation icon using Coded UI

I am using Coded UI for creating Automated test cases and have encountered an issue. There is a menu icon inside on the Homepage and clicking on this icon will expand the Left Navigation, so that user ...
5
votes
1answer
145 views

What language/protocol do web browsers use for accepting automation requests?

The WebDriver API allows browsers to be automated, such as for end-to-end testing. Specific implementations exist, such as the standalone ChromeDriver or InternetExplorer Driver executables or the ...
1
vote
2answers
839 views

Executing on a selected node in selenium grid

I have one scenario i.e.. I have one web view to take all actions(click,send-keys,opening new window) and locator types(ex: xpath,id,name and cssClassName) with these values I am going to create a ...
0
votes
1answer
140 views

What are the limitations of Headless(HtmlUnitDriver) browser testing in selenium?

I was automating the script using headless(HtmlUnitDriver) browser but I wanted to know the limitations of headless(HtmlUnitDriver) browsers for example: Can headless browser deal with IFrames? Can ...
0
votes
0answers
35 views

Could not click the upload button for SafariDriver

There is a upload button on the website as the code below <div class="fileUpload btn btn-primary"> <span>Upload</span> <input class="upload" id="id_file" name="file" ...
1
vote
1answer
128 views

sometimes “invisible element” exception and sometime ‘timeout’ appers

I am writing a test script in selenium webdriver(selenium 2.0) with C# for below html- <table id="A_switch" class="tabswitch"> ------ </table> <div id="A" class="page ribbonpage"> ...
5
votes
3answers
2k views

Issue with losing focus of “hover” command when the mouse is outside of the active window

If I automate mouse actions using Selenium2/Webdriver in combination with Firefox 12, I can easily get the "mouse" to move to and hover over a context menu so the sub-menus are seen. However, if I ...
0
votes
0answers
17 views

How to set Selenium Webdriver using Internet Explorer Browser to not share sessions during multi threaded testing

Im trying to test against Internet Explorer 11 browser multi threaded using selenium webdriver with IEDriverServer.exe. I can now launch multi threaded IE browsers and interact with it but it seems ...
12
votes
5answers
36k views

Selenium: reuse existing browser session, instead of opening new windows?

This has been asked a million times on the web, but there's no clear cut answer. I tried "-browserSessionReuse" today without any luck; my tests keep spawning new browser windows. ...
2
votes
4answers
13k views

selenium.ElementNotVisibleException: Element is not currently visible

I am working on selenium, while running Java code I tried to access a text box from the web page but selenium.ElementNotVisibleException: Element is not currently visible and so may not be interacted ...
5
votes
1answer
401 views

Using Selenium Webdriver For Firefox Testing

I have been doing research into implementing Selenium Webdriver (currently version 2.49) for testing on Firefox. Currently I am capable of testing Chrome with the framework, but would like to extend ...
1
vote
2answers
59 views

Quickest way to get ID and Name of all fields in single go

Currently, I am using the traditional way i.e. 'Inspect Element' (or Firebug or IE Developer) for getting value of ID and Name attributes of any field present over page for which I am creating test ...
0
votes
0answers
119 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 ...
2
votes
2answers
197 views

Looking for a HEADLESS C# Selenium automatic nightly regression test solution

The WHY: I am looking for options and possible full solutions if someone has already done something similar. I am testing web-based applications using C# Selenium with VS2015 by writing tests that ...
2
votes
2answers
117 views

Can Ranorex adequately handle a large web app?

I've been experimenting with Selenium to some success, however it's slow going. Ranorex, as I've used briefly in the past can put a simple suite of tests together rather quickly. However, I'm ...
0
votes
1answer
105 views

Issue with Coded UI hand written Test cases

I have a test case with below mentioned code: [TestMethod] public void _001_Search() { BrowserWindow brw = BrowserWindow.FromProcess(proc_browserProcessNo); ...
2
votes
1answer
681 views

Is it a bad practice to use implicit wait in Selenium Webdriver? Should one use only explicit wait?

I was reading up on implicit and explicit waits and found the following two statements: Implicit wait is not considered a good practice because different browsers have different loading times and ...
1
vote
2answers
334 views

Selenium Java WebDriver Can not Find Element with xpath or cssSelector

I can't find this element using selenium java webdriver. I have a before class method that loads the firefox driver and set the WebDriverWait. Then I have a test method to look for the elements with ...