Is there any vbscript in QTP for Data Driven Test instead of
using the option provided by QTP?

Answers were Sorted based on User's Feedback



Is there any vbscript in QTP for Data Driven Test instead of using the option provided by QTP? ..

Answer / jay prakash

what i understood from your question is: if there is a way
to do data driven testing from QTP in the expert mode using
script.

If my understanding is correct than yes there are ways to
do that. Script can be written for that.

Is This Answer Correct ?    0 Yes 0 No

Is there any vbscript in QTP for Data Driven Test instead of using the option provided by QTP? ..

Answer / babu

Hi Jay prakash,

Please provide me the vbscript to implement data driven
test.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

what is localisation testing and globalisation testing? what is the difference between them?

1 Answers   CDC Software,


WHAT IS THE DESCRIPTIVE programming when it is useful? & when to use this ?

6 Answers   CTS,


Difference between action & Reusable action?

0 Answers  


What are Error handling other than Recovery scenario manager?

3 Answers  


Anybody explain me, the concept of checkpoint declaration in the QTP mainly for the Objects, Pages, Text and Tables ?

1 Answers  


What are SetToProperty, SetRoProperty, GetToProperty scripting?

2 Answers  


How to test background color and dynamic images which are moving during runtime?

7 Answers   CTS,


Explain different types of checkpoints?

0 Answers  


When and why to use descriptive programming?

0 Answers  


Give the syntax to load function at run time.

0 Answers  


How u call functions in QTP Function to calculate the length of characters in a wor

2 Answers  


I am verifying the actual vs the input value to make sure that they been entered correctly. In the Global Sheet I have a column called Customer with the multiple names in each row and now I am trying to capture the value during runtime under the column name Customer_in_Apps. Somewhat it works but during runtime the values are being stored in each column vs each row i.e., Customer_in_Apps, Customer_in_Apps1. Automatically it add columns instead of rows. row=datatable.getsheet("Global").GetRowCount for x=1 to row datatable.getsheet("Global").SetCurrentRow(x) Window("Customer Desktop").Window("Customer Tracking (Privacy").WinObject("TreeView20WndClass").Click 92,244 runtimevalue = .VbTreeView("vbname:=AppServerTree").GetROProperty("Selectio n") Val1=Datatable.Value("Customer",dtGlobalSheet) Val2 = Datatable.GlobalSheet.AddParameter("Customer_in _Apps",runtimevalue) If (trim(Val2)=trim(Val1)) Then Reporter.ReportEvent micPass, "Customer validation successful", "Actual Value: " &Val1&vbcrlf& "Customer Value: " &_Val2 else Reporter.ReportEvent micFail, "Customer validation unsuccessful", "Actual Value: " &Val1&vbcrlf& "Customer Value: " &Val2 End If Next

3 Answers  


Categories