selenium-ide

Select Image in Selenium 2.9

∥☆過路亽.° 提交于 2020-01-06 03:33:07
问题 I'm trying to use RSpec to try and automate testing for post-maintenance weekends here where I'm interning at. I'm using Selenium WebDriver 2.9.0 to get a skelton going and then adding in personalized code. What I'm currently stuck on is trying to have the WebDriver click on an image that will then navigate to the correct HTML but I'm currently unable to do so. Here's what I have so far... it "can go to Ultratime" do @ie_driver.find_element(:link, "My Resources").click wait.until { @ie_driver

How to load/write data into a newfile using selenium IDE?

假如想象 提交于 2020-01-04 04:40:11
问题 I'm using selenium IDE to record & replay some testcase. During this, i stored some values in variables.Now i've to load/write these variable's value into new file.How can i do it ? is it possible ? 回答1: It's not possible using the Selenium IDE, but you can store using Selenium RC or Webdriver (Junit or Nunit). 回答2: It is definitely possible. You just need to create some javascript function using mozilla (firefox) addons API https://developer.mozilla.org/en-US/Add-ons, save this function in

Running Selenium IDE tests via Selenium Grid

做~自己de王妃 提交于 2020-01-04 02:34:12
问题 I should start off by saying that I am regretfully and painfully a noob . But I'm trying to change that!! I do not know any programming languages, but have managed to "make things happen" by doing enough research to get whatever job I've ever needed done done. Anyway, I have been creating Selenium tests using the Selenium IDE and I am having a bit of trouble getting these test to run via Selenium Grid. I have been exporting the tests as JUnit 4 (Webdriver) files. I am running the grid on a

Is it possible to get Selenium IDE to run the whole test suite even though errors are encountered

时光毁灭记忆、已成空白 提交于 2020-01-04 02:18:47
问题 We often use test suites to ensure we start from a known, working situation. In this case, we want the whole test suite to run to test all the pages. If some fail, we still want the other tests to run. The test suite seems to stop the moment it finds an error in one of the tests. Can it be set-up to keep going and run all the tests, irrespective of results? 回答1: Check you are using Verify and not Assert. Assert will STOP your system Each test case restart from a fixed point (like load base

How to make Selenium IDE as exe?

喜你入骨 提交于 2020-01-03 03:43:18
问题 I downloaded Selenium IDE code.Now i want to start selenium IDE just by double clicking on it not as firefox plugin.Any Idea which helps me to start IDE as a desktop application is appreciated.Thanks in advance. 回答1: As everyone has noted; Selenium IDE is a Firefox plugin and has no executable equivalent at this time; however, you could create a shortcut that launches the Selenium IDE as soon as Firefox launches. You can do this by passing the Selenium IDE chrome XUL to the -chrome argument

Selenium IDE, deleteAllVisibleCookies and ASP.NET_SessionId Cookie - Not Working

余生颓废 提交于 2020-01-02 15:55:14
问题 I'm using Selenium IDE (1.3.0 on FF 7.1) to create a test case. The object of the test case is to log in to an ASP.NET application, clear the session cookie (to simulate a timeout or something similar) and then navigate to the default page the logged-in user sees, and verify that they are forwarded to the login page. Pretty simple ... but I'm just diving into Selenium IDE so I'm trying to start simple. It seems like deleteAllVisibleCookies is the correct way to do this:

Upload file with selenium ide to the Dropzone.js

末鹿安然 提交于 2020-01-02 06:23:09
问题 I'm creating selenium ide tests and now I have problem. I can't write test for uploading a file from local disk. My dropzone looks like: http://www.dropzonejs.com/examples/simple.html Can somebody helps me? 回答1: I ran into the same issue and I found the answer here: How to interact with Dropzone using selenium I used most of this but I had to create my own method to convert to base64 properly. public static String convertFileToBase64String(String fileName) throws IOException { File file = new

Typing in a IFrame with Selenium IDE

安稳与你 提交于 2020-01-01 16:54:50
问题 I'd like to type something in a IFrame with Selenium IDE but I don't know how to do this. Thanks a lot! 回答1: You have to select the iframe and then type selenium.selectFrame("css=iframe.widget[<a_css_identifier>]"); selenium.type(<your_object_or_text_box>, <typed_content>); The statements are in java, but you should be able to find selectFrame and type in the IDE. 回答2: You can use the Selenium IDE command 'selectFrame' to focus within an iframe. Use the Target field to enter the iframe id.

Typing in a IFrame with Selenium IDE

穿精又带淫゛_ 提交于 2020-01-01 16:52:07
问题 I'd like to type something in a IFrame with Selenium IDE but I don't know how to do this. Thanks a lot! 回答1: You have to select the iframe and then type selenium.selectFrame("css=iframe.widget[<a_css_identifier>]"); selenium.type(<your_object_or_text_box>, <typed_content>); The statements are in java, but you should be able to find selectFrame and type in the IDE. 回答2: You can use the Selenium IDE command 'selectFrame' to focus within an iframe. Use the Target field to enter the iframe id.