This is the first file log.js
这是第一个文件log.js
var user = 'raghavendra@gmail.com', pwd = '123';
describe(' login page.', function() {
it('Sending a valid values:', function() {
browser.get('http://gmail.com');
expect(browser.getCurrentUrl()).toEqual()
second file create_file.js
第二个文件create_file.js
describe(' login page.', function() {
it('Sending a valid values:', function() {
}
expect(browser.getCurrentUrl()).toEqual()
}
How to call log.js file in create_file.js. Please help me.
如何调用日志。在create_file.js js文件。请帮助我。
1 个解决方案
#1
3
I got the solution
我的解决方案
require('/home/raghavendra/Desktop/python_pro/ng_test/e2e-tests/log.js');
#1
3
I got the solution
我的解决方案
require('/home/raghavendra/Desktop/python_pro/ng_test/e2e-tests/log.js');