Skip to Content

How do I import data from text file to the Test Data Container for a CBTA script ?

I have created a test script using CBTA Tool, I want to take data from TXT file (External Variant) in TDC, May I know the process how to do this

Thanks for your help

Regards,

Vijay Jeethuri

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    Posted on Nov 23, 2018 at 11:32 AM

    Hello Vijay,

    Within the Test Configuration you have the option of external variant, select this radio button for input of the values through notepad file.

    Thanks,

    Aj

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 20, 2018 at 12:58 PM

    Hello Vijay,

    There are many posts on the same query.

    You have the option to download variant in the TDC, so the file gets downloaded as .txt file

    Since in notepad its not in readable format , you can add variants in the excel by opening the .txt file as excel

    make changes and save. Finally you should have .txt file with updated variants. Now link this .txt file back to the TDC and link the TDC to Test Configuration and execute the Test Configuration.

    The values should be picked from external file linked to the Test Configuration.

    Thanks,

    Aj

    Add a comment
    10|10000 characters needed characters exceeded

    • Hello Ajay,

      Thank you for your response

      I tried this method but it is not taking the .TXT file data, Its taking the default data which has given in test configuration.

      Can you please send the document(If you have), That will be helpful.

      Thanks and Regards,

      Vijay Jeethuri

  • Posted on Nov 26, 2018 at 04:53 AM

    Hello Ajay,

    Thank you for your reply,

    It's working fine,

    But I have one question :

    I have added 5 variants in .txt file but I need to execute from 3rd variant to 5th variant.

    Is there any way to execute without modifying the txt file.

    I didn't get any solution, If you know help me out on this

    Thanks in advance,

    Vijay

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 27, 2018 at 06:47 AM

    Hello Vijay,

    Yes you can do that , please let me know if you are executing from Test Plan or executing the Test Configuration directly.

    If you are executing from the Test Plan then you need to select the variant which you want to execute in the Test selection tab of the Test Plan

    If you are executing from the Test Configuration then you have the option of selecting the variants to be executed at run time.

    Thanks,

    Aj

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Ajay,

      I have a question: In ME21N or ME51N how can we enter multiple line items in the SAPGrid table dynamically using CBTA? The same script should work for 5 -10-20-50 or 100 line items. Is there a way we can handle this issue?

      Thanks,

      Vijay

  • Posted on Aug 18 at 03:13 PM

    Hello Vijay Vikrant,

    Please raise your query as a new thread as the current thread is already closed.

    Thanks,

    Aj

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.