can we pull data as per different environment in taiko #2561
Replies: 5 comments
-
can someone please help,this is urgent |
Beta Was this translation helpful? Give feedback.
-
Taiko does not handle test data, that has to be handled by the test runner being used like Gauge, mocha or jest. You can use different user profile of browser to have the settings and local storages shared if that can help. |
Beta Was this translation helpful? Give feedback.
-
In other words, when Taiko is used with test runners like Gauge, mocha, jest... we can run against different profiles. |
Beta Was this translation helpful? Give feedback.
-
Thanks Nivedita. Gauge provide flexibility to pick test data from diff path based on env using "gauge_data_dir" key but if i try same thing with gauge+taiko= i do not see options to run specs. This mean specs are not recognizing path used in property file using above feature Gauge use test data file path from default.properties file and rest of the path is concated from specs. Same thing does not seem to be working in Gauge+Taiko |
Beta Was this translation helpful? Give feedback.
-
If you want to run your gauge/taiko test cases against different environments you can use following command: You will have to execute test cases of multiple environments one by one. If you want to create separate env data you can refer to documentation here: Just type in the search box - Using environments in a Gauge project or Running a Specification Your issue is not very descriptive. Please explain it properly if not resolved. |
Beta Was this translation helpful? Give feedback.
-
can we pull data as per different environment in taiko
Beta Was this translation helpful? Give feedback.
All reactions