The tag has no wiki summary.

learn more… | top users | synonyms

7
votes
3answers
5k views

Is Selenium the right tool for browser compatibility testing?

I have been seeing a lot of customers pushing for browser compatibility testing using Selenium. Was wondering whether this is really necessary. The push is mostly due to Selenium grid supporting multi ...
7
votes
4answers
194 views

Where does Automation creation happen w/in the Development Cycle?

I’m a Software QA Engineer at a small web development company and I need help wrapping my brain around implementing a new process. As of recently, my shop only handled ‘one-offs’. We would work on ...
6
votes
5answers
957 views

I want to enter the SQA field specifically automation

I am working hourly for low wage as a QA intern/tester. I want to learn more about this field. I have already graduated, so everything I have learned is self taught or learned somehow on the job. At ...
6
votes
3answers
12k 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. ...
6
votes
4answers
2k views

what is the best way to write automated end to end user scenarios?

When automating user scenarios, we typically cover an end-to-end user flow. Unit testing recommends that each test method should be independant and only test one thing. But things are different in ...
6
votes
3answers
2k views

Appium vs. AndroidDriver + IPhoneDriver in Mobile Automation Tests

I have been writing Selenium Browser automated tests and now I would like to begin writing mobile browser automated tests for Android and IPhone. I am deciding between the Appium framework and the ...
5
votes
3answers
306 views

Is browser version matrix a thing of the past?

Microsoft announced that they will automatically update users to the latest version of IE if they have automatic updates turned on (this is a change from before where people had to explicitly accept ...
5
votes
4answers
3k views

Testing Page Layout with webdriver

Has anyone tried to test the page layout of a website using webdriver? To be specific, using webelement.getPosition() and webelement.getDimension(). Shouldn't these two methods be enough for testing ...
4
votes
1answer
635 views

Your suggestions for writing reliable Web UI automation

Web UI automation is unreliable. I presume it is possible to increase the reliability of Web UI tests. One such advice would be to put an abstraction layer on top of your test that does actual DOM ...
4
votes
4answers
399 views

How to test the test scripts?

Once an automation test is created, how do I test it and make sure the test does what its supposed to do? I can easily test the scenarios where test passes, but how to go about the ones that fails due ...
4
votes
5answers
6k views

Selenium 2 element.click() is unreliable

I am using Selenium 2 2.16 build. I've been running into problems where I get a variable response to a click() call, where sometimes the click activates the behaviour behind the element (new page ...
4
votes
3answers
725 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 ...
4
votes
1answer
262 views

Read requests and responses made by browser on naviagating a web page in C# webdriver

I wants to read all the requests and responses made and get by the browser on navigating on a page. For ex: If I navigate to http://www.yahoo.com then we observe that browser is making a lots of GET ...
4
votes
4answers
1k views

What are the good free mouse and keyboard automation programs?

I know about autoit and about autohotkey but I am not sure that they are the same. What other good automation programs are there? Should I use different programs for automatic browser mouse clicks and ...
4
votes
2answers
491 views

how to implement a given logged in user role through UI automation?

As suggested on StackOverflow I am posting this question here as well. I am having trouble how to implement the Given step (with SpecFlow for example) of a logged in user role throught Web UI ...
4
votes
3answers
780 views

Does the latest version of QTP have something similar to Selenium Grid?

Does anyone know whether QTP supports parallel test execution on multiple browsers now? I am looking for something similar to Selenium Grid.
4
votes
2answers
1k 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 ...
3
votes
3answers
2k views

Any one have experience with frameworks using webdriver in Visual Studio?

I'm using webdriver to automate our browser testing, I have some scripted tests already where I am using Visual Studio and while I don't mind other formats I'm looking for a good supportable framework ...
3
votes
2answers
300 views

Is it a good idea to learn Selenium RC alongside Webdriver

I have recently started exploring Selenium. According to the experts future lies in Selenium Webdriver. But my question is being a predecessor should I also learn Selenium RC? Will it be worth ...
3
votes
3answers
68 views

Is it reasonable to use Selenium RC over WebDriver if the former seems more suitable for the task?

The tests I am doing are on IE8, which is used throughout the company, and doesn't look to be changing any time soon. After testing both pieces of software with the system, it seemed as though ...
3
votes
4answers
176 views

What tools work well for automating .NET 4.0 web sites using web forms with dynamic data?

What would be the best solution to accommodate automated testing of web forms with code-behind (.NET 4.0)? Specifically, we need a solution that can automate web form testing and handle dynamic data ...
3
votes
5answers
224 views

How can I reduce the execution speed in webdriver so that I can view properly what is happening on browser?

I want to reduce the speed for execution of script so that I can view the execution properly on browser. I want do this in webdriver.
3
votes
3answers
280 views

Rule of thumb for using wait()

A rule of thumb for using wait() would be before navigating to a different page. For Ex : WebDriverWait(driver,10).until(lambda driver: driver.title.startswith("Submitted!!")) What would be other ...
3
votes
1answer
599 views

Problems with escaping the equals sign in a Watir Robot argument

We're currently using the very lovely Robot Framework for our automation. Unfortunately, we've run into a hitch with the '=' character - we have a number of places in the app where we have a link to ...
2
votes
1answer
3k views

Selenium Webdriver | Unable to locate element error

I am trying to run the below code but getting error. Can you please point out the issue? import java.util.concurrent.TimeUnit; import org.openqa.selenium.By; import org.openqa.selenium.Keys; import ...
2
votes
4answers
992 views

Has any faced issue when automating auto suggest text box using selenium webdriver

I am automating an application which has auto suggest text box. I am facing an issue that sometimes the auto suggest values are not shown up at all. This happens 50% of the time. Worrying part is this ...
2
votes
1answer
578 views

Utilu vs IETester vs Virtual Machines

I have used IETester in the past for testing in older versions of IE, however I've recently come across Utilu IE Collection and Utilu Firefox Collection. However, I'm not certain of the reliability ...
2
votes
4answers
4k views

I face a problem while opening Firefox with Selenium script

I face a problem while running Selenium scripts. I try to open Firefox using the following command: import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; public ...
2
votes
4answers
317 views

Mirror a browser session

I am doing some regression testing (changes to underlying database structures) where I'm lucky enough to two separate environments which should contain the same data. What I'd like to do is open a ...
2
votes
2answers
119 views

Regarding selenium commands [closed]

I am new to Selenium automation. I have some queries to be clarified. I have recorded and done the play back. Issue is as below: If I use the clickAndWait command in Selenium IDE, it shows an error ...
1
vote
4answers
74 views

Testing Exchange Rates / FOREX in an accounting app

In black box automation testing of an accounting app which uses live feeds of foreign exchange rates for transactions, I would like to be able to record those exchange rates used to be able to assert ...
1
vote
3answers
11k views

WebDriver: navigate to new browser window

How do I open a new browser window in Selenium WebDriver? I'm using C# client drivers, but if you know with any language, I should be able to find the correct class/method in C#. On Stack Overflow, ...
1
vote
2answers
2k views

Speed up launch of WebDriver Firefox Window

When WebDriver initializes, there is a long waiting time when a browser window launches before the actual automated test begins. How can I speed this up? Is there a way to have a browser window ...
1
vote
2answers
105 views

Suggestions for where to begin testing web app

We are a small start up team and we really need to figure out a more effective method for testing. Does anyone have any suggestions to help me get started with : a) developing a process b) ...
1
vote
1answer
495 views

What is the max number of threads allowed for running TestNG tests in parallel?

I’m trying to run TestNG tests in parallel, right now I’ve set “parallel=tests” & ‘thread-count=25’ but I see that only 10 threads are running at a time. Is this testNG’s thread limit? Is there ...
1
vote
1answer
224 views

Selenium: Click on input-field with complicated selector

I need the right direction to click on a input field. When I copy the CSS path I get the following: html body#root div#box div#content div#C_INTERNAL_OBJECT-98286949812.container ...
1
vote
1answer
469 views

What is a good way to receive test results from Selenium IDE browser extension?

The Selenium IDE browser extension is great for quick and easy automated tests. However, it doesn't seem to have a way to report the results when unattended. What ways are there to get reports from ...
1
vote
1answer
220 views

How to Automate Testing of this type of Web Application?

I have a web application which i would like to automate the testing for functional as well as load testing. However , it has the following features which i feel will hinder the most common automation ...
1
vote
2answers
1k views

API Automated Testing Tool XML & JSON

I was hoping you could help me...I am looking for an automated test tool that can: MUST HAVE: Ability to connect to a server endpoint that returns JSON or XML based data Ability to fully parse and ...
1
vote
2answers
147 views

Proper way to create an object repository in Selenium project

I have some questions about creating an Object Repository for a selenium project: 1) What are the main reasons that we create an Object Repository, as opposed to hard coding the element IDs in our ...
1
vote
1answer
41 views

Best way to wait till the status changes

I have to automate a web page. Which has the following behaviour. I will create an application and the created application will be displayed in a table. The table has a column named status. The ...
1
vote
1answer
346 views

How to create shortcut to run Selenium script?

Is it possible to have some kind of shortcut (probably bookmarklet) to run specific Selenium script? While developing webapp I'd like to have a possibility to quickly run specific Selenium script to ...
1
vote
1answer
116 views

More official way to leave browser window open upon failure?

My coworker Chris came up with this, and it works, but I wonder if there's a more "official" way to do this using unittest.TestCase in Python. def tearDown(self): """ clean up by closing the ...
1
vote
1answer
465 views

How to Spy elements in an in-browser applet

I am trying to automate user interaction on a web application which is having embedded java applet in it. Need a tool that can spy the objects in the java applet in browser . The plan is to use FEST ...
1
vote
0answers
49 views

How to reliably calculate flakiness of test on automation jenkins job

I have access to a CI Job Jenkins's JSON API. Here is how I have the sequence I crawl a CI job and look at all the builds I look for the latest test report and filter out the test reports which are ...
1
vote
1answer
442 views

Selenium RC: Xpath of the link is changed when i refresh the page

Selenium RC: Xpath of the link is changed when I refresh the page, and when I run the code it shows "Exception in thread "main" com.thoughtworks.selenium.SeleniumException: ERROR: Element ...
1
vote
1answer
3k views

How to send down arrow keys for a drop down?

selenium.getDriver().findElement(By.id("s2id_customFilter")).sendKeys(Keys.ARROW_DOWN); Am using the above code but it's not working."s2id_customFilter" is the id of the drop down.Am clicking on the ...
1
vote
0answers
59 views

Any experience in generating UI pages and test wrappers for UI?

Imagine that there is a non-trivial logic in the page, for example: IF element E1 in dropdown D1 is selected THEN button B1 is disabled ELSE B1 is enabled IF element E2 in dropdown D2 is selected ...
1
vote
1answer
2k views

Can't open webpage using Firefox WebDriver using Selenium [duplicate]

Possible Duplicate: I face a problem while opening Firefox with Selenium script import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; public class ok { ...
0
votes
1answer
55 views

How to automate range values using web driver?

I have to test a price range bar implemented with a jQuery slider. Suppose the defined range is 100-10,000. I want web driver to slide the minimum value to 2000 and Maximum value to 8000. I thought of ...