-
Notifications
You must be signed in to change notification settings - Fork 285
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
SwitchView for Activities i.e Task is not Working #61
Comments
@khushanki Can you please paste in the stack trace, error message? |
Hi, Stack Trace:- |
Hi, However let me know if any other method I can use like SwitchView . |
Thanks for sharing @khushanki I have added a feature request to the backlog to expand upon the SwitchView method and add capabilities for Activity entities. |
Closing this as an item is on the backlog tracking this work. We'll update at a later time to confirm this work has been completed. Thanks, |
Hi, In order to this to work in the Activities window, you need to switch the view first. The activity page is construct in an iframe. The filter is in that iframe and you need to change the driver focus the iframe first then you can identify the elements. Try below code:
Regards, |
I tried to navigate to Task Views from Activities grid view. But not able to do so, I get error as view with "Task" doesn't exists and View with "My Tasks" doesn't exists. Please find my code below:-
xrmBrowser.Navigation.OpenSubArea("Sales", "Activities");
xrmBrowser.ThinkTime(2000);
xrmBrowser.Grid.SwitchView("Task");
xrmBrowser.Grid.SwitchView("My Tasks");
The text was updated successfully, but these errors were encountered: