GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Testing Tools  >  SilkTest
Go To First  |  Previous Question  |  Next Question 
 SilkTest  |  Question 5 of 24    Print  
In how many ways we can perform datadriven test in silk test, throgh flatfiles can we perform? Describe the script?

  
Total Answers and Comments: 3 Last Update: February 27, 2008     Asked by: rameshk 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
December 28, 2006 02:05:50   #1  
Naresh J        

RE: In how many ways we can perform datadriven test in...

Hi

According to me u can parameterize in 2 ways

  1. Using List of Strings concept
  2. Using Flat files.

To parameterize using flat files u got to 1st read the file using methods that handle files. store it in a list of string variable then pass the parameterize value to the res object in the application.

Regards

Naresh J


 
Is this answer useful? Yes | No
June 27, 2007 01:29:21   #2  
karthik        

RE: In how many ways we can perform datadriven test in...

In silk test we can parametrize through
1. Flat file by using file handling concept
HFILE f1
f1 FileOpen(filepath FM_READ)
string str

filereadline(f1 str)
this "str" parameter can be passed to the scripting for parametrization
fileclose(f1)
2. Using external database and establishing connection through scripting
HANDLE h1
HANDLE h2
h1 db_connect("DSN x.mdb")
h2 db_executesql(h1 "Select * from table1")
string i
while(db_fetchnext(h2 i)
this "i" parameter can be used for data driven
db_finishsql(h2)
db_disconnect(h1)
3. List of function
List of string a {....}
"xyx"
" 123"
"@#$"
for each x in a
this "x" parameter can be used for data driven


 
Is this answer useful? Yes | No
February 27, 2008 05:41:32   #3  
sidhubj Member Since: February 2008   Contribution: 1    

RE: In how many ways we can perform datadriven test in silk test, throgh flatfiles can we perform? Describe the script?
We can perform the data driven testing throug

1) Flat files
2) Data Base(Ex:- XL spread sheet)
3) Test plan

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape