Skip to content

badrisugavanam/protractor-angulardatePicker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

protractor-angulardatepicker

A node module to ease out writting test in protractor for choosing a date and time from angular date and time picker

example usage :

it('The text box contains August 12 6:30 PM ', function() {
     browser.get('http://dalelotts.github.io/angular-bootstrap-datetimepicker/');
var p= require('protractor-angulardatepicker');

 
  var parentnode=element(by.css('.input-group-addon'));
  var nthnode=3;
  var dateofthemonth='12';
  var timeoftheday='6:00 PM';
  var specifictimeofthehour='6:30 PM';
  var resultinputbox=element(by.model('data.dateDropDownInput'));
  var relativetime;
    p.ptorangulardateTimePicker(parentnode, nthnode, dateofthemonth, timeoftheday,specifictimeofthehour,    relativetime, resultinputbox).then(function(result){
       console.log(result);
    });

  });

About

A node module to ease out writting test in protractor for choosing a date and time from angular date and time picker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published