Tagged Questions
22
votes
8answers
27k views
How to resize/maximize Firefox window during launching Selenium Remote Control?
I am using Selenium Remote Control . During executing the tests the actual Firefox window is so small. I want it full screen so I can see what is happening. How can I maximize the browser screen?
15
votes
3answers
10k views
Selenium vs HtmlUnit?
I am trying to understand testing framework better and been looking into Selenium. I've used HTMLUnit before, mainly when I needed to scrape some information off website or the likes.
In the context ...
10
votes
6answers
3k views
Best tool to fire 10,000+ browser instances on a Test Box
I have used selenium, watin,automation anywhere and many other automation tools.
However when Iam trying to start like 10000 browsers in my machine ( 32 gb ram, 16 core cpu), none of them are able to ...
5
votes
4answers
4k views
TestComplete Evaluation
How would TestComplete compare with Selenium RC for automation testing web applications?
3
votes
1answer
498 views
What is the difference in setBrowserUrl() and url() in Selenium 2 web driver for phpunit?
In many examples, I have seen calls made to both webdriver->setBrowserURL(url) and webdriver->url(url). Why would I want to use one instead of the other. One such example shows using both in the same ...
2
votes
3answers
7k views
How to find specific lines in a table using Selenium?
Here is an example code:
<div id="productOrderContainer">
<table class="table gradient myPage">
So this table being in productOrderContainer has several columns and depending on several ...
2
votes
6answers
442 views
Choosing an automated testing tool
My project is compatible only with Internet Explorer. I want the test scripts to get generated automatically as it is done in Selenium IDE.
Can i use Selenium RC to test my application? I could not ...
2
votes
1answer
863 views
Multiple browsers in Selenium with Python
I am trying to test a chat application that need two different browser sessions. I tried this in the following way:
Started Two different browsers, firefox and google chrome
Tried to open the home ...
2
votes
3answers
2k views
Selenium, Siebel and QTP
I am about to start work on a UI automation project for a client who is using Siebel 7.5. I have been looking around and it seems that there is not a lot of info out there on if it is possible to ...
2
votes
4answers
3k views
Selenium 2.0 / webdriver
I am currently looking at choosing a automated web testing framework for use with a current web project. I am pretty sure that I am going to use selenium. I have been reading a little about selenium ...
2
votes
4answers
2k views
is there any better tool and easy tool than selenium? [closed]
is there any better tool and easy tool than selenium?
2
votes
3answers
900 views
Is there a way to store in a variable the text in a certain element in selenium?
I have a selenium script that I created with Selenium IDE. I was
wondering if there is anyway to store the text that is in a certain
element in a variable so that I can use that text later in the ...
1
vote
4answers
2k views
Including sikuli to C# webdriver selenium
I've searched a lot, but I hadn't got the answer... Is it possible to include( attach, or something else) sikuli (using dll or something else, some code) into selenium webdriver test written on c# in ...
1
vote
4answers
1k views
Run selenium webdriver tests
I have a set of Selenium WebDriver tests written in Java.
Is there framework with web interface where I can run them?
This web interface should display list of all tests, ability to run one or all ...
1
vote
1answer
417 views
declare window in selenium with browsermob
I am using browsermob and selenium for creating scripts to run on a site. I am trying to grab all of the elements on the page with a certain name. My problem is when I try to use ...
1
vote
2answers
1k views
Selenium with BrowserMob.com
I am working with Selenium in order to create load balancing tests on a web server. The website has a username/password and in order to work with this I have a csv file filled with username password ...
1
vote
2answers
179 views
What's the best language to write Selenium Tests?
I'm thinking of using Selenium IDE for automate testing of a web app.
My question is what is the weight of selecting a programming language for test case writing?
I'm not worried about ...
1
vote
3answers
317 views
How to let Selenium identify RFT script
We have been using RFT as the automated testing tools before, and have accumulated tens of thousands of automation test case scripts, now we need to upgrade to the Selenium tool, is there any way to ...
1
vote
1answer
3k views
How does selenium.getEval() work?
I am trying to use selenium.getEval() to get all of the elements with a certain name. How do I do it?
1
vote
1answer
92 views
Appium iOS Simulator Setup error
I have a .app file that I copied to my mac in a local directory (Ex: /appium/test.app) and I pointed appium to the .app file. I'm getting the following error when running in the simulator:
Could not ...
1
vote
1answer
64 views
Test Automation for HTML/JS/CSS Animations
Is there any open source of commercial tools available for test automation of HTML/JS/CSS animations?
Is it possible to ascertain the visual artifacts by some means of image capture and comparison ( ...
1
vote
1answer
148 views
Selenium IDE Loop Conditions
I am first time using Selenium for automating some developer tests.
I have some intermediate steps, which needs to run based on certain condition like a while loop
<tr>
...
1
vote
1answer
403 views
WebDriver Explicit wait in Page Object model
We currently have a big selenium junit project which uses the page object model. We make use of the @FindBy annotation to declare our WebElements. Now when we run the tests, we randomly get the ...
1
vote
3answers
173 views
Selenium test for interaction between two users
I need to test user chat system with selenium. Currently I do that manually by opening two browsers, logging in each with different test user, and send messages between the two users.
My question is ...
1
vote
1answer
422 views
Failed Parallel tests in C# with MbUnit framework and Selenium using Gallio and powershell with the Chrome Driver - all tests fail
The Test solution has 2 projects - one Test project with the the test methods (it inherits from a base class which has the test steps written in detail) and the other Project is a Class library ...
1
vote
1answer
73 views
PIN pad Issue with Selenium WebDriver
I need help with Selenium WebDriver. I was trying to automate a site but got stuck in the PIN pad area.
When I clicked on the PIN input element, the element is in read only and can only accept value ...
1
vote
0answers
205 views
Robot framework / selenium - possible to read javascript console?
When automating tests using the Robot framework, is it possible to read messages logged to the JS console via console.log? We are also using the selenium 2 library.
We're using a third-party library ...
1
vote
2answers
474 views
Documenting Selenium automated tests
While running manual tests, we have a basic format that consists of test description, test steps, expected and actual results. However, I'm wondering how to document automated tests before and after ...
0
votes
1answer
2k views
How to use getEval() to verify the typeof of a variable in selenium
I want to do this in selenium:
var variable = editors;
if (typeof(variable) == "undefined") {};
but I am not entirely sure how to do it with the getEval() method.
0
votes
2answers
212 views
How to identify an element in a page in Selenium, when it gets auto updated after save?(automation related)
I have an element in a window in a web page, which I am able to identify for the first time, and able to automate a test case, successfully. But, during second time, after saving, the element's div ...
0
votes
1answer
475 views
How would you verify that a certain css element on a page is a certain image with selenium
I have a page that I want to check with selenium that uses a certain background image for one element. I want to ensure that this image still exists on the page connected to the element. How would I ...
0
votes
1answer
42 views
Selenium XPath not recognizing text in table cell
I am trying to do some unit testing with selenium2 using the following code:
private const string TicketName = "Automated Test Ticket";
[Test]
public void EditTicketTest() {
var tableData = ...
0
votes
3answers
141 views
Going back to the main page after closing the pop up window
I am having a problem on handling the pop up windows in robot framework.
The process I want to automate is :
When the button is clicked, the popup window appears. When the link from that popup ...
0
votes
1answer
120 views
How to Preset data or setup context before executing selenium test automation
I am working on to automate testing of my web application UI flow using selenium. My project is in asp.net and c#. My question is does selenium provide any option to preset the data before we execute ...
0
votes
0answers
61 views
Disable or Bypass Firefox Safe Mode
I have a proprietary application for automated testing that I built here at work that uses Selenium WebDriver classes to test our applications. It uses Firefox, but sometimes, when a new browser is ...
0
votes
0answers
14 views
Testing of Integrated Application
I am working on an .Net 4.0 Windows application. behaviour of form is :
1. User opens an Windows main form.
2. From left menu user click on link which starts AppForm.
3. AppForm contains IE as ...
0
votes
1answer
403 views
How to close an iOS app on a real device using appium
I'm using appium to automate some tests but I want the application under test to return to the same start in between tests. I think that the easiest way to do this would be to close and reopen the ...
0
votes
0answers
206 views
Ruby Automated tests with chromedriver showing verbose logging in command terminal instead of color cucumber
I'm working in a Ruby environment to build automated tests that are running on with Selenium Webdriver.
At one point, we were attempted to expand our test's reach, and I used either the -v or the -b ...
0
votes
1answer
244 views
How to findout Selenium PageLoadTimeout value?
How do I find out what the default PageLoadTimeout value is? The best I could find was -1, however I'm not sure this is a sufficient answer.
0
votes
1answer
79 views
How can I test items with variable IDs?
I want to test variable pictures and variable check-boxes in my web page. It is like an online market, so every time you refresh the same page you will get different pictures with different IDs and ...
0
votes
0answers
516 views
storing result value of selenium assertElementPresent
I am attempting to store the result value (true or false) of the assertElementPresent method in the variable A using this Selenese syntax:
storeEval | var ...
0
votes
0answers
154 views
Selenium won't drive text into text boxes on a VM
Writing selenium webdriver code in visual studio in c#. Have grid hub and virtual machines set up.
So my code sends the job to one of my VMS and loads the browser and webpage just fine. My ...
0
votes
0answers
161 views
Selenium Test Results are empty [duplicate]
Possible Duplicate:
selenium RC doesnt run the whole test suite
I've Jenkins and selenium configured to run tests after the app is build, everything is ok till the moment that selenium ...
0
votes
1answer
582 views
How do I use chrome driver to click a button in a frame in a pop up window, then get back to my original window?
I would, naively it seems, expect this code to click a button that opens a popup, switch to the popup, find the results frame (thanks sales force!) click a button there then finaly switch focus back ...
0
votes
0answers
354 views
Not seeing updated pagesource when using htmlunit with remotebrowser in c# after ajax call
I have a problem when using RemoteBrowser, htmlunit and running a test that checks the validation message in a modal windows which only shows in the pagesource after the AJAX call is made post click ...