Tuesday, 31 December 2013

Handling Windows Dialogs Using Selenium Part 3

Upcoming Realeases and Features


Upcoming version : ATU Selenium Utility API v3.0

***************************************************************

Features include:
  • Identify the browsers installed in the System
  • Few more methods for identifying an Object
  • New API methods for working with Window Elements 
  • Robot keys typing feature
  • Closing Processes
  • Start an application 
  • Minor improvements

Current and Stable : ATU Selenium Utility API v2.0

***************************************************************

Features include:
  • Ability to handle windows os level dialogs such as, Downloading, Uploading, Windows Authentication and other modal dialogs.


ATU Selenium Utility API v1.0

***************************************************************
Features include:
  • The WebTable API: using this api you can work with HTML table without using XPATH or ID or any other attribute. you can simply use indexes for identifying a particular row and column.

6 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. Selenium webdriver is not support windows dialog. Instead of you can use autoIT tool to automate windows dialog.

    import java.io.IOException;
    import java.lang.Runtime;
    //Method to execute an exe file
    public void executeScript(String scriptPath) throws IOException
    {
    //scriptPath is the path of the executable
    Runtime.getRuntime().exec("D:\\sutoITscript.exe");
    }

    or

    File file = new File("lib", "jacob-1.15-M4-x64.dll"); //path to the jacob dll
    System.setProperty(LibraryLoader.JACOB_DLL_PATH, file.getAbsolutePath());

    AutoItX x = new AutoItX();
    String notepad = "Untitled - Notepad";
    String testString = "this is a test.";
    x.run("notepad.exe");
    x.winActivate(notepad);
    x.winWaitActive(notepad);
    x.send(testString);
    Assert.assertTrue(x.winExists(notepad, testString));
    x.winClose(notepad, testString);
    x.winWaitActive("Notepad");
    x.send("{ALT}n");
    Assert.assertFalse(x.winExists(notepad, testString));

    Test Automation

    ReplyDelete
  3. Please check this post for working with Auto IT

    http://testingtoolstecniques.blogspot.com/2015/02/how-to-handel-ad-authentication-dialog.html

    ReplyDelete
  4. Hi Automation Tester,

    Can you provide handling windows dialogs using selenium with IE browser..
    1. What versions of compatibility is there to use ATU , JACOB with IE browser.

    Can please provide whether do we have compatibility specically to use with IE or chrome browsers as similar to FF browser.I am able to do uploads and downloads with FF browser using Windows Utility handler. but not with other browsers.

    ReplyDelete