selenium-ide

Receiving org.openqa.selenium.WebDriverException: Cannot find firefox binary in PATH running tests in Selenium IDE with Webdriver playback

蹲街弑〆低调 提交于 2020-01-01 05:39:10
问题 I keep on getting the following errors when I attempt to run tests in Selenium IDE with Webdriver playback. Caused by: org.openqa.selenium.WebDriverException: Cannot find firefox binary in PATH. Make sure firefox is installed. OS appears to be: VISTA Build info: version: ’2.32.0′, revision: ’6c40c18′, time: ’2013-04-09 17:22:56′ System info: os.name: ‘Windows 7′, os.arch: ‘amd64′, os.version: ’6.1′, java.version: ’1.6.0_39′ Driver info: driver.version: FirefoxDriver at org.openqa.selenium

How do you focus on new windows with selenium ide?

大憨熊 提交于 2019-12-31 10:42:38
问题 I am trying to use selenium ide to duplicate an action. The action is clicking on a link that open a new window. How do you make selenium ide focus on the new window instead of the other one? It has not been working for me. 回答1: Select Window For this you will need to use the selectWindow | windowName command. To go back to the main window from the other window then do selectWindow | null Arguments: * windowID - the JavaScript window ID of the window to select Selects a popup window using a

How do you focus on new windows with selenium ide?

吃可爱长大的小学妹 提交于 2019-12-31 10:42:33
问题 I am trying to use selenium ide to duplicate an action. The action is clicking on a link that open a new window. How do you make selenium ide focus on the new window instead of the other one? It has not been working for me. 回答1: Select Window For this you will need to use the selectWindow | windowName command. To go back to the main window from the other window then do selectWindow | null Arguments: * windowID - the JavaScript window ID of the window to select Selects a popup window using a

Selenium IDE: Get row count in table

情到浓时终转凉″ 提交于 2019-12-31 03:49:04
问题 How do I get the row count of a given table using the Selenium IDE? When I right click on my table, I can only assert/verify the following: Title Value Text Table Element Present with the target being //div[@id='reports']/div[n]` where `n` is the number of rows. 回答1: You want to use the storeXpathCount command. This takes two parameters which can be stored within the IDE Target and Value fields where the following parameters are, respectively: xpath : the xpath expression to evaluate

Selenium Command

守給你的承諾、 提交于 2019-12-29 09:32:54
问题 When we use selenium command at that time command not find and attribute not get? See below command. <table> <tr><td>open</td><td>http://www.wikipedia.org/</td><td></td></tr> <tr><td>verifyAttribute</td><td>css=input#searchInput</td><td>(Search Input)</td></tr> <tr><td>assertAttribute</td><td>css=input#searchInput</td><td>(Search Input)</td></tr> <tr><td>verifyAttribute</td><td>css=input#searchInput</td><td>language</td></tr> <tr><td>verifyAttribute</td><td>xpath=//div[2]@class central

Why do we use WebDriver instead of Selenium IDE?

大憨熊 提交于 2019-12-28 08:07:19
问题 Why can't we just record all of our test cases in Selenium IDE , export it to Java/WebDriver and run it in WebDriver with Eclipse? I need a clear explanation as I am very much confused in using WebDriver! And can anyone please explain why IDE recorded scripts fail in WebDriver? 回答1: why cant we just record all of our test cases in IDE, export it to java/webdriver and run it in webdriver Great question, and here is the answer: Selenium IDE is a Record and Playback tool, which is very easy to

Reload DOM element in selenium webdriver after some new tag added [duplicate]

余生颓废 提交于 2019-12-25 18:48:13
问题 This question already has answers here : Unable to find_element_by_id when element is created via execute_script (2 answers) Closed 11 months ago . In my web page, when I click OK button, some HTML tag will be added in current page source for display popup (the URL is not changed). How can I get new web element from current page? 回答1: You can use explicit wait to wait for the element to be added to the DOM WebDriverWait wait = new WebDriverWait(driver, 10); WebElement element = wait.until

in Selenium IDE btnUpdate not found this is a development (code) issue

拥有回忆 提交于 2019-12-25 14:23:26
问题 Actually i am not understanding what is the real issue because manually all functionality proper run but selenium IDE give the error. Click : id=ctl00_Dialogproxy_createnode_btnUpdate Steps to Reproduce the error : Click on create node button image. Click on save button. Result : Create node pop up window should be open. Give the error. Pop up window display but after click event give the error 回答1: This looks like a duplicate of the situation in In Selenium IDE btnDelete (Button) not found

How To Automate “Right click” event in Selenium IDE and opening the link in New window/tab

一个人想着一个人 提交于 2019-12-25 09:47:55
问题 I am using Selenium IDE for a google search scenario. 1 open google 2 then type "india" and click on the search button 3 then go to any link and right clicking on that link and open that link in new tab or window what i have done till now is <tr> <td>open</td> <td>/</td> <td></td> </tr> <tr> <td>type</td> <td>id=gbqfq</td> <td>india</td> </tr> <tr> <td>click</td> <td>id=gbqfb</td> <td></td> </tr> <tr> <td>contextMenu</td> <td>//*[@id='rso']/li[3]/div/h3/a</td> <td> </td> </tr> What i am not

How To Automate “Right click” event in Selenium IDE and opening the link in New window/tab

耗尽温柔 提交于 2019-12-25 09:47:01
问题 I am using Selenium IDE for a google search scenario. 1 open google 2 then type "india" and click on the search button 3 then go to any link and right clicking on that link and open that link in new tab or window what i have done till now is <tr> <td>open</td> <td>/</td> <td></td> </tr> <tr> <td>type</td> <td>id=gbqfq</td> <td>india</td> </tr> <tr> <td>click</td> <td>id=gbqfb</td> <td></td> </tr> <tr> <td>contextMenu</td> <td>//*[@id='rso']/li[3]/div/h3/a</td> <td> </td> </tr> What i am not