The tag has no wiki summary.

learn more… | top users | synonyms

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 ...
0
votes
2answers
96 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
0answers
32 views

Where to get started with UFT?

I've recently been tasked with getting some UI automation written to help with regression testing for our product. This is entirely new to me and I've scouring the web for resources but not finding ...
0
votes
1answer
46 views

How to open and get input from a popup before running test?

I want to open a popup before running my tests and after completing my test run. I want to give few inputs from the popup on basis of that my test will run. Suppose I have multiple links on which my ...
0
votes
4answers
116 views

Selenium - advantages and disadvantages of using Python vs C#

We currently have two teams. An automation team and also a web testing team. The automation team currently use Selenium and C# to automate tests on our web applications and legacy systems. As a ...
0
votes
1answer
1k views

JavascriptExecutor is not identifying the button to click in Webdriver

I have this HTML <div class="btnContr"> <input type="button" onclick="return cancel();" value="Cancel"/> Below is the xpath identified, using this xpath, I am not able to click on ...
3
votes
3answers
67 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 ...
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. ...
0
votes
1answer
52 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 ...
0
votes
0answers
64 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" ...
1
vote
2answers
136 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 ...
0
votes
3answers
323 views

Is it possible to integrate bugzilla with selenium web driver

Is it possible for us to integrate selenium web driver test with Bugzilla? My intention are as below: If we can integrate web driver with Bugzilla, can we automatically attach screen shot of ...
0
votes
1answer
2k views

Unable to add Safari developer certificate in safari

Enviornment: Maz OSX browser : safari wedriver: 2.24.1 Created safari extension and safari developer certificate from apple developer site. tried adding the certificate in safari keychain login . As ...
3
votes
4answers
175 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
217 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.
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 ...
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 ...
0
votes
0answers
373 views

How to select particular date from a date picker in web driver?

I want to select a date from a date picker which have options to change year from a dropdown. I have to get values in date of birth input field. I can send values to the date field by sendkeys command ...
0
votes
0answers
66 views

Newbie: Unable to identify objects in QTP from QC?

I started working with QTP 11.0 a few days back. I am trying to write a small script to pass the test cases(with steps) in the Test Lab module of hp QC 10.00. But while adding objects in the object ...
4
votes
1answer
261 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 ...
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
votes
3answers
641 views

Suitalbe Automated Testing tools for POS Systems

This is not duplicate of following question since it was accepted by the asked person with a different answer Automating tests in EPOS systems We are developing a Big POS System with several Desktop ...
0
votes
1answer
185 views

Need to validate compiled document using C# selenium in VS 2010

I am using selenium, C# at this point I am able to compile word document and then need to save as a pdf on desktop and then validate the links in the downloaded document with original parsed document, ...
3
votes
1answer
593 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
4answers
966 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 ...
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 ...
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 ...
6
votes
5answers
948 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 ...
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 ...
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 ...
1
vote
1answer
219 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 ...
4
votes
3answers
711 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 ...
1
vote
1answer
433 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
462 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
219 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 ...
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 ...
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 ...
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 ...
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 ...
1
vote
2answers
102 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) ...
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 ...
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 ...
3
votes
2answers
296 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 ...
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
3answers
773 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.
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 ...
0
votes
1answer
5k views

Using Selenium scripts with JMeter for load testing

I'm facing an untraceable problem in creating a 50 users load test on a JSF web application. The approach that I'm following is this: Writing a test script in Eclipse using Selenium RC API. ...
1
vote
1answer
343 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 ...
-3
votes
1answer
936 views

What are the advantages of web driver over selenium RC?

Please provide answers in detail, So that we could clarify that which one is to choose, Web driver or Selenium RC.
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 ...