Right now I am trying to use selenium ide to write code that makes sure web pages on a website work. On one particular page there is a table that has text boxes in each cell. You can add a row by clicking a button. What I want to do on this page is type data into the first two rows. I used selenium ide and recorded me typing in data. The...
I have been using selenium IDE to do some web app testing. I have been encountering errors on trying to playback the user actions, but have not been able to fix them because I have no idea what makes up selenese html targets and commands. It does not look like normal html to me but I cannot figure it out. If someone would be so kind as t...
Just using selenium to fill out some forms for me. I need it to generate a unique value for my username field. How can I do that?
I've got
Command: type
Target: id_of_my_field
Value: username+unique_value ???
...
I am currently developing several test suites using Selenium IDE. The tests will be run as part of our CI server using Selenium RC though.
I am defining JavaScript functions in 'user-extensions.js' to generate random test data.
The issue I am running into is that when I export the recorded test to C# it will comment out the call to ...
I've created a test suite in selenium IDE using the example code from the website and when I right click and attempt to load the suite it tells me the test is empty. This is on latest stable ff for mac and selenium 1.07
...
Is there any way to pass a variable from the suite to the test in selenium ide? I need to have change the baseURL half way through my tests and I'd like to be able to set that once for all the tests
I've tried using storeEval and setting it that way.
I'm guessing the only way might be to create a userExtension and set the variable ther...
I am using browsermob and selenium for creating scripts to run on a site. I am trying to grab all of the elements on the page with a certain name. My problem is when I try to use window.document.getElementsByName("name"); browsermob says that window is not defined. How do you define window?
...
My web application loads a pdf in the browser. I have figured out how to check that the pdf has loaded correctly using:
verifyAttribute
xpath=//embed/@src
{URL of PDF goes here}
It would be really nice to be able to check the contents of the pdf with Selenium - for example verify that some text is present. Is there any way to do this?...
Hello,
What command is used to verify the list of suggestions is displayed when typing a letter in text field (example: a)? And how to verify the items in the list start with the letter you typed?
...
I have a selenium script that I created with Selenium IDE. I was
wondering if there is anyway to store the text that is in a certain
element in a variable so that I can use that text later in the script? I am using selenium IDE to do it and then importing it into browsermob.
For Example: I have this html:
<div id=title>
<h2>Websi...
Hello,
A recorded test script includes a google search.
After clicking on "Google Search", the next action was to click on a link in the test results, however during playback this happens before the browser has loaded the results, so the solution seemed to be to add a delay after the search. I tried it two ways :
changing "click" to ...
I have Selenium tests in PHP under PHPUnit run via CruiseControl. Is it somehow possible to check if there was a JavaScript error on the page?
...
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, i...
I have this html:
<div class="title">
<div class="subtitle">
<div id="flhcd1>
<h3>Hello</h3>
<span></span>
</div>
<div class="subtitle2">
</div>
</div>
I want to be able to use selenium and javascript to store the text in the <h3> (Hello) in the variable titleText .
I will be using this code in browsermob for monitoring tests.
...
I have an object
var object= {}
I put some data in the object and then I want to print it like this
document.write(object.term);
the term is a variable that changes depending on different situations. When I try printing this it comes up with undefined.
How would it be done?
Update:
this is the code I am dealing with. I guess it ...
Hi have problem i create test when i run it from selenium IDE everything is ok, test be passed. When i run my test by selenium testRunner the page was opened but any command eg. clickandwait cannot run in log error "Illegal operation on WrappedNative prototype object". Any idea?
...
Having trouble with returning the text from an attr node for the purpose of using in a AssertText Selenium IDE command.
Command: AssertText
Target: //input[@id='myInputTextBoxID']/@value
Value: ${myStoredSeleniumVal}
The result is [error] Element xpath=//input[@id='V1_I1_T5']/@value not found
I have tried using a literal for the value,...
Hi
When running test cases in Selenium IDE I see that each step result is logged in the Log tab. Example:
# [info] Executing: |store | //html/body/div[3]/table/tbody/tr/td[3]/a/img | |
# [info] Executing: |store | | |
# [info] Executing: |verifyText | //td[1]/div | Recommended for you |
# [error] Actual value 'Recommended items' did no...
I have a page that I want to check with selenium that uses a certain background image for one element. I want to ensure that this image still exists on the page connected to the element. How would I do this with selenium. If this changes anything I am using browsermob.com to do the testing once I get it running through selenium ide.
...
I am trying to use selenium to enter data into google docs so that it is accessible to other selenium scripts. If not can anybody think of a way to accomplish this?
...