I assume you mean testing advertisements? (Not just clicking twice on stuff?)
I have not, but I have tested other kinds of ads over the years. The investigative techniques you use are similar to other kinds of testing - what is the desired interaction, can you simulate it, what happens when you try, etc.
good luck!
Yes. We test HTML banner ads using the DoubleClick platform. It's a nice way to be able to test many points of the creative. What would you like to know?
- Carl
I assume you are asking for double clicking the element on web
Browser Console: We can double click an element in browser console using jquery as shown below:
$('div[row=0]').find('div.race-list-duplicate').dblclick()
Capybara: We can do it using below mentioned code
page.execute_script("$('div[row=0]').find('div.race-list-duplicate').dblclick()")
Java: We can also use the "Actions" class in selenium in which "double-click" action is incorporated.
import org.openqa.selenium.interactions.Actions;
Actions action = new Actions(driver);
WebElement element=driver.findElement(By.linkText("TEST"));
action.doubleClick(element).perform();
StickyMinds is a TechWell community.
Through conferences, training, consulting, and online resources, TechWell helps you develop and deliver great software every day.