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
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 |
Answer / babu
Hi Jay prakash,
Please provide me the vbscript to implement data driven
test.
Is This Answer Correct ? | 0 Yes | 0 No |
what is localisation testing and globalisation testing? what is the difference between them?
WHAT IS THE DESCRIPTIVE programming when it is useful? & when to use this ?
Difference between action & Reusable action?
What are Error handling other than Recovery scenario manager?
Anybody explain me, the concept of checkpoint declaration in the QTP mainly for the Objects, Pages, Text and Tables ?
What are SetToProperty, SetRoProperty, GetToProperty scripting?
How to test background color and dynamic images which are moving during runtime?
Explain different types of checkpoints?
When and why to use descriptive programming?
Give the syntax to load function at run time.
How u call functions in QTP Function to calculate the length of characters in a wor
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