2010 Mar 02 3:55 PM
Hi
I have created a test script using secatt for user creations(su01) as ZUSER
How can i download and upload the variant file(or excel file)
Now to upload user list that needs to be created i don't know where to get the variant file from
Regards
Jameel
2010 Mar 02 5:43 PM
Jameel,
After you completed the script and parameterized the fields in the test script, in the change mode in Test script goto menu UTILITIES->TEST CONFIGURATION->CREATE
Test configuration will pick up all the system data, target system, description etc., from the test script.
Goto TAB VARIANT. Verify all the input parameter you have created in the script are displayed.
Goto menu EDIT->VARIANTS->DOWNLOAD and select the path where you want to download the variant template (Tab delimited text file format).
Select YES on the pop-up for Resolve References to Test Data Container
Save the Test configuration.
Now you are ready to fill-in the text file with your own values to upload the file into eCatt to execute the script.
You can open the text file in excel and upload the values and save back as txt file.
Execute the Test configuration and select the path and file name for the file you want upload to this eCatt script.
Hope this helps.
Let me know if you need more information.
thanks
Venkat
Hi
I have created a test script using secatt for user creations(su01) as ZUSER
How can i download and upload the variant file(or excel file)
Now to upload user list that needs to be created i don't know where to get the variant file from
Regards
Jameel
2010 Mar 02 5:43 PM
Jameel,
After you completed the script and parameterized the fields in the test script, in the change mode in Test script goto menu UTILITIES->TEST CONFIGURATION->CREATE
Test configuration will pick up all the system data, target system, description etc., from the test script.
Goto TAB VARIANT. Verify all the input parameter you have created in the script are displayed.
Goto menu EDIT->VARIANTS->DOWNLOAD and select the path where you want to download the variant template (Tab delimited text file format).
Select YES on the pop-up for Resolve References to Test Data Container
Save the Test configuration.
Now you are ready to fill-in the text file with your own values to upload the file into eCatt to execute the script.
You can open the text file in excel and upload the values and save back as txt file.
Execute the Test configuration and select the path and file name for the file you want upload to this eCatt script.
Hope this helps.
Let me know if you need more information.
thanks
Venkat
2010 Mar 02 8:52 PM
HI
Error message:
Parameter USER NAME is not defined
I AM GETTING THE variant file to download and upload
when i upload the excel with values it throws the above error
regards
Jameel
2010 Mar 03 3:06 AM
Jameel,
Did you create the parameter for all the input fields for your test script?.
Parameter should not contain the space. Try without the space.
thanks
Venkat
2010 Mar 03 6:34 AM
hi
when it says create parameter say firstname
should i select
1.local
2.import
3.export
then
1.yes
2.as fixed val
3.reset
4.cancel
Can you update me on this
regards
Jameel
2010 Mar 03 2:04 PM
Hello,
Here we need to understand the concept of parameterization.
It depends on your requirement if you want the parameter to be import (meaning you want to input the value from outside the script), local (just to use within the script visibility is within the script) , export (if you want the result to be output of the script).
If you want to hardcode the value select has fixed value. else you can parameterize the created parameter in the above step.
Thanks & Best regards,
Ajay
2010 Mar 03 3:43 PM
Jameel,
I would recommend you go through the below blog link for how to paramterized an ecatt script to test with the different values.This would help you to understand the solutions for your questions.
let us know if you need more information.
/people/sapna.modi/blog/2006/04/18/ecatt-chaining-parameterization-creation-of-test-datatest-configuration-system-data-part-iv
Note : This blog has been created by another SDN user.
thanks
Venkat
2010 Mar 03 5:06 AM
Hello,
You need to create test configuration for your test script using the secatt transaction , then in the test configuration mention the script name for which you are creating for also mention all the parameters in the test configuration once its created for one variant you can download the variant and add more rows in the excel and again mention the path for the excel in the configuration to upload while execution.
Thanks & Best regards,
Ajay