Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Testing] More Appium actions #25569

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

[Testing] More Appium actions #25569

wants to merge 6 commits into from

Conversation

jsuarezruiz
Copy link
Contributor

Description of Change

Added more UITest extension methods to identify the state of an element:

  • bool IsSelected(this IUIElement element);
  • bool IsDisplayed(this IUIElement element);
  • bool IsEnabled(this IUIElement element);


if (element is AppiumElement appiumElement)
{
return new CommandResponse(appiumElement, CommandResponseResult.Success);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this for older Appium versions? This doesn't seem to check anything specific to displayed, does it? The same of the other ones in here: Enabled, etc.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, in all our ui tests using Appium we must have access to the used driver. It a fallback.

Copy link
Member

@jfversluis jfversluis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple of small things!

jsuarezruiz and others added 4 commits October 30, 2024 13:28
Co-authored-by: Gerald Versluis <gerald.versluis@microsoft.com>
Co-authored-by: Gerald Versluis <gerald.versluis@microsoft.com>
Co-authored-by: Gerald Versluis <gerald.versluis@microsoft.com>
Co-authored-by: Gerald Versluis <gerald.versluis@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-testing Unit tests, device tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants