Web automation


Is your primary goal to test a web application of any kind (a site, the web console of an application, embedded page and so on)? Then, your choice should be Selenium PowerShell eXtensions and/or UIAutomation PowerShell Extensions.

 

The link list will be posted soon.

2 responses

  1. Looking forward to some more examples of using Selenium PowerShell eXtensions. I am particularly looking for info to find different elements on the page, and to interact, click, drag and drop etc.

    1. Hi Johnny,
      I’ll be blogging about Selenium cmdlets this week, I promise.

      The last week I’ve been experimenting with object repositories for such things as creating a PageObject in the Selenium PSX framework and ‘WindowObject’/’ControlObject’ in the UIAutomation framework (this is not completed, though).

      Right now, I’ve finished advanced search in UIAutomation:
      Start-Process calc -PassThru | Get-UIAWindow | Get-UIAButton -SearchCriteria @{name=’cl*’} | Read-UIAControlName
      this code returns the following:
      Clear entry
      Clear
      Close

      Such way to search is very user-friendly, moreover, it surpasses the MS UI Automation that can’t search for a lot of parameters at a time. Of course, advanced search like @{AutomationId=131;IsOffscreen=false;….} will be ported to Selenium PSX (a bit later).

      On the other hand, there is no such thing called SeleniumSpy right now, and I even doubt that I could create such a spy to be working fast enough.
      The problem is that ‘native’ spies like FireBug+FirePath for Firefox will work always faster than a spy working via WebDriver (i.e., through an inter-process connection).
      Maybe, I’ll create something different for the Learning mode (like in QTP, for example) and for the Test (working) mode.

      Anyway, I’ll post several searches that are available today, this week.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: