Not able to fetch correct data while executing 2 queries in BeforeAll function in protractor
- 阅读更多 关于 Not able to fetch correct data while executing 2 queries in BeforeAll function in protractor
问题 I am using protractor 5.2.2. and cucumber 3.2.0.I am executing 2 queries in Before All function for fetching the data from the DB.But i need to execute in a way that after executing first query completely, then only i need to start executing the second query(because i am using the 1st query result in 2nd query and i need to catch the 2nd query result before starting all scenarios.).The code i have given in the BeforeAll function is given below var Connection = require('tedious').Connection;