New answers tagged selenium
2
go to Computer>Properties>Advanced system settings
From Advanced tab choose Environment Variables
From System Variables delete JAVA_OPTIONS, JAVA_TOOL_OPTION and IBM_JAVA_OPTIONS
Re-Run Application. Works for me while trying to run JMeter
2
I can tell you what I do in this situation. I have not used the LoadableComponent, however what I have done has followed a similar pattern. I create classes for each of the "loadable components" that are basically page objects. I have something like the IsLoaded function to ensure that the component is loaded, and depending on how it works I either don't ...
0
Selenium IDE can not easily do data-driven testing.
There are add-ons which can help; for example Sel Blocks, or datadriven.js.
However, I recommend you export your tests to a testing framework such as JUnit; that will make much more functionality available to you - not only data-driven testing, but many other techniques to make your tests more robust than ...
1
I don't think Selenium has this feature, and it wouldn't make sense anyway for many reasons.
On the other hand if you are using Java you can use Apache - POI to read in the data from excel in your unit test and then use that to do what you want to selenium testing suite. I just stumbled over this presentation a few minutes ago where someone does just that ...
-2
It is very Simple in C#
Example :
IWebElement chkBox = driver.FindElement(By.Id("some id "));
if (chkBox.Selected) {
//perform actions
} else {
//perform actions
}
0
There seem to be two problems in your question: how to you locate the cursors (clickable parts of the map), and how do you determine whether a tooltip appears when you click a cursor. You did not explicitly ask about the second problem, so I will assume you are mostly interested in the first part.
If all of your cursors are area elements, you might try ...
2
I've found that the deleteAllCookies function works differently in different browsers. DeleteAllCookies will delete all session data in Chrome, but only cookies in firefox. I'm still looking for a good way to delete session data in FF
Top 50 recent answers are included
