selenium-ide

Version compatibility of Firefox and the latest Selenium IDE (2.9.1.1-signed)

…衆ロ難τιáo~ 提交于 2019-12-23 10:26:50
问题 I visited https://addons.mozilla.org/en-US/firefox/addon/selenium-ide/ to install the latest Selenium IDE (v 2.9.1) in Firefox. My Firefox version is 54 (64-bit) OS: Windows 10 Pro 64-bit (10.0, Build 14393) But unfortunately "Add to Firefox" button was shown disabled on the site https://addons.mozilla.org/en-US/firefox/addon/selenium-ide/ On that site NOTE was found as: Note: Selenium IDE will NOT work on Firefox version 55 onwards. Please stay on Firefox version 54 or older. What can I do

Selenium Select2 command for drop-down box

空扰寡人 提交于 2019-12-23 05:06:05
问题 am new to selenium and in my previous question Selenium IDE command for input type hidden it is using select2 please help me with the command to selection option for drop-down list. i tried looking in here https://gist.github.com/3683275 but it doesn't seem to work for me mouseDown('//a[@class="select2-choice select2-default"][1]') mouseUp('//li[contains(@class,"select2-result")][1]') 回答1: These commands open the options list, wait for it to appear, and finally choose the option labelled

Finding font-weight value in selenium IDE

走远了吗. 提交于 2019-12-23 04:51:10
问题 I'm using Selenium IDE and need to identify when an item of text has the css 'font-weight:bold' applied to it (with 'verifyAttribute') Using the following CSS locator: css=body.home.es ul#languages li:nth-child(2) a.selected Selenium can find the item. I now need to dive into the CSS and confirm that font-weight:bold has been applied. The CSS of the site I am testing is: ul.language li a.selected { color: #FFFFFF; font-weight: bold; I've drawn a blank; can it be achieved this way, do I need

Typing characters in rich text editor using Selenium IDE

寵の児 提交于 2019-12-23 02:54:09
问题 I'm currently setting up an automation testing in Salesforce application but I am having a problem of typing characters in rich text editor using Selenium IDE. As I know that the rich text editor is wrapped in the iframe. In the HTML, I got the code like this: <iframe id="j_id0:j_id4:j_id6:j_id115:j_id117:textAreaDelegate_Comments__c_frame" frameborder="0" allowtransparency="true" tabindex="0" src="" title="Rich text editor, j_id0:j_id4:j_id6:j_id115:j_id117:textAreaDelegate_Comments__c,

selenium Test case for facebook login and logout

岁酱吖の 提交于 2019-12-22 22:16:32
问题 Scenario is to Login to facebook account and then logout. I tried using xpath className and id. But everytime it shows error as ElementNotfound or element not visible. Later I Checked it using SELENIUM IDE and got this xpath for the LOGOUT link. But still the error persists. Kindly help me. public class FacebookLogin { public static void main(String[] args) throws InterruptedException { // TODO Auto-generated method stub WebDriver driver = new FirefoxDriver(); driver.manage().window()

How can I organize “IF ELSE” in Selenium IDE

孤街浪徒 提交于 2019-12-22 11:06:55
问题 How can I organize "IF ELSE" in Selenium IDE WITHOUT use extensions? 回答1: Just to conclude it for future readers: The "right" and most complete way is to download a Flow Control plugin for Selenium IDE from the official page (aaaall the way down). The most useful link I found is this one, because it has a complete example in it: http://selenium.10932.n7.nabble.com/if-else-statement-td4370.html Anyway, there's also a documentation and author's blogpost explaining something more. Without any

Selenium IDE: How to check if an element has a focus?

断了今生、忘了曾经 提交于 2019-12-22 05:30:11
问题 Is there a built in method for checking that an input text element has a focus ? Well, I didn't find one, so I tried this extension. But, it doesn't work for me either (i.e. the test fails). Any ideas ? 回答1: I have had numerous problems detecting if an element has focus because the browser Selenium is controlling typically does not have the focus within the Operating System, and as such the browser will NOT consider any elements to have focus until the browser regains the focus. I have been

Xpath to determine checkbox “checked” attribute in Selenium IDE

匆匆过客 提交于 2019-12-22 05:11:35
问题 How to determine if a checkbox is check or not through xpath Currently I am trying : //input[@type='checkbox' and @checked='true')] I have multiple checkboxes with same ids so I have to select the next checkbox which is not selected/checked. Specifically I need this for Selenium IDE Edit what I actually need is sth like : |storeXpathCount | //input[@name='xyz' and @checked='checked'] | is_checked | if checkbox 'xyz' is checked , is_checked value should be 1 else 0 thanks 回答1: Here stnewrecord

Xpath to determine checkbox “checked” attribute in Selenium IDE

不打扰是莪最后的温柔 提交于 2019-12-22 05:11:05
问题 How to determine if a checkbox is check or not through xpath Currently I am trying : //input[@type='checkbox' and @checked='true')] I have multiple checkboxes with same ids so I have to select the next checkbox which is not selected/checked. Specifically I need this for Selenium IDE Edit what I actually need is sth like : |storeXpathCount | //input[@name='xyz' and @checked='checked'] | is_checked | if checkbox 'xyz' is checked , is_checked value should be 1 else 0 thanks 回答1: Here stnewrecord

How do you upload a file using Selenium IDE?

≯℡__Kan透↙ 提交于 2019-12-22 04:58:00
问题 This used to work in the past, but recently I've been trying to upload a file using Selenium IDE, and now I'm getting this error: [error] Unexpected Exception: code -> 1000, INDEX_SIZE_ERR -> 1, DOMSTRING_SIZE_ERR -> 2, HIERARCHY_REQUEST_ERR -> 3, WRONG_DOCUMENT_ERR -> 4, INVALID_CHARACTER_ERR -> 5, NO_DATA_ALLOWED_ERR -> 6, NO_MODIFICATION_ALLOWED_ERR -> 7, NOT_FOUND_ERR -> 8, NOT_SUPPORTED_ERR -> 9, INUSE_ATTRIBUTE_ERR -> 10, INVALID_STATE_ERR -> 11, SYNTAX_ERR -> 12, INVALID_MODIFICATION