How to Use Datasource into other testsuites or other project
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2017
02:01 PM
06-18-2017
02:01 PM
How to Use Datasource into other testsuites or other project
I have one datasource under Testcase1, i want to use same datasource for Testcase2
How can i explore this?
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2017
12:36 PM
06-20-2017
12:36 PM
You can use Property Expansion to get to it. Something similar to what can be seen here: Property Expansion
In Another TestSuite and/or TestCase:
${#[TestSuiteName#TestCaseName#DataSourceName]#PropertyName}
The problem you may run into is if you need to loop through the data source, you may need to use a custom groovy script on the request to force the data source to increment.
---
Click the Accept as Solution button if my answer has helped, and remember to give kudos where appropriate too!
