jQWidgets Forums

jQuery UI Widgets Forums General Discussions Protractor Integration

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 8 years, 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Protractor Integration #91133

    ashvani18
    Participant

    Hi Team,

    We are using jqwidgets with angular1. Recently , we have started Automation Testing with protractor framework. Currently we are using generated HTML of jqwidgets to select element from protractor. This generated HTML has some random id and div etc. It is very risky to use because in some point later, jqwidgets may decide to change the way how it generate the HTML and all of our selector would fail.

    Is there any way that we can integrate jqwidgets in protractor so that we directly select the UI component and can use jqwidget API to get the state of widgets e.g to get the selected elements of a dropdown, all rows of grid etc?

    Protractor Integration #91134

    Peter Stoev
    Keymaster

    Hi ashvani18,

    All you need is a valid HTML Element to create a widget. The selection could be by Id, className or just pass the Element.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.