Hi there!
My issue might be simple for u all , but since I am a beginner , I am using
C# with Selenium and integrated the Protractor package to it .
Please find the below Angular js code , I am trying to locate the button ,
but the "By " provides Selenium locators and "NgBy" provides Protractor
locators , and these are very limited , I am not able to use
NgBy.PartialButtonText in this.
When I used the same in pure Protractor +JavaScript I was able to do it ,
but the demand here is with C# and with C# it's not working , can anyone
help.
<button
data-ng-click="vm.cancelInterval();navigate('/home/solutions/create')"
class="btn-default ng-binding">+ Create new Solution</button>
I used By.css and ng -click into it , but it did not work ,
for classname it say - invalid locator ...so cannot use classname too ...no
id is provided , then how to locate such element.
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.