MPurchasing
10 years agoOccasional Contributor
Transfering Property Value that "Less than" OR "equal to"
Hello everyone,
I will appreciate if someone can help me with this. Thanks so much in advance for your time and effort.
This is my TestCase:
TestStep1: Get Data from the SQL Database.
Values are retrieved successfully and transferred to Properties
For example:
TestStep2: Run the SOAP Request 1
Populate the SOAP Request data with the property values from step 1.
For example:
What I want to do with the age field: Get only the data from step 1 that is less than or equal to 40
TestStep3: Run the SOAP Request 2
Populate the SOAP Request data with the property values from step 1.
For example:
What I want to do with the age field: Get only the data from step 1 that is less than or equal to 20
I will appreciate if someone can help me with this. Thanks so much in advance for your time and effort.
This is my TestCase:
TestStep1: Get Data from the SQL Database.
Values are retrieved successfully and transferred to Properties
For example:
- Property1
Property2
Property3
TestStep2: Run the SOAP Request 1
Populate the SOAP Request data with the property values from step 1.
For example:
- <Firstname>${GetDataFromDB#Property1}</Firstname> //this one works
<Lastname>${GetDataFromDB#Property2}</Lastname> //this one works
<Age> ${GetDataFromDB#Property3} </Age> // I need help with this
What I want to do with the age field: Get only the data from step 1 that is less than or equal to 40
TestStep3: Run the SOAP Request 2
Populate the SOAP Request data with the property values from step 1.
For example:
- <Firstname>${GetDataFromDB#Property1}</Firstname> //this one works
<Lastname>${GetDataFromDB#Property2}</Lastname> //this one works
<Age> ${GetDataFromDB#Property3} </Age> // I need help with this
What I want to do with the age field: Get only the data from step 1 that is less than or equal to 20