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

learn more… | top users | synonyms

0
votes
2answers
81 views

How to resolve Firefox browser loading issue with Webdriver

When I run web driver with Firefox browser it generates a blank Firefox browser and after a minute the browser closes without running the Webdriver program. The following error is generated on ...
0
votes
1answer
24 views

Not able to use HTTP Basic Auth popup in selenium test case using firefox on Ubuntu/Linux

I am trying to automate a webpage using Single Sign-On. When you try to access the web page it redirects you to different page of Identity Provider, where it asks you for Username and Password inside ...
4
votes
2answers
298 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
274 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
393 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 ...
0
votes
2answers
204 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
284 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 ...
1
vote
3answers
1k views

Selenium Cannot locate element

I am working on automation, while automating a form with number of drop-down's. The problem with me is, when run the code in maximize mode of window it gives me an Error: org.openqa.selenium....
5
votes
4answers
4k views

How do you block Google Analytics from Selenium automated visits?

Basically, we have a javascript integration on client's webpages. We don't have much (or any) control of the deployed environment, hence the only way to test our integration is truly working is using ...
2
votes
1answer
77 views

I am automating a page which will open up a PDF while clicking on a link. After that I have to do the operations in the newly opened window

This is the code for transferring control for (String handle : driver.getWindowHandles()) { driver.switchTo().window(handle); ArrayList<String> windowTab = new ArrayList<...
0
votes
3answers
51 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
784 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
1answer
176 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
5answers
15k 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 ...
2
votes
1answer
222 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
58 views

Driver lost focus [closed]

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
713 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 tr)...
-1
votes
1answer
54 views

How to verify text under <P> tag in selenium

I want to Verify text "No results were found for the query:"under tag in selenium how to verify this text how to take xpath for this div class="fl" style="width: 99%;"> Search Results No results ...
5
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 libfaketime/...
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
19 views

Edit a script DOM element before being executed

I'm currently using Selenium WebDrivers for my tests and I'm struggling with an automatic download. The case is: I click on a button, it loads the next page containing a script tag with a click() on a ...
1
vote
1answer
49 views

Selenium > new windows & pop-up : What is different between new window and browser alert in selenium?

This is very common scenario when we automate any web application. But I am little confused between new window and pop-up? Please can you add little examples?
5
votes
1answer
236 views

Selenium Grid2 - IOException thrown while closing Closeable.

I am executing my Selenium tests against a Grid server, hosted on a different machine. My grid invocation is (bat file): cd c:\ start java -jar c:\selenium-server-standalone-2.46.0.jar -role hub -...
1
vote
1answer
43 views

Element is not clickable(x,y) even there is no scroll in page

I am unable to click on the "Login" button provided in the header I am new to selenium, here is the code snippet public class Muft_Mashwara_login { public WebDriver driver= null; @...
1
vote
2answers
143 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 ...
12
votes
6answers
39k 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. X:\QA\Automation\...
6
votes
5answers
102 views

How we can verify whether webpage is refreshed or not?

Suppose a webpage has a functionality, it refreshes the whole webpage after a fixed time interval and nothing changes on the webpage. How we can test this with automation?
2
votes
2answers
568 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
3answers
12k views

How to run all Selenium test cases via batch file

I am a noob in Java and automation so please bear with me if I get the terminology wrong. I have a class file that can open a browser and navigate to google.com and then closes the browser. There’s ...
2
votes
3answers
5k 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
0answers
14 views

Verify hyperlink using dataprovider [duplicate]

I want to verify given hyperlink highlighted in redborder using dataprovider How to do it ,please let me know
0
votes
1answer
100 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, ...
1
vote
3answers
85 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 ...
3
votes
4answers
136 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
35 views

Automating web app screenshots and inputs [closed]

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
17 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
97 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 ...
2
votes
3answers
84 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']"))); Cdropdown....
1
vote
1answer
90 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
1answer
68 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 ...
0
votes
2answers
70 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
260 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" class=...
0
votes
0answers
13 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
868 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
510 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 FirefoxBinary(@"C:\FirefoxPortable\...
2
votes
2answers
2k 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 ...
0
votes
1answer
37 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
59 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
158 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
1k 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 ...