Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

How to identify Kendo Controls using Protractor #4933

Closed
vishalranjan15nov opened this issue Aug 20, 2018 · 7 comments
Closed

How to identify Kendo Controls using Protractor #4933

vishalranjan15nov opened this issue Aug 20, 2018 · 7 comments

Comments

@vishalranjan15nov
Copy link

Hi Team,

We have kendo controls in our angular application. While writing automation script using protractor we are unable to identify the controls by any of the available locators. Can someone help me how to proceed with this type of control?

New

@IgorSasovets
Copy link
Contributor

Hi, @vishalranjan15nov ! Please provide links to test app (Kendo UI examples also possible) and mention desired components.

@IgorSasovets
Copy link
Contributor

Ok. thanks) I'll check it)

@IgorSasovets
Copy link
Contributor

Selectors:

  • "New" - $$('button.k-button').first();
  • "Save" - $$('button.k-button').get(1);
  • "Clear" - $$('button.k-button').get(2)
    or you can try to use unique selectors as following:
  • "New" - element(by.cssContainingText('button.k-button', 'Clear'))

@IgorSasovets
Copy link
Contributor

Also, please close this issue and change access credentials to your app. If you'll have any other questions, related to the Kendo UI, please email me.

@vishalranjan15nov
Copy link
Author

Thanks for the help. I have tried as following:
"New" - element(by.cssContainingText('button.k-button', 'New'))

This is working fine.
Could you please give me your mail id?

@IgorSasovets
Copy link
Contributor

You can find it on my profile page. Also, please close this issue.

@vishalranjan15nov
Copy link
Author

Yeah. I have found it. I am closing the issue.
For further issue and doubt, I will write a mail to you.

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

No branches or pull requests

2 participants