The mailing list has been closed since July 2022, but continues to serve as an archive of information about QF-Test.
If you want to stay informed about news about QF-Test, you can simply subscribe to our newsletter:
Subscribe to Newsletter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [QF-Test] Reg : Queries in Data table accessing
Hi All, We would appreciate if you provide us the detailed answer with exact syntax as we are in the learning stage of QFS. Scenario: The below is my test suite structure --Test - Set: Project 1 -- Data Driver : Data Driver -- Data Table: Table 1 -- Data Table: Table 2 --Test - Case: Employee Creation --Test - Case: ID Creation --Test - Case: Employee and ID Mapping Data in the Data tables: Table 1: Employee ID | Employee Name ------------------- |----------------------------- ID0001 | EMPName1 ------------------- |----------------------------- | ID0002 | EMPName2 -------------------------------------------------- Table 2: ID | ID Desc | Map ID ------------------- |--------------------------- |------------------------ Em0001 | IDName1 | ------------------- |--------------------------- |------------------------ | | Em0002 | IDName2 | ------------------------------------------------------------------------- Question: 1. In the test case 'Employee Creation' , I need to create Text Input event with the value 'ID0002' which is in the Employee ID column of Table 1. So how to access those table value from the test case? 2. In the test case 'Employee and ID Mapping' , I need to create Text Input event with the value 'ID0002' from Table 1 and 'IDName2' from Table 2. How to access those values from multiple data tables? 3. In the test case 'Employee and ID Mapping', I need to update the field 'Map ID'' with some value. So how to update the field in the data table ? 4. Can we read / Write the data from data table using Server Script / SUT Script ? If yes could you please provide us the sample Groovy Script to achieve that ? Thanks in advance. Best Regards Arul S This message and any attachments (the "message") is ------------------------------------------------------------------------------------------ Ce message et toutes les pieces jointes (ci-apres le "message")
|
1. Functional cookies
We use functional cookies to ensure the basic functionality of the website.
2. Performance and statistic cookies
We use Matomo for analyzing and optimizing our website. Cookies permit an anonymous collection of information that help us offering you a clear and user-friendly visit of our web pages.
This cookie contains a unique, pseudonymized visitor ID internal to Matomo for recognizing returning visitors.
This cookie is used to track from which website the anonymized user proceeded to our website.
The Matomo session cookie is used to track the visitor's page requests during the session.
is created and should be then directly deleted (used to check whether the visitor’s browser supports cookies).
short lived cookies used to temporarily store data for the visit.
short lived cookies used to temporarily store data for the visit.