Greetings friends ,
Hope all of you are doing well.
When I run a test, is it possible for me to for me to take
each row from the data table , once at a time.
In other words,if i have 10 rows in the global data table,
say data1,data2, data 3...and so on up to data10.
Can I have the value of data1 when I run a test, and next
time when I run the same test (say next day), it should
skip data1 as it has already used it and go directly to
data 2 ???
Would be great if anybody can help me out know in this
issue.
Thanks & Regards !!
Answer Posted / kashinath hajare
'Please Check Following code. In this code "Is_Required" is
defined in Datatable( Column Name). Make it as "1" or "0",
as per requirement. If value of this column "1", only that
column will execute.
iScenCount=DataTable.GetSheet("Global").GetRowCount
'Traverse throgh master datasheet to execute the scenario
For iRowCounter= 1 to iScenCount
DataTable.GetSheet("Global").SetCurrentRow iRowCounter
If trim(DataTable.Value("Is_Required", "Global")) Then
'Your Script code will be here
End if
Next
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How many ways we can parameterize data in quicktest professional (qtp)?
what is the diff b/w assistive and mandatary rules of object repository in QTP???
What is the latest version of qtp?
i am a begnner so am learning Error handling :tried using Recovery manager didnt work i want to be able to handle errors , e.g. if while running the test the folwoing does not show up then how can i use the If then else and goto next step in the test, as in many scenarios it does not show up Browser("The Shopping Channel -").Page("The Shopping Channel -_8").Image("easy pay").Click
Hi, How Accessibility checkpoint in QTP can be implemented in the test script?
what r the main attributes of test automation?
What are the types of environment variables in qtp?
How many ways is to parameterize the value?
What is the parameterization? Give one example?
What the differences are and best practical application of Object Repository?
Could any one tell me "How can i recognize my cursor position using QTP 9.2" Give me a scripts for this
Want to verify notepad reports using QTP framework or any other BV script method. Can anyone share the method to achieve it? Eg. Person Name is the header and the actual name is John then how can we verify weather person name is John
What are the steps involved in the recovery scenario wizard?
Explain the concept of object repository?
How does you test a weblink which is changing dynamically?