Quantcast








     

Unable to click the button with Selenium RC using CSS selectors

stackoverflow.com - 2012-03-26 17:24:14 - Similar - Report/Block

I'm unable to click the button using CSS in Selenium RC with c# as programming language although the code focuses and highlights the button using CSS. Here's my code. if(selenium.IsElementPresent("css=button [id$=searchButton]")) //finds the button { s...

Selenium - clicking on button is not recorded

stackoverflow.com - 2012-03-14 20:00:41 - Similar - Report/Block

I am trying to test a web page using Selenium IDE. Am new to selenium. The code is something like this. <script src="type="text/javascript"> <script src="max.js" type="text/javascript"> <ul class="toolbar"> <li id="addTitle"> <span class="icon-add">Create New Title</span> </li> <li></li&g...

What's the CSS selector selenium code for the radio button?

stackoverflow.com - 2012-03-27 23:48:54 - Similar - Report/Block

I am having trouble to select the radio button that has a unique span id but same radio button class, name, value and id. <td align="left" style="vertical-align: top; "> <span class ="radiobutton" id="mainId:gen_id_12e3:radiospan1e"> <input type="radio" name="radio1" value="on" id="radio1" tabindex="0" checked>...

Launching firefox....(selenium)

stackoverflow.com - 2012-03-29 06:48:43 - Similar - Report/Block

i am running a selenium code on visual studio 2008. the code is like this.. using System; using System.Text; using System.Text.RegularExpressions; using System.Threading; using NUnit.Framework; using Selenium; namespace SeleniumTests [TestFixture] public class MyFirstVCTest private ISelenium selenium; private StringBuilder verific...

Is there a Selenium 2 version of Selenium IDE?

stackoverflow.com - 2012-04-12 15:39:23 - Similar - Report/Block

I'm new to Selenium and I'm a bit confused about the version numbers. Selenium 2.0 was released in 2011. I just downloaded the Selenium IDE Firefox extension and it is version 1.7.2. Is there also a 2.0 release of the IDE, or does the 1.x series confusingly contain the 2.0 code? I checked Selenium HQ , which states that 1.7.2 is currently...

WebDriver unable to locate element (link/Java)

stackoverflow.com - 2012-04-15 17:29:09 - Similar - Report/Block

Im using Selenium to navigate a webpage which has a link called "Mail", using WebDriver (just recently switched from RC to WebDriver) I want to click on the link but the testcase always fails with the error: org.openqa.selenium.NoSuchElementExcepti on: Unable to locate element: {"method":"link text","selector":"Mail"} Inspecting the elemen...

Selenium Webdriver + Ruby regex: Can I use regex with find_element?

stackoverflow.com - 2012-07-20 18:15:35 - Similar - Report/Block

I am trying to click an element that changes per each order like so edit_div_123 edit_div_124 edit_div_xxx xxx = any three numbers I have tried using regex like so: @driver.find_element(:css, "#edit_order_#{\d*} > div.submit > button[name=\"commit\"]").click @driver.find_element(:xpath, "//*[(@id = "edit_order_#{\d*}")]//button").click...

Selenium 'ant run-demo-in-parallel' command failure?

stackoverflow.com - 2012-06-04 18:53:04 - Similar - Report/Block

I'm trying to run the Selenium Grid Demo successfully but I'm having a problem. I have the hub set up correctly with 4 localhost Remote Controls. When I try to run them in parallel I get the following result: [java] [java] ======================================== ======= [java] Selenium Grid Demo In Parallel [java] Total tests run: 4, Fai...

Selenium looking for the getAllFields() function

stackoverflow.com - 2012-03-05 22:09:17 - Similar - Report/Block

hello im new with selenium and i have seen in a lot of places that to get an array or list of id in selenium you use the getAllFields or something like that but that function is in what part webdriver, webelement, the onli thing i see is that everybody says use selenium.getAllFields(). and as i was saying the i don't know what is element...

how to get cancel button event?

stackoverflow.com - 2012-10-12 15:03:57 - Similar - Report/Block

I have implemented JqGrid. In that, when we click on add button one Add form is opened. it has two default buttons 'submit' And 'Cancel' ,I want to execute some code on Cancel button click. I am not able to find cancel button click any body knows that how to handle that Cancel button click then please let me know that.

Selenium IDE: Unexpected Exception: ... selenium-core/scripts/selenium-browserbot.js, lineNumber -> 228

stackoverflow.com - 2012-07-21 14:05:53 - Similar - Report/Block

I'm using Selenium IDE 1.8.1 with Firefox 14. I see this exception: [error] Unexpected Exception: fileName -> chrome://selenium-ide/content/selenium-c ore/scripts/selenium-browserbot.js, lineNumber -> 228 when running the following: <tr> <td>assertElementPresent</td> ; <td>//a[text()='! selenium test customer'...

get datakey value and label text from Datalist on click of button?

stackoverflow.com - 2011-05-25 16:15:59 - Similar - Report/Block

how to get the value of Datakey and lable which is present inside datalist? i have a image button and linkbutton on click of them i am trying to get but i am unable to do. i don't want to use Item_Command event. How to do? Thanks.

evolveStar Join

Can't run Java example for Selenium / WebDriver

stackoverflow.com - 2012-04-07 20:29:58 - Similar - Report/Block

Having a problem getting going with Selenium on Java. I'm trying to follow the example on this page: http://code.google.com/p/selenium/wiki/G ettingStarted I'm typing this: $ javac -cp . -cp ~/Downloads/selenium-2.20.0/selenium-jav a-2.20.0-srcs.jar -cp ~/Downloads/selenium-2.20.0/selenium-jav a-2.20.0.jar -g Example.java And getting this:...

Can I extend Button to add a RightClick event?

stackoverflow.com - 2012-03-31 00:55:18 - Similar - Report/Block

I'm trying to extend Button to add a RightClick event. My customer wants a button to do different things depending on if you left-click or right-click. I expected there to be an easy event for right-clicking, but it turns out there's not. I'd prefer Button's visual behavior to be identical to the preexisting Click event, but it's proving...

The Order of Multiple Event Listeners

stackoverflow.com - 2012-03-01 08:58:27 - Similar - Report/Block

I've come across an oddity while using Prototype to handle click events. If you click the button in the code below, it will trigger three alerts: 'Click 1', 'Click 2' and 'Click 3'. Modern browsers will invoke the listeners in the order they are registered in, while IE8 (and perhaps older IE versions as well) will invoke them in the oppos...

Selenium IDE: Firing off an Ajax call whenever the play button is pressed

stackoverflow.com - 2013-05-09 23:57:06 - Similar - Report/Block

I'd like to fire off an Ajax call whenever the user clicks the play button in Selenium IDE. The jQuery $.ajax function would be even better. Is there a way to do this? After 20 minutes searching online, I haven't found anyone trying to do this.

Scrolling using Selenium-WebDriver

stackoverflow.com - 2012-02-25 11:07:39 - Similar - Report/Block

I am using Selenium-WebDriver to automate my browser tests. My browser header is floating and is always present irrespective of the browser scroll So when I click on certain elements that are present below the current visible region of the browser, selenium tries to scroll the element into view and click them. But because of the auto sc...

Calling button("refresh") on a jQuery mobile button breaks the button style

stackoverflow.com - 2013-03-06 23:06:01 - Similar - Report/Block

I'm trying to dynamically update the text on a jQuery mobile button. The button is actually a link which is styled as a button. According to the jQuery mobile documentation , you should call button("refresh") if you manipulate the button via javascript. However, when I do this, the button's style goes a but crazy - it gets shrunk to half...

Can't instantaite RemoteControlConfiguration in Selenium RC

stackoverflow.com - 2012-04-18 13:52:06 - Similar - Report/Block

I can't instantiate this in VS2010 C#: RemoteControlConfiguration rcc = new RemoteControlConfiguration() Error: Error 2 The type or namespace name 'RemoteControlConfiguration' could not be found (are you missing a using directive or an assembly reference?) C:\Users\Bob.Lichtenfels\Dropbox\All_CSh arpCoding\PlayGround\RC_Testing\FormVers ion...

Using a functional java construct (Predicate) from jython

stackoverflow.com - 2012-04-27 23:53:32 - Similar - Report/Block

So, I'm attempting to use the selenium java libraries from jython (yes, I know selenium has a python interface, but for good reasons of corporate teamwork accessing the pure java libraries makes more sense if it can be done well). I'm just trying to do the example script here: http://seleniumhq.org/docs/03_webdriver. html#introducing-the-...

Quick Start into Selenium Tests

packtpub.com - 2013-05-16 11:33:34 - Similar - Report/Block

In this article by Unmesh Gundecha, author of Instant Selenium Testing Tools Starter, we will show you how to record a test using Selenium IDE. During the recording, we will add some additional commands to the test and run the recorded test. A test is a basic building block in Selenium IDE. It contains commands for navigation, test steps,...

setSelected(true) not working first time

stackoverflow.com - 2013-05-03 08:55:05 - Similar - Report/Block

When I click on button then I have invoked the buttonView.setSelected(true) method to set button in selected state, but first time button not selected and second time click button get selected. Code: main.xml item_selected.xml Initialize Button Button pauseBtn = (Button) findViewById(R.id.pauseButton); Click code: @Override public void on...

Cannot get focus on new opened tab with selenium IDE

stackoverflow.com - 2011-02-09 10:04:18 - Similar - Report/Block

I'm trying to create some web test with selenium IDE. But I have one problem when I click on a javascript link it opened a new tab. I need perform some check on this new tab but I can't get he focus that is still in main page. I tried several things that I'ad search on google without succeed to do it works. I hope that someone can help me...

jQuery Buttons With Same Class, Getting Value From Button

stackoverflow.com - 2012-04-03 03:23:30 - Similar - Report/Block

I have a PHP script which is generating buttons to each content schedule. The script echo's 1 HTML button with the same name, class and ID, however the value's are set based on a variable. In jQuery I have declared the button based on it's class, so something like $('.save').button(); However when I click a button, it always returns the v...

WebDriver HTMLUnit issues with Ajax

stackoverflow.com - 2012-04-11 10:31:44 - Similar - Report/Block

I want to test a site using selenium webdriver (java), but that site contains ajax and HTMLUnit does not see the ajax content. Is there a workaround? Example: WebDriver driver = new HtmlUnitDriver(BrowserVersion.FIREFOX_3_ 6); //login into your account this.login(driver); //click on edit Profile Link into an ajax-loaded tab driver.findElem...

Selenium Error while launching browser

stackoverflow.com - 2012-04-09 08:41:26 - Similar - Report/Block

I am facing two issues with Selenium. 1.- Error while launching browser on windows --> Example::testMyTestCase Issues while capturing the screenshot: Invalid response while accessing the Selenium Server at 'http://localhost:4444/selenium-server/d river/': ERROR Server Exception: sessionId should not be null; has this session been starte...

Binding issues with gridview in asp.net

stackoverflow.com - 2012-03-07 22:33:20 - Similar - Report/Block

i am totally confused with the way asp.net gridview binding works, i have a gridview, now on the page load using !IsPostBack i am binding the gridview, now my gridview has an edit button, when i click on it the gridview becomes blank, behaviour could be expected because when i click on edit button, the postback happens and because i have...

How to click on Toolbar Item with sahi?

stackoverflow.com - 2012-02-28 18:04:14 - Similar - Report/Block

Web page contain a button with some text for example "Test". This button actually is a toolbar element. (class ="tbButton" id="id",text="Test") and redirects to a certain table when press on it. When try to use the following click methods browser.div("Test").click(); browser.click("id"); browser.click(""); browser.div("id").clic...

Selenium: Is there any JS (JavaScript) code coverage tool which we can integrate with Selenium Server/RC

stackoverflow.com - 2012-02-29 09:15:23 - Similar - Report/Block

I want to JS code coverage done by my Selenium Test Suite Is there any code coverage tool which can be integrated with my existing selenium rc framework??...

Behavior-driven Development with Selenium WebDriver

packtpub.com - 2013-01-31 12:11:59 - Similar - Report/Block

Behavior-driven Development (BDD) is an agile software development practice that enhances the paradigm of Test Driven Development (TDD) and acceptance tests, and encourages the collaboration between developers, quality assurance, domain experts, and stakeholders. Behavior-driven Development was introduced by Dan North in the year 2003 in...

Unable to hide keypad on click search button in uisearchbar

stackoverflow.com - 2013-05-02 12:34:03 - Similar - Report/Block

I am using uisearchbar to search list,but when i click on search button on keypad ,the keypad does not hide. Please help me to fix this issue. Thanks in advance...

Webscraping using Selenium and Python: Capture JSON body

stackoverflow.com - 2013-03-24 09:06:49 - Similar - Report/Block

I'm trying to scrape a webpage that has some AJAX running in the background. Using python and Selenium, I've gotten as far as loading the webpage, entering data into a form, clicking submit and waiting. At this point I'm trying to catch the JSON-formatted data that's retured, however this article suggests getting the JSON body out isn't...

selenium dynamic values

stackoverflow.com - 2010-08-16 10:21:01 - Similar - Report/Block

how to capture dynamic values of button using selenium scripts?...

textarea expanded with jquery, not submitting the form when i click the submit button

stackoverflow.com - 2012-05-13 22:57:03 - Similar - Report/Block

I want the button to submit the form while the textarea is expanded. How do i do this? The problem is that when I click the Post button in the form, while the textarea is expanded, it does not submit the form, instead it shrinks back down, and I need to click it again while it is smaller, to submit the form. Currently in order to submit t...

Image cannot be saved using UIImageWriteToSavedPhotosAlbum to photo album

stackoverflow.com - 2012-02-28 14:34:51 - Similar - Report/Block

I have a save button called save to photo album. On top of the button is the small UIImageView where user can click the button below to save the actual size of the photo to photo album. My problem is that when I click the save button, it shows an error : Unable to save image to Photo Album. I think I have done it right but my experience i...

Making a user control click through-able for all mouse events?

stackoverflow.com - 2012-04-20 20:47:36 - Similar - Report/Block

I have a custom button control. There is obviously a label inside it for the text, and when I click on the label it obviously doesn't trigger the buttons click, event, or mouseenter, or mouseleave. What I need to do is make act like its not even there. What I used to do is: base.Click += value; foreach (Control i in Controls) { i.Click +...

How To Switch To A Frame That Appears As A Pop Up Window

stackoverflow.com - 2012-03-19 06:34:04 - Similar - Report/Block

I am using the following applications: Selenium 2.0 in C# Firefox I need to write a test that clicks a button and opens a frame as a pop up window. The frame does not have a name nor id. The source code in the frame starts with "html" instead of "frame". However, when you right click on the window, it shows that it is a frame. So, I think...

jQuery toggle on different area

stackoverflow.com - 2012-05-26 12:25:49 - Similar - Report/Block

I am trying to copy the Like button of Facebook, but the problem is on the specific place to click to change the button. When it's not yet liked, the user should click anywhere on the button and the button will change on the gray state (already liked). This is already done. But the problem is when unliking it, I think I'm not using jquery...

remove selection of checkbox not working

stackoverflow.com - 2013-04-30 14:47:48 - Similar - Report/Block

function removeSelection(button) { $('#a').bind('click', function() { if($(button).hasClass('checked')) { alert("a"); $(this).find('input:checkbox').attr('che cked', 'false'); $(button).removeClass("checked"); else { alert("b"); $(this).find('input:checkbox').attr('che cked', 'checked'); $(button).addClass("checked"); }); Behavior...

python+selenium - Python

cyberforum.ru - 2013-05-02 07:58:30 - Similar - Report/Block

Пытаюсь изучать python+selenium (python 2.7, selenium 2), тестирую портал. HTML код тестируюемой страницы Конфигурация Нужно в тесте перейти по ссылке Конфигурация, пытаюсь найти нужную ссылку from selenium import webdriver driver=webdriver.Firefox() driver.get("http://***.ru") link=driver.find_element_by_link_text("К онфигурация") выходит...




dialogShowMessage!

Fill out the form you see below. Registration is free, fast and simple.
If you are already registered, sign in page login.


Web Site :
Required Field
First Name :
Required Field
Last Name :
Required Field
Email :
Required Field
Sex :
Required Field

evolveStar.com is free for ever !


evolveStar.com provides a search engine that allows you to gather information to write their own blog.


evolveStar.com enhances the sources displaying the logo of the site.


If you want to remove your site or you believe a site listed infringes copyright, please report it to: info@evolvestar.com


Specifies the subject copyright violation and the url of the page


evolveStar.com respecting the law DMCA (Digital Millennium Copyright Act) will immediately remove whatever its merits.


Next will be effectual and relevant checks.







Who We Are Partner Advertising Contacts Privacy terms Help & FAQ

© Copyright 2010-2017 Fabrizio Fichera. All rights reserved.