Tag Info

New answers tagged

0

Here's how I'm doing it in VB with FirefoxDriver. I created a wrapper for the webdrivers, but without a wrapper it looks something like this. IWebDriver has two handle controls; CurrentWindowHandle and a collection of WindowHandles. The handles in WindowHandles are in the order in which they were created, so getting the last handle in the list gets the ...


0

Maybe this question was already resolved, but here's an example that I use in my test project. I use C# and the web application uses kendo charts too. I created a method just to capture the tooltips values and return a string. public string GetTooltipValue() { Thread.Sleep(400); IWebElement waitToolTip = ...


0

I think you can change the settings of Firefox so that it just download without showing a download file dialog. https://support.mozilla.org/en-US/kb/change-firefox-behavior-when-open-file You cannot handle native OS dialogs with Selenium IDE, if you can't disable the download dialog, then your only option is dropping the IDE and writing Selenium tests in ...


0

I like to use below format to avoid quotes errors WebElement element= driver.findElement(By.xpath("//div[@class='btnContr']/input[@value='Cancel']")); JavascriptExecutor executor = (JavascriptExecutor) driver; executor.executeScript("arguments[0].click();", element); Hope it will help you :)


0

The chart looks like an SVG chart. So you would need to go to the particular bar and then get the tool tip using the .text attribute - if you're using Python or using the getText( ) -in case you're using Java. Here is an example of such a chart (it's a pie chart) SVG Pie Chart Here is how I got the tool tip text for the Violet portion of the pie chart : ...


0

If the Graph is inside a frame then probably you need to switchTo Frame and perform the action. If that is not the case, then if possible can you provide the sample for the barchart.



Top 50 recent answers are included