Граф коммитов

296 Коммитов

Автор SHA1 Сообщение Дата
Timotius Margo 9862eb9442 Rename test methods to generate better organized test results
Add missing tests for XPath expression error scenarios
Add missing tests for element not visible action error scenarios
Optimize AlarmClockBase by avoiding click action on test initialize
Update error scenarios to check for exception types and error messages
Add scenarios for finding element/elements using element Ids
Add missing error scenarios for Source, Timeouts, Keys, and Windows tests
Refactor ElementSendKeys test to use Alarms application instead of Notepad
Rename Keys to SendKeys and use OpenQA.Selenium namespace for Keys constants
2017-07-12 15:59:20 -07:00
Timotius Margo 18c5348c45 Merged PR 620052: Add test methods for launching application with arguments and creating a session from top level window scenarios
Add test methods for launching application with arguments scenarios
Add test methods for creating a session from existing top level window scenarios
Add test methods for starting a classic windows application in given directory
Update the window switching test methods to cover the new restriction on the API
Reorder and rename Session and Window test methods for better clarity and organization
Add GetOrphanedWindowHandle helper function in Utility class for no such window scenarios
Fix Appium test where switching to other session's window is now prohibited
Replace browser URLs with Edge specific about URLs to increase reliability and reduce test duration
Create a common helper method in Utility class to check window handle validity
Update Edge app session base by removing unproductive test scenarios

Related work items: #10018205, #12391049
2017-07-06 22:03:27 +00:00
Timotius Margo ff792be6e2 Replace browser URLs with Edge specific about URLs to increase reliability and reduce test duration
Create a common helper method in Utility class to check window handle validity
Update Edge app session base by removing unproductive test scenarios
Add touch screen support on Calculator app session base class
2017-07-05 21:25:28 -07:00
Timotius Margo 03eb2e8944 Add test methods for launching application with arguments scenarios
Add test methods for creating a session from existing top level window scenarios
Add test methods for starting a classic windows application in given directory
Update the window switching test methods to cover the new restriction on the API
Reorder and rename Session and Window test methods for better clarity and organization
Add GetOrphanedWindowHandle helper function in Utility class for no such window scenarios
Fix Appium test where switching to other session's window is now prohibited
2017-06-30 19:23:22 -07:00
Timotius Margo ace61e7bbd Merged PR 588217: Update element attribute unit test to reflect the updated API that can retrieve arbitrary element attributes
Update element attribute unit test to reflect the updated API that can retrieve arbitrary element attributes

Related work items: #10292342
2017-06-30 18:55:49 +00:00
Timotius Margo 9cf9aa2e51 Update element attribute unit test to reflect the updated API that can retrieve arbitrary element attributes 2017-06-21 19:02:26 -07:00
Timotius Margo f93ba7a985 Merged PR 583517: Complete unit test for every API endpoint we support on PC Desktop
Create new unit tests for the following API endpoints:
- POST /session/:sessionId/element/active API endpoint
- GET /session/:sessionId/element/:id/equals/:other API endpoint
- GET /session/:sessionId/element/:id/enabled API endpoint
- GET /session/:sessionId/element/:id/location API endpoint
- GET /session/:sessionId/element/:id/location_in_view API endpoint
- GET /session/:sessionId/element/:id/name API endpoint
- GET /session/:sessionId/element/:id/size API endpoint
- GET /session/:sessionId/element/:id/text API endpoint
- POST /session/:sessionId/element/:id/clear API endpoint
- POST /session/:sessionId/element/:id/click API endpoint

Create a new Utility class containing helper functions to create session, get orphaned element etc
Create a new app session base for calculator app with extensive error case scenarios
Rename TouchBase to EdgeBase and group all app session base classes in a folder
Add common ErrorStrings class in CommonTestSettings
Add missing error scenario for various element API endpoint test
Add a helper function in AlarmClockBase to recreate stale element scenario
Optimize unit tests inheriting AlarmClockBase and CalculatorBase to re-use existing sessions

Related work items: #9226712
2017-06-22 01:10:00 +00:00
Timotius Margo fe10406dde Update AlarmClockBase and CalculatorBase to always re-use existing session when possible
Create a new helper function to create new session in the Utility class
Add a new function to get orphaned session needed to simulate No Such Window error scenario
Add missing test scenario in Element, ElementAttribute, ElementClick, ElementElement, ElementElements, Elements, and Window tests
Add useful common test strings and error messages to CommonTestSettings
2017-06-20 17:58:36 -07:00
Timotius Margo f76c032245 Create unit test for element clear, click, text, and displayed API endpoints
Add error scenario for GET /session/:sessionId/element/:id/selected API endpoint test
Create a helper function in AlarmClockBase to recreate stale element scenario
2017-06-14 21:31:54 -07:00
Timotius Margo 8def0bd1f4 Create unit test for various element API endpoints in W3CWebDriver test project
Create unit test for GET /session/:sessionId/element/:id/enabled API endpoint
Create unit test for GET /session/:sessionId/element/:id/location API endpoint
Create unit test for GET /session/:sessionId/element/:id/location_in_view API endpoint
Create unit test for GET /session/:sessionId/element/:id/name API endpoint
Create unit test for GET /session/:sessionId/element/:id/size API endpoint
Optimize CalculatorBase setup by checking calculator mode through the header value
Move GetOrphanedElement common helper function from CalculatorBase to a new Utility class
Rename Selected unit test to ElementSelected and add an error scenario
2017-06-14 18:24:26 -07:00
Timotius Margo 4841983a43 Create unit test for GET /session/:sessionId/element/:id/equals/:other API endpoint
Create common ErrorStrings class in CommonTestSettings
2017-06-14 15:38:37 -07:00
Timotius Margo 45f603622e Create unit test for POST /session/:sessionId/element/active API endpoint
Create a new app session base for calculator app with extensive error case scenarios
Rename TouchBase to EdgeBase and group all app session base classes in a folder
2017-06-14 15:38:36 -07:00
Timotius Margo 23fdaaa1af Merged PR 538937: Create unit test for Timeouts API endpoint scenarios
Create unit test for Timeouts API endpoint scenarios

Related work items: #9226712, #12244516
2017-06-14 22:04:00 +00:00
Timotius Margo cb8d8a04a8 Create unit test for POST /session/:sessionId/timeouts API endpoint scenarios 2017-06-14 14:59:53 -07:00
Yosef Durr e75c15042d improving Java sample reliability 2017-06-14 14:18:10 -07:00
Yosef Durr 25756ed116 Merge remote-tracking branch 'kylinmb/kmckay-bishop_JavaSample' 2017-06-14 14:05:19 -07:00
Timotius Margo eefe536085 Merged PR 538801: Add more UI control unit tests and scenarios highlighting mechanism to retrieve value and selected item in a list
Create unit test for ComboBox and DatePicker UI controls
Optimize UWPControls test collections by only navigating to a control page once per control
Update test scenarios to work without having pre-condition value assumptions
Fix dangling sessions issue by only creating single session per app instance
Create unit test for ProgressBar and TextBlock UI controls
2017-06-14 20:53:36 +00:00
Yosef Durr 6dd46e9c2a Adding helper function to calculator test for trimming whitespace 2017-06-14 12:48:06 -07:00
Yosef Durr ccaf4306a5 Merge branch 'patch-1' of https://github.com/dzmitrykamarou/WinAppDriver 2017-06-14 12:44:46 -07:00
Timotius Margo 073efb769c Add comments to clarify slider values in UWPControls unit test
Add initialization step for TextBox text unit test scenario
2017-06-13 12:37:34 -07:00
Timotius Margo 5dfb260fe7 Create unit test for ProgressBar and TextBlock UI controls 2017-06-07 17:45:24 -07:00
Timotius Margo 04af51f34e Optimize UWPControls test collections by only navigating to a control page once per control
Update test scenarios to work without having pre-condition value assumptions
Fix dangling sessions issue by only creating single session per app instance
2017-06-07 17:39:09 -07:00
Timotius Margo ec8e1b5dff Create unit test for ComboBox and DatePicker UI controls 2017-06-07 17:39:09 -07:00
Timotius Margo 34fc3778db Merged PR 522740: Add more UI controls and scenarios for the UWP controls sample tests
Add complete test scenarios for TextBox and ToggleButton UI controls
Replace hardcoded empty string literals with proper constant
2017-06-08 00:11:48 +00:00
Timotius Margo ed66575a54 Add Click, SendKeys, and Text scenarios for Slider control to showcase how to interact with the UI element 2017-06-07 17:01:41 -07:00
Timotius Margo 95c5cece6b Add complete test scenarios for TextBox and ToggleButton UI controls
Replace hardcoded empty string literals with proper constant
2017-06-01 20:19:43 -07:00
Dzmitry c5d8e7fa82 Update CalculatorTest.java
I cloned it to my PC, opened in IntelliJ IDEA and ran. But there were fails on such source places as:
Assert.assertEquals("Display is  8 ", CalculatorResult.getText());

When I trimmed the spaces, to "Display is 8" for example, it is was passed good.
2017-05-17 13:24:12 +03:00
Timotius Margo 30419d5a90 Merged PR 431306: Update the API endpoint list and improve tests for the latest Windows 10 versions 2017-05-05 19:34:45 +00:00
Timotius Margo 165c7c4894 Update the README with the new touch API endpoints added in v0.9 2017-05-04 18:50:00 -07:00
Timotius Margo 6a5f3b51a2 Update test cases to work better with the latest Windows 10 versions 2017-05-04 18:33:45 -07:00
Timotius Margo dc5576f026 Merged PR 430615: Update Window resizing test to start with a reasonably small window to prevent
Update Window resizing test to start with a reasonably small window to prevent hitting the maximum window size
2017-05-04 23:56:58 +00:00
Timotius Margo 87cd45266b Update Window resizing test to start with a reasonably small window to prevent hitting the maximum window size 2017-05-04 15:45:03 -07:00
Timotius Margo 0442cbf2f1 Merge branch 'InputTest' 2017-05-03 19:37:40 -07:00
Timotius Margo 0343c6d8a9 Maximize the Input app on startup to prevent stretched button to cover the entire UI
Change the test condition for Slide scenario to increase reliability
Remove and ignore generated project.lock.json from the repository
2017-05-03 19:37:12 -07:00
Shane Weaver e61028ad20 Merged PR 412697: Adding Touch test app and corresponding tests.
Adding Touch test app and corresponding tests.
2017-05-02 22:31:55 +00:00
Timotius Margo 0e4dac94d7 Merge remote branch into master
- Add origin test for window position
- Update unit test for Windows 10 Creators Update
- Use the latest Appium.WebDriver version 3.0.0.2
2017-03-31 13:33:55 -07:00
Timotius Margo 982bffd4ac Merge branch 'WindowsDriver' 2017-03-30 15:06:48 -07:00
Timotius Margo 3d7a305cd2 Update UWPControls unit tests to use OpenQA.Selenium.Appium.Windows namespace
Update UWPControls project with the latest Appium.WebDriver version 3.0.0.2 and its dependencies
2017-03-30 14:35:30 -07:00
Timotius Margo 8d3c4a0cd2 Update Appium unit tests to use OpenQA.Selenium.Appium.Windows namespace
Update Appium project with the latest Appium.WebDriver version 3.0.0.2 and its dependencies
2017-03-30 14:26:18 -07:00
Timotius Margo 684f90e942 Update W3CWebDriver unit tests to use OpenQA.Selenium.Appium.Windows namespace
Update W3CWebDriver project with the latest Appium.WebDriver version 3.0.0.2 and its dependencies
2017-03-30 14:20:49 -07:00
Timotius Margo 1a77949b2c Merge branch 'CreatorsUpdate' 2017-03-30 13:29:57 -07:00
Timotius Margo 1e6784c54e Update Currently Supported APIs table in the README 2017-03-30 13:00:50 -07:00
Timotius Margo e758ae2a1f Update W3CWebDriver unit test to work with Windows 10 Creators Update built-in apps
Fix compatibility issues with Windows 10 November Update built-in apps
Update TouchLongClick and TouchScroll scenarios to use simpler Alarms & Clock app to improve test reliability
2017-03-30 13:00:38 -07:00
kmckay-bishop b15f5cf5f9 XML 2017-03-27 09:14:07 -06:00
kmckay-bishop 945691b352 Java sample working with WindowsDriver 2017-03-24 15:44:27 -06:00
Michael Niksa 7f9753750b Merged PR 314700: Add origin test for window position.
Add origin test for window position.

Related work items: #11350806
2017-03-21 22:50:06 +00:00
Michael Niksa ff7a3e4c87 Add origin test for window position. 2017-03-21 13:41:28 -07:00
Yosef Durr 22993d02ed update readme formatting 2017-02-16 13:03:00 -08:00
Gilles Khouzam 5ffa805cbf Merge pull request #150 from Microsoft/yodurr/fixSamples
adding Appium section to readme
2017-02-16 12:55:47 -08:00
Yosef Durr 922b2d54f0 adding Appium section to readme 2017-02-16 10:24:47 -08:00