Ask a Question

Extracting data from database.

JackSparrow
Frequent Contributor

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 5
Marsha_R
Community Hero

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


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
JackSparrow
Frequent Contributor

using project variable just like we will use in the SOAPUI

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


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
JackSparrow
Frequent Contributor

Ok will try and let you know thanks

NisHera
Valued Contributor

If the variable sits in script.......

You can call script in side the KDT for more infor

cancel
Showing results for 
Search instead for 
Did you mean: