7 votes

How to check is image is loaded or not in selenium?

I'd go with a two way approach, first make sure the Image can even be loaded, for this you could just use an HttpURLConnection. This could look like this: Boolean checkLinks(WebElement Im, String ...
Daniel's user avatar
  • 968
7 votes
Accepted

How to handle a ReCAPTCHA picture?

There is not any way to automate captcha submission. Actually, that's the reason captcha is used for. All you can do are: ReCAPTCHA's documentation provides a set of keys that you can use for testing....
Shahid's user avatar
  • 624
6 votes
Accepted

Multiple the variable passed in pause command in Selenium IDE

Selenium docs mention that Javascript can be used in Selenium IDE in two ways. With script-parameters (storeEval etc) and with non-script parameters (direct javascript). The easier solution to your ...
TestingWithArif's user avatar
6 votes
Accepted

testing with loops

Whatever the reason - if you check for 400 things in a loop you can only find 1 defect at a time because your test will throw an assertion error. I suggest using something like DataProvider from ...
Moro's user avatar
  • 1,067
5 votes

How to get max character count for input fields with selenium webdriver

You can find the field and get the maxlength attribute max_length=find('input#id').getAttribute('maxlength') In the IDE I think it would be something like this to store it in 'x': <td>...
Michael Durrant's user avatar
4 votes

Multiple the variable passed in pause command in Selenium IDE

You can make use of storeEval command in Selenium IDE. Using it you can add, divide, multiply any variable with desired value and then use it. Command: storeEval Target: storedVars['delay']*2 Value: ...
AMfromNBS's user avatar
4 votes

How to select li element in selenium

Use the below code: WebElement countryUL= driver.findElement(By.xpath("//[@id='country_id']/ul")); List<WebElement> countriesList=countryUL.findElements(By.tagName("li")); for (WebElement li : ...
Nikunj Aggarwal's user avatar
4 votes

Which Firefox version is more compatible with Selenium IDE and Firebug?

Selenium IDE & firebug can work on any versions (mostly above v-31.0) of Mozilla FF. both are Firefox plugins so they don't affect on any versions. If you are asking about Selenium WebDriver & ...
Bharat Mane's user avatar
  • 6,785
4 votes

How to export test cases in the latest selenium IDE

This feature is not available in Selenium IDE new version. Try Katalon Recorder if you really need that function. Among Selenium-IDE alike tools, at this moment it is the only one with code export. ...
Hai Minh Nguyen's user avatar
4 votes

How to change the Selenium IDE file extension (.side file into java file) while saving the project

The "NEW" Selenium IDE does not support exports to other languages currently, it is still work in progress, see the github issue: https://github.com/SeleniumHQ/selenium-ide/issues/592 You could use ...
Niels van Reijmersdal's user avatar
4 votes

Method and way to highlight the validation message in the web page by using Selenium IDE

You can use the "run script" command with JavaScript code in the target field. Here some example code to highlight the first h1 element on a page with XPath: document.evaluate('//h1', document, null,...
Niels van Reijmersdal's user avatar
4 votes

How I can calculate the sum of items that are stored in main Id and then sub_id in that main Id

Comments explain the flow WebElement baseCard = driver.findElement(By.id("00automation")); // Finding the base of the DOM tree where the price tag will be List<WebElement> priceTags = baseCard....
João Farias's user avatar
  • 10.5k
4 votes

If/else with test on checkbox in SELENIUM IDE

A simple if statement works like given above, you could try yourself. If you change the target value to true for if command then the output will be Passed and if you keep it as false, the output will ...
PDHide's user avatar
  • 11k
4 votes

Merge Selenium projects

Selenium IDE has no version control integration, at least for now. All the test info is written in a .side file (unless you are using code export to another language). If you've set up git ...
Mate Mrše's user avatar
  • 4,119
3 votes

xpath - element is not located even when I construct the xpath

Here is change that I have made in your code- are they 2 different textboxes or single one? If you add screenshot of your textboxes it will clear to all of us- WebElement nameTbox= driver....
Sophia's user avatar
  • 367
3 votes

How to select li element in selenium

It's simple, just you have to use Select method in WebDriver. WebElement countrydropdown=driver.findElement(By.id("country_id")); Select country=new Select(countrydropdown); country....
Bharat Mane's user avatar
  • 6,785
3 votes

How do I run Selenium IDE recorded tests consistently against several environments?

The simplest approach is to use the 'Base URL' in IDE. http://www.seleniumhq.org/docs/02_selenium_ide.jsp#using-base-url-to-run-test-cases-in-different-domains The Base URL field at the top of ...
Janaaaa's user avatar
  • 329
3 votes

Calling a test suite from another Test Suite/Test Case

You could just split the calling suite into pre and post steps. Then your runner could run Pre Suite The Test Suite you wanted to call Post Suite.
Amias's user avatar
  • 1,202
3 votes
Accepted

Using Selenium IDE tool can we check the font color and font size or CSS values of the web element?

You can try execute script function. See my example below: Here is test output: Inside getComputedStype you need to use JS way to look up the element you need and then invoke getPropertyValue with ...
Alexey R.'s user avatar
  • 11.6k
2 votes

Testing using Selenium

Selenium WebDriver uses JSONWire protocol which is cross-platform. It provides different client libraries i.e. for C#, Java, Python, Ruby, JavaScript. Once you have tests developed in C# - the ...
Dmitri T's user avatar
  • 13.4k
2 votes

Can I copy data from a CSV file and use it in a website using only Selenium IDE

Yes, you can do it using Selenium IDE. You can read data from CSV files and use it to fill forms/fields in your application using Selenium IDE. For this you will need to add extension to Selenium IDE ...
Dhiman's user avatar
  • 4,580
2 votes
Accepted

Extract value of variable in string in Selenium IDE

use storeText to store the text message echo to verify it use storeEval to extract the numeric value from text message string echo it and use it where required Check example below for a sample ...
TestingWithArif's user avatar
2 votes

SELENIUM IDE - Selecting DROP DOWN using Array(parameterization)

There is no HTML code you are using and therefore we cannot evaluate what is going wrong here, but suspect this: 1) Read select command documentation: select(selectLocator, optionLocator) ...
Dee's user avatar
  • 1,356
2 votes

Test recording with Selenium IDE vs manual programming test framework

There is another tool to record page object model. below is the link: http://seleniumrecorder.blogspot.com/
varinder kumar's user avatar
2 votes
Accepted

How to handle the browser pop-ups in selenium IDE?

Selenium IDE cmd - There are limitations as to what can be replayed through Selenium IDE. It is not possible with IDE because the popup is not a html object and will not have any locator. It is an ...
Narendra Chandratre's user avatar
2 votes
Accepted

Is knowledge in Webdriver needed in order to do automated cross-browser testing with Selenium?

Exporting the tests may take care of ~90% of the task at hand. The work you'll mostly likely need to do is patch ups, such as: Calling upon the different webdrivers (Chrome, Internet Explorer) ...
klmlfl's user avatar
  • 218
2 votes
Accepted

Selenium IDE with tables or manual test

You can reach same results as with webdriver with Selenium IDE, if you will use Selblocks. This will allow you to use for cycles, conditions, etc... and this will make all that table stuff much easier....
Dee's user avatar
  • 1,356
2 votes

How do you open a new tab in Selenium IDE?

Example URL: http://www.htmlcodetutorial.com/linking/_A_TARGET_95y98y108y97y110y107y.html Example Element: <a href="newwindow.html" target="_blank">a new window</a> Solution in IDE ...
kirbycope's user avatar
  • 4,090
2 votes

Selenium IDE format for Jenkins integration

Its should be like this, https://stackoverflow.com/questions/1144744/how-do-i-launch-the-selenium-ide-from-the-command-line-with-a-specific-test-case Read the above question and create a bat file to ...
ChathuD's user avatar
  • 2,141
2 votes

Creating negative tests

Yes. I treat positive and negative tests as basic tests. I treat them quite similarly and use them both in my tests. I assert that the things I should see are there and that things I shouldn't see ...
Michael Durrant's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible