0
votes
1answer
37 views

How to ignore children classes when extracting text from a class using Selenium in Python?

I am trying to extract the text from a class on html page using Selenium in Python. While doing so, my code is also extracting the text from its child class. Below is the code I am using: ...
0
votes
2answers
53 views

How to link a image from excel file using POI

I am writting some text say "Pass" into excel file using cell.setCellValue("Pass"). Now I have to create a link to an image which locates at directory (C:\Users\UserName\DeskTop\image\test.jpg) from ...
0
votes
2answers
60 views

How to verify if Tab on Web Page is selected using Selenium RC..?

How to verify if Tab on Web Page is selected using Selenium RC I wanted to one very simple thing. Does anyone know using selenium RC Python Client how I can know if a Tab is selected on web page? By ...
1
vote
2answers
184 views

How to select values ​​in dropdownlist with selenium?

I am using selenium, testng and java with ecplipse to perform an automated test. I'm having success with commands like click on a button (selenium.click ("button"), pass values ​​to textboxes ...
-1
votes
2answers
84 views

XPATH of element with the same class name

How can I create an Xpath for individual elements within the same class name? The element ids (eg. id='some_item_12') is not constant (ie. could be 12,3, etc on next iteration) so I can't use a direct ...
1
vote
1answer
30 views

How do i dump errors reported by logger.error into a file

I have a selenium script and I need to write the failures to a log file. i am using the logger.info() method to dump the required information into my file but i need to maintain a seperate errorlog ...
0
votes
0answers
144 views

Click button in Mozilla alert using selenium IDE

I am new to selenium ide. I am facing a problem to handle an alert dialog box in the Mozilla browser using selenium ide. Scenario: When I click on a link on my web page it navigates the user to a new ...
2
votes
2answers
110 views

How to test the ads displayed on UI, using Selenim WebDriver/RC

How to test the ads which displayed on web page. This ads are injected thorugh some plugins. When i record using IDE, it displays the adds on Firefox browser. But when i run the webdriver selenium ...
0
votes
1answer
160 views

Retrieve 5th item's price value using selenium webdriver

Say I have multiple price quotes from multiple retailers, how will I retrieve the 5th value from a particular retailer - say Target or Walmart ? I can get to the 5th entry using the matching image ...
0
votes
1answer
691 views

com.thoughtworks.selenium.SeleniumException: ERROR: Command execution failure

com.thoughtworks.selenium.SeleniumException: ERROR: Command execution failure. Please search the user group at https://groups.google.com/forum/#!forum/selenium-users for error details from the log ...
0
votes
1answer
183 views

How to click on an hidden drop down menu element using webdriver, which is not a select

I want to click on delete which is in the sub menu. I tried the below code, but nothing happens. wd_handle.execute_script("document.getElementById('optionPanel').hidden=false;") ...
0
votes
2answers
307 views

WebDriver Chrome Browser: Avoid 'Do you want chrome to save your password' pop up

Every time my webdriver tests login into the application, 'Do you want chrome to save your password' pop up appears.. Is there a way to avoid this?? Please help. Thanks, Mike
0
votes
2answers
803 views

Regular expression for xpath in selenium java code

Selenium java code for regular expression. Xpath = "//*[@id='gritter-item-6']/div[2]/div[2]/p" In above xpath 6 is varying, any one help me how to solve this problem Please give me the solution for ...
1
vote
1answer
211 views

Selenium, PHP Unit and Firefox on Ubuntu EC2

I am attempting to get PHPUnit tests running with Selenium. I start up selenium: java -jar selenium-server-standalone-2.32.0.jar & Run my tests: phpunit --verbose suite/TestSuite.php ... ...
1
vote
1answer
96 views

Codeception: How to continue testcase on url of previous testcase?

I am using codeception with selenium2. And developing a data driven testing for which I require the url opened by first testcase (cept file) to be used by second testcase (cept file), that is, the ...
0
votes
1answer
456 views

How to start server for Selenium grid Java Maven setup

I setup Selenium framework with Maven Java. So all dependencies are storing in POM.xml Here I got doubt.. How to start server java -jar selenium-server-standalone-2.18.0.jar -role hub .. Should I ...
1
vote
6answers
783 views

Selenium WebDriver reliable tests

I know that this question was asked many times before, but I still couldn't find a solution that works for me. When I run my tests with Selenium WebDriver most of the times they fail with ...
2
votes
2answers
161 views

phpunit selenium usage

My question is about phpunit+selenium usage. The standard usage of this union is class BlaBlaTest extends PHPUnit_Extensions_SeleniumTestCase {... } OR class BlaBlaTest extends ...
1
vote
2answers
137 views

Need to get the occurrence of same webelement locator and wherever present then click it

I need the java webdriver to click a button on a page wherever it is present. No fixed number of occurrences of the element but its not more than 20. i tried using: for(i=0; i<=20; i++){ ...
0
votes
0answers
320 views

Why does my code fail to connect to a Selenium Remote Webdriver?

I m trying to do automation testing using "Selenium Remote Webdriver" but getting an exception when try to connect with remote server. The exception is: Unexpected error. System.Net.WebException: ...
1
vote
1answer
195 views

PHP web driver method to upload files to a remote machine running Selenium2 RC?

I have a standalone selenium RC on a machine. When I run tests, I would like to send a file over to that machine for upload. Currently, in order to do this I have a predefined directory that I upload ...
0
votes
0answers
502 views

TestNG xslt reports not running

I am running Mac mini: I am getting errors like: 1. similar like includeantruntime set to default/false (During ant run), ant compilation gave similar warning. i made some changes, and got another ...
-1
votes
2answers
341 views

How to use selenium-server-standalone-2.0rc2 while creating script with RC

package com.html; import com.thoughtworks.selenium.DefaultSelenium; import com.thoughtworks.selenium.Selenium; import junit.framework.TestCase; public class Html5 extends TestCase{`enter code here` ...
0
votes
1answer
503 views

How to add an attachment in Gmail using selenium RC/Webdriver

Can some one tell me how can i add attachment in Gmail/Yahoo mail using selenium RC/Webdriver. Please help me out in this situation. Thanks in advance.
1
vote
1answer
238 views

Auto insertion of values in pop up text fields using selenium

I am trying to do auto-insertion of values to the fields inside the pop up(see attached image) using the code below. But the insertion of values to the fields is not happening using the automation ...
0
votes
1answer
560 views

selenium node-hub configuration

I have the following configuration in my /etc/rc.local file Xvfb :99 -screen 0 1024x768x24 -ac 2>&1 >/dev/null & export DISPLAY=:99 java -jar ...
0
votes
0answers
131 views

Selenium: PayPal Login process in Web Application

My application having Paypal as a payment option, while doing automation testing using Selenium Web Driver, the process flow goes on without any error but when flow navigate to Paypal login page ...
1
vote
1answer
81 views

Manual way to Automate the verificaton process (i.e for phone(text), voice, etc.) using Selenium WebDriver

I am testing a web App which contains phone/voice verification in one process flow, I am trying to automate this verification process. My Query is: Is there any way to do it manually like for ...
2
votes
1answer
483 views

from selenium import webdriver not working?

I downloaded the Selenium Python package including server, but I get an error: File "<pyshell#6>", line 1, in <module> from selenium import webdriver ImportError: cannot import name ...
0
votes
3answers
429 views

To select a text box using index

Below is my code <TR ID="oldContent"><TD><input type="text" name="code" id="oldContent"></TD></TR> <TR ID="oldContent"><TD><input type="text" name="code" ...

1 2
15 30 50 per page