Questions tagged [ui-automation]

UI Automation is programmatic/scripted interaction with a graphical user interface, typically for the purpose of testing or accessibility assistance.

UI Automation is programmatic/scripted interaction with a graphical user interface, typically for the purpose of testing or accessibility assistance.

Examples of Stand-Alone UI Test Tools

Examples of UI Test Frameworks/Libraries

  • Microsoft UI Automation Framework (Win32/WinForms/WPF)
  • Scirocco (Android)
  • Maveryx (Swing)
3757 questions
1
vote
1 answer

How to get the content in the table within a CVirtualGridCtrl control of a window through pywinauto

I am trying to get the content of a table within a GridCtrl control as shown in the screenshot below. I have found through spy++ that the control containing the table is CVirtualGridCtrl. But how can I get the content of the table? app =…
tusonggao
  • 31
  • 5
1
vote
0 answers

Testing Framework For testing UI Components

I am writing jquery plugins like selectbox, rangeslider etc.. I am planning to do automation test. When I look into it, I find them confusing. There are frameworks like TestNG, JUnit, Maven, Gradel etc.. and on the other side mocha, jasmine etc.. …
vbrin27
  • 723
  • 1
  • 6
  • 25
1
vote
0 answers

Is there a WPF control which supports VirtualizedItemPattern?

I'm trying to implement a way to fetch all items from ListView with enabled virtualization for testing purposes. But apparently, despite the fact that Microsoft states that all controls since WPF 4 which supports virtualization have to have…
Andrei Orlov
  • 858
  • 3
  • 12
  • 24
1
vote
1 answer

Reading datagridview (table) using pywinauto

I want to do some automation using pywinauto and I'm stuck at reading DataGridView table. How do I convert it to readable table? I need to see the actual data in the table. The columns in the table are dynamic, you can add or remove the one you…
1
vote
2 answers

Approach to testing GUI using MS TEST / Coded UI in VS2010

I am just jumping into testing of a GUI-heavy app written in C++(MFC) and C# (WinForms, WPF). I have played with coded ui tests briefly, and I am happy with what I see. The trouble is that my program is non-trivial, so this does not work for me for…
Hamish Grubijan
  • 10,562
  • 23
  • 99
  • 147
1
vote
1 answer

ruby execute_script for custom function leads to no results

I have custom JS function about some of page performance details Doing automation via ruby-rspec-capybara Having next code: visit page execute_async_script("function getPagePerformance(){if (window.performance && window.performance.timing)…
z4elovek
  • 11
  • 4
1
vote
1 answer

Why does a right click sent from pywinauto not change the state of the grayed out connect button in informatica, but a real mouse button click does?

I am trying to write a script using pywinauto to open a repository in Informatica powercenter workflow manager (v9.6.1) After the below lines are executed, I get the context menu with the connect option as in the screenshot. Also notice the…
dbza
  • 316
  • 1
  • 5
  • 19
1
vote
1 answer

Retrieve Cell contents from data grid AutomationUI

Very simple, trying to get data in each cell in a a certain row. code sample (Please read comments) //Get Main window AutomationElement prog = AutomationElement.RootElement.FindFirst(TreeScope.Children, new…
1
vote
0 answers

Pywinauto - COMError when selecting tabs

I've been having a problem lately, when I select specific tabs (sheets) in excel documents, I get the following error: c:\python27\lib\site-packages\pywinauto\controls\uia_controls.pyc in select(self, item) 402 def select(self, item): …
Drxxd
  • 1,860
  • 14
  • 34
1
vote
0 answers

Selenium python-Getting timeout error even after handling it

I am automating an application that downloads files using selenium and python. I am getting timeout exception even though I have handled it in the python script. The timeout exception handles timeout most of the time but eventually my code…
Vishnu
  • 110
  • 2
  • 10
1
vote
0 answers

UiAutomator inside Java Project

I'm currently writing a program crawling third party Android Apps for keywords. I have a Maven Project and am trying to include the uiautomator library provided by Google. (like described here and here) There are some issues though. What I've done…
Seims
  • 154
  • 2
  • 7
1
vote
1 answer

Come back to activity from maps intent espresso - UI testing

I am using Espresso for UI testing. I wanna test a feature that Intent the app to the google maps app and come back to the same activity. The Intent is done successfully and the google maps is opened but i dont have control over the maps app and…
1
vote
0 answers

Webkit to find elements with Swift

I need to test UI in mac OS (not IOS) using Swift. I have opened a browser by using Webkit module's NSWorkspace.shared().open. Now is there a way to find elements on browser (Example: find elements by id, click a button etc) using Webkit. Note: I…
Roopa
  • 49
  • 1
1
vote
0 answers

Selenium Python- How to handle NoSuchWindowException in Chrome

I am trying to automate an application that downloads files automatically. I am using Selenium with Python. But my application crashes after some time throwing the Aw, Snap error and my script stops showing the error message:…
Vishnu
  • 110
  • 2
  • 10
1
vote
1 answer

WebdriverIO: How to correctly iterate throus elements and log out the getText?

I want to learn webdriverio. I try to run this code: client.init(). url('https://www.example.com'). elements('p').then((result) => { for (i = 0; i < result.value.length; i++) { (client.elementIdText(result.value[i])). then((re)…
Genady Mager
  • 61
  • 1
  • 7
1 2 3
99
100