Hot answers tagged

4

Try sending an empty key to the element in order to focus on it as well as set get visible over hidden property. For example: hidden_element.send_keys "" // This will make element visible first. hidden_element.click() // Pretty simple job when element is visible.


1

You can use Selenium to develop automated tests for Web GIS applications. Web GIS is all about present the information graphically to a user, and whatever we can see on a web page is what we can test using Selenium. But it will be: very time consuming to develop it difficult to maintain As one thing computer program can not perform as well as humans ...


1

A Platform independent way to create folder would be something like:- File rootDir = File.listRoots()[0]; File dir = new File(new File(new File(new File(rootDir, "Users"), "xyz"), "screencapture"), "new folder you want to create"); if (!dir.exists()){ dir.mkdirs(); }


1

I only have experience with Selenium WebDriver, but most like Protractor has an implicit wait going on, which means it tries keep finding elements for a certain amount of time. You'll probably need to turn this off (to 0), in order for the method to immediately return a value (similar issue for Selenium's FindElements method). This could be of interest to ...


1

I haven't found a way to do a 'mouse over' option but you can use Action Chains to achieve this. Actions action = new Actions(webdriver); WebElement we = webdriver.findElement(By.xpath("expression")); action.moveToElement(we).moveToElement(webdriver.findElement(By.xpath("expression"))).click().build().perform();


1

First once clear the input text fields and send the input values.Create a reference object for better use. webElement objPh=driver.findElement(By.name("phone")); webElement objSSN=driver.findElement(By.name("ssn")); objPh.clear(); //To clear the phone text field objPh.sendkeys("(222)222-2222"); // To send the input values in phone text field objSSN....


1

We are looking for a test management tool similar to Quality Center I would actually suggest that the equivalent tool does NOT exist. My experience over the past few years is that you have to pick the programming language and the test automation framework within that language. Even with test frameworks though, you will still need to manually write the ...



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