Tag Info

New answers tagged

0

What about configuring email alerts to recieve changes made? You have that option in TFS, so naybe there is a way to configure that also on MTM.


2

Try this , storing all the Web elements of Select list in a List and then getting its size. List<WebElement> optionCount = driver.findElements(By.xpath("//select/option")); System.out.println(optionCount.size()); Thanks.


0

With Robotium, you only have access to activities that belong to your application. Gallery, Image Gallery, Photos, ect. launch activities that do not belong to your application.


1

First: You have md5 encrypted passwords. When it is theoretically no way of decrypting md5 encrypted password there is a way to decrypt a MD5 hash, using a dictionary populated with strings and their MD5 counterpart. As most users use very simple passwords (like "123456", "password", "abc123", or in your case 's'), MD5 dictionaries make them very easy to ...


0

In watir, this can be accomplished in one line: browser.select_list(:id=> 'id').options.count


0

try this, Select s = new Select(driver.findElement(By.id("#id"))); List<WebElement> list = s.getOptions(); There you have all the elements of your dropdown, and using the size() method you'll have all the options.


0

Here is the method I use to take screenshots using webdriver: private void takeScreenShot(EPropertiesNames path, Integer... screenID) { File directory = createFolder(path); try { // Toma la captura de imagen File imagen = ((TakesScreenshot) accesoWeb.getDriver()).getScreenshotAs(OutputType.FILE); StringBuilder sb = new ...


0

Yes, you can verify daoInterface.insert is called with verify(daoInterface).insert(anyObject());, but you have to mock DaoInterface first with DaoInterface db = mock(DaoInterface.class);. verify(daoInterface).insert(entity); will fail all the time because entity object from verify's argument and entity inside serviceMessage() are different instance. Instead, ...



Top 50 recent answers are included