The tag has no usage guidance.

learn more… | top users | synonyms

10
votes
4answers
24k 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. ...
9
votes
3answers
8k 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
206 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 ...
7
votes
7answers
5k 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.
7
votes
3answers
4k 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 ...
6
votes
5answers
1k 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
5answers
13k 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 ...
6
votes
4answers
3k 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
4answers
654 views

Future of DOM based UI testing

I work with Selenium for quite a while now and was very happy with it for some time. However recently, I get more and more projects where I see extensive use of JavaScript. For example webpages ...
5
votes
1answer
994 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 ...
5
votes
3answers
324 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
3answers
2k 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 ...
5
votes
5answers
5k 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
3answers
3k 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 ...
4
votes
3answers
122 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 ...
4
votes
4answers
438 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
1answer
585 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
608 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
2answers
55 views

Efficient way of figuring out whether web apps are forward compatible with a new browser?

So my company has web applications created in .NET/ASP.NET which are fully supported in IE 8 (current company standard). We want to move our company standard browser to IE 10 or 11. Also, we have ...
4
votes
3answers
1k 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
2answers
383 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
4answers
689 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
3answers
356 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
3answers
1k views

Alternative to Selenium + PhantomJS

We need to do a headless testing of a project using Selenium + PHPUnit for which PhantomJS is a natural choice. However, they currently have a major issue with the recent Selenium Server and no ...
3
votes
1answer
203 views

Include assertions/expectations within the Page Objects, yes or no?

Martin Fowler favors having no assertions in page objects however is not definitive on the subject: Advocates of including assertions in page objects say that this helps avoid duplication of ...
3
votes
1answer
2k views

Testing ExtJS UI with WebDriver

Our Web app is using ExtJS framework for rendering UI. However, ExtJS-rendered UI is hard to test automatically because: For most clickable elements, ExtJS uses generated ids like "ext-gen-345" ...
3
votes
1answer
1k 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 ...
3
votes
0answers
229 views

Selenium RC with Firefox portable (Windows)

I tried to use FirefoxPortable with selenium from my Windows 7 OS but I'm having difficulty. So, I launched selenium RC server with the default folder profile of FirefoxPortable : java -jar ...
2
votes
4answers
18k 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, ...
2
votes
4answers
137 views

When is a good time to develop new automated GUI tests in an existing application still under development?

I'm currently developing a framework for automated GUI-testing of an application that is well underway in terms of development. As the test project has been at a stand-still for quite some time, ...
2
votes
2answers
10k 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
2answers
3k 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 ...
2
votes
4answers
3k 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
770 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 ...
2
votes
1answer
696 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
8k 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
3answers
3k 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
2answers
122 views

Where can I find good tutorials for Cloud Environment, Automated Testing in Cloud and Tools [closed]

I want to learn automation testing in cloud and I do not have knowledge or experience in cloud environment. I searched over the internet and found some blogs, steps, etc but I am not sure whether ...
2
votes
3answers
2k 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 ...
2
votes
1answer
183 views

Selenium Webdriver: Firefox: 'Cannot press more then one button or an already pressed button'

I'm really struggling to automate some drag and drop functionality in a web app. All I need to do is click a link on a top menu bar, hold down on it and select the first menu option. It works fine ...
2
votes
2answers
124 views

Are the gains going from Selenium IDE to headless worth it on small projects

I am a web developer in a very small team(2 devs, one hardware), and I spend as much, if not more time testing applications(due to requirements issues) than the actual developing. To help with this, ...
2
votes
1answer
748 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 ...
2
votes
4answers
459 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
1answer
428 views

Selenium - What Is The Best Way To Mock Browser Time and Time Zone?

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 ...
2
votes
2answers
124 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
98 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
1answer
106 views

Load Automation Tool with Record option to test application in Linux OS

I am new to Linux. currently am using Ubuntu 12.04 ATS OS. Request experts to help me selecting tool to use for Load Testing with Record and Play back option available. Would like to use an open ...
1
vote
3answers
191 views

How to test multiple user concurrency for a website?

I need to run concurrency test on website. I need to check various parameters such as response time, request send to site, data received, and whether the data is received correctly (e.g. if multiple ...