La liste de diffusion est fermée depuis juillet 2022, mais sert toujours d'archive d'informations sur QF-Test.
Cependant, si vous souhaitez rester informé des nouveautés concernant QF-Test, vous pouvez simplement vous abonner à la newsletter :
abonner à la 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. Cookies fonctionnels
Nous utilisons des cookies fonctionnels pour garantir la fonctionnalité de base du site web.
2. Cookies de performance et de statistique
Nous utilisons Matomo pour analyser et améliorer notre site web. Des cookies permettent une collection anonyme des informations qui nous aident à vous offrir un visite clair et facile à utiliser de nos pages web.
This cookie contains a unique, pseudonymized visitor ID internal to Matomo for recognizing repeat visitors.
This cookie is used to track from which website the anonymized user proceeded to any page or sub-page.
The Matomo session cookie is used to track the visitor's page requests during the session. The cookie is automatically deleted at the end of each session (website visit), at the latest after one day.
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.