angularjs - How to call one file from another file in protractor angular -


this first file log.js

var user = 'raghavendra@gmail.com', pwd = '123';  describe(' login page.', function() {      it('sending valid values:', function() {         browser.get('http://gmail.com');      expect(browser.getcurrenturl()).toequal() 

second file create_file.js

describe(' login page.', function() {     it('sending valid values:', function() { }     expect(browser.getcurrenturl()).toequal() } 

how call log.js file in create_file.js. please me.

i got solution

require('/home/raghavendra/desktop/python_pro/ng_test/e2e-tests/log.js'); 

Comments

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -