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

select Outlook element using Winium #79

Open
vimalraturi opened this issue Sep 25, 2018 · 0 comments
Open

select Outlook element using Winium #79

vimalraturi opened this issue Sep 25, 2018 · 0 comments

Comments

@vimalraturi
Copy link

Hi,
I want to automate some outlook process by using Winium, I need to click on emails in outlook.
but I can't find email by XPath. can't use name property it got frequently change for different systems.
Currently, I used this code also but no positive response.

const string XPath = ".//*[contains(@name, 'Subject Test Mail')]";
var toEmailFinder = Winium.Cruciatus.Core.By.XPath(XPath);
var toEmail = Winium.Cruciatus.CruciatusFactory.Root.FindElement(toEmailFinder);
toEmail.Click();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant