4

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 correctly, you should be OK, provided you are not trying to work at the same file at the same time. Just commit different tests in folders you agreed on. However, I ...


3

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 the value you would like to assert. Being saved to a variable (in my case it is ${WDTH}) you will be able to test your property for a specific value.


2

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 be fail. Coming to your question if you want to verify whether a checkbox is selected. You can use the verify checked command. But, these commands do not ...


1

You are not returning the array you have add target as return ["car","bus"] instead of ["car","bus"] and use for each ${vehicles} iterator In selenium, we use name in the value field (to store something to the variable) and ${name} in target while targeting (when need to access the stored variable) Now you will have car and bus respectively for each ...


1

There is no return value for verify element, so as a work around use, "Store xpath count" . If 0, it means no element, if 1 it means element present. The below answer gives more complecated if/else scenarios: If/else with test on checkbox in SELENIUM IDE


1

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 be fail. Coming to your question if you want to verify whether a checkbox is selected. You can use the verify checked command. But, these commands do not ...


1

You have to use the store attribute command : store attribute command finds the element using CSS locator and gets the attribute value mentioned after the '@' symbol. Then the value is stored to the specified variable in the value field. For instance: For getting the data-questionid for the below element: <div class="question" data-questionid="42375" ...


1

The problem is probably on this Thread.sleep. You could add an explicit wait for the element before clicking. WebDriverWait wait = new WebDriverWait(driver, timeout); WebElement button = wait.until(ExpectedConditions.elementToBeClickable(locator)); button.click(); It will check constantly the state of the element and continue to the click as soon as it is ...


1

Selenium is the technology which the browser manufacturers have agreed to support. So Selenium itself is not usually the choice. (the only exception are UI 'diff' tools which are generally in their infancy). So really the choice is: You do the programming You use a vendor who provides an interface on top of selenium that you find easier to use. See the ...


1

You can use Katalon Studio, it provides both record & playback feature along with scripting capabilities. It has a gentle learning curve with a pre-configured framework and support for cross-browser testing and what you are trying to achieve can be done in a couple of days only. You can learn about it here - Katalon Studio Tutorial


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