Forum Discussion

JackSparrow's avatar
JackSparrow
Frequent Contributor
8 years ago

Extracting data from database.

Hi All, Just 3 days back started working with test complete ,kindly give you suggestions

 

  •  I have an old database which doesn't have a compatible driver with my current system so ,am not able to connect to that database from the stores folder.
  • Now i created a data-table in Keyword Folder and able to extract the data to a variable Var1.
  • Can i use that data which present in the variable Var1 through the scripts under advance folder .

Kindly look in the attached screenshot for the folders which i mentioned above.

 

Waiting for your suggestions.

5 Replies

  • Marsha_R's avatar
    Marsha_R
    Champion Level 3

    If your Var1 is a project variable, then you can use it anywhere in the project, scripts and keyword tests both.

    • JackSparrow's avatar
      JackSparrow
      Frequent Contributor

      using project variable just like we will use in the SOAPUI

      • Marsha_R's avatar
        Marsha_R
        Champion Level 3

        Then just use it by name Project.Variables.Var1 and you can use it in a script or a keyword test.