selenium-ide

Selenium IDE command for input type hidden

最后都变了- 提交于 2019-12-11 08:32:41
问题 am new to selenium and while recording in selenium IDE it is not recording drop - down list am posting html code of it. If the IDE is not recording the event, issue such as the element being defined as hidden. Thanks for your help :) <input type="hidden" name="roleSpecification.industries.id" value="" /> <select name="roleSpecification.industries.id" size="3" data-placeholder="Any" class="test chzn-select" multiple="multiple" id="roleSpecification_industries_id" > <option value="1">Accounting

How to capture page load times in Selenium-IDE using the app.telemetry page speed monitor

二次信任 提交于 2019-12-11 06:53:31
问题 I am trying to do a quick and dirty page load test with Selenium IDE and using a plugin called app.telemetry page speed monitor. The tool provides a display in the tool bar of Firefox,(0.36 in red) but I'm not sure how to capture that data via Selenium IDE? Any thoughts. This is the plugin: https://addons.mozilla.org/en-US/firefox/addon/apptelemetry/ 回答1: Check this out: open | lol.com storeEval | window.performance.timing['loadEventEnd']-window.performance.timing['navigationStart'] | result

Keeping the focus after opening a new window in the Selenium IDE

若如初见. 提交于 2019-12-11 06:01:49
问题 I'm having a problem retaining the focus after using the openWindow command in the IDE. This problem only applies when a second test case within the same test suite tries to interact with the newly-opened window. For example, I have a test suite consisting of separate test cases to do the following: Log into site A Enter some transactional data Submit the transaction for approval Open a new window and log into site B Approve the transaction in site B and close the window Continue processing

Make Selenium record IDs, not paths

巧了我就是萌 提交于 2019-12-11 03:58:53
问题 When I use the FF plugin it records the paths of the elements I interact with . In cases where the DOM is heavily-altered according to the user interaction, it is more convenient to element IDs , which are guaranteed not to be affected. I can record everything and change paths to ID manually, but I was wondering of there is a more clever way to do this? 回答1: I don't think there is a way to do this. In my experience, you can't avoid heavy editing of test scripts for most pages that rely a lot

Can you specify a 'relative' path for the data file using Sel-Blocks Selenium add-on?

时间秒杀一切 提交于 2019-12-11 02:49:27
问题 Is it possible to specify a relative path, rather than an absolute one, when specifying the location of a data file when doing data driven development with the SelBlocks add-on? I'm working on a small team and we'd love to be able to have our tests be portable and eventually become part of our production process. We are currently using the Selenium IDE to write the tests and we have some people on the team using Macs, some using Windows, etc. So, right now, the 'forXML' command requires an

How do I retrieve the text in a table column using Selenium RC?

懵懂的女人 提交于 2019-12-11 02:46:56
问题 I have a table that looks like the following: <table class="theClass"> <tr> <td class="anotherClass"><strong>Label1:</strong></td> <td colspan="3">Value1a<br/>Value1b<br/>Value1c</td> </tr> <tr> <td class="anotherClass"><strong>Label2:</strong></td> <td colspan="3">Value2a<br/>Value2b<br/>Value2c</td> </tr> <tr> <td class="anotherClass"><strong>Label3:</strong></td> <td colspan="3">Value3a<br/>Value3b<br/>Value3c</td> </tr> </table> How can I use Selenium RC to retrieve Value1a, Value1b, and

In selenium automation mouse arrow movement is it possible for a test case

两盒软妹~` 提交于 2019-12-10 19:52:12
问题 I am new to selenium .. I want to know how the mouse arrow movement can be shown to the user.I mean to say we automate certain things.. I want to know how we can get the mouse arrow movement to the user who is seeing the automation going on in selenium. Is it possible ??? Can we clearly show what is being clicked , I mean which button is being clicked by mouse arrow movement. I hope I am clear 回答1: There is add-on, which highlight elements being clicked. You can find that 1 https://addons

Easiest way to alter eBay page content/DOM

风流意气都作罢 提交于 2019-12-10 17:38:32
问题 Selenium was apparently not designed to allow you modify the DOM of the browser pages, but I occasionally need to insert HTML elements dynamically. In this instance: I am using Firefox with the Selenium IDE to record listing of auctions on eBay, but I noticed it cannot cope with the heavily JScripted auction content control and records nothing for those elements. If I turn off JavaScript for the ebay site the much simpler version of the first auction entry page is broken (it is missing a

How to generate a random number

一世执手 提交于 2019-12-10 17:33:25
问题 I have to create a test for homework using Selenium IDE and create a scenario to generate a random number. I'm struggling with what I need to type and what field to type in. What should I type in?: Command Target Value 回答1: (source: wisc.edu) 回答2: i always use this to create random username and e-mails storeEval > Math.round (Math.random() * 1357) > random type > id=UserName > selenium${random} and storeEval > Math.round (Math.random() * 1357) > random type > id=UserEmail > selenium${random}

Handle Securtiy Warning pop-up in FireFox with Selenium IDE

懵懂的女人 提交于 2019-12-10 17:24:48
问题 I am using Selenium IDE 2.5.0. When used Firefox 23.0.1, it displays "Security Warning" popup window with "Continue" and "Cancel" option. Once this popup window displays it does not allow to select anything or view source file before clicking either "Continue" and "Cancel" I tried all the mentioned solutions like, about:config but there is no security.warn in the list mentioned. I also tried to disable all warnings in security tab/settings button(warning messages) Some one suggested the