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 / deepakm82

Hey Vik,
As far as i understand ur question,u saying that u have 50
users which use 50 different sets of data.
You have already pre-entered the 50 users and so u also
must have pre-entered the 50 rows of data used by 50 users.
What hemakumar is saying is that you can have a column
STATUS which gives you the position of the user.
Suppose 'Raj' is the first user and 'Vik' is the 2nd user
then STATUS would say 1 for 'Raj' and 2 for 'Vik'.
Now while running the QTP you can use following:
Datatable.SetCurrentRow("STATUS")
Depending upon the STATUS column the data row would b
selected.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is QTP Supports SWT applications? If yes, can you write a sample script for opening a new package in eclipse.

3002


What is Cross browser testing? Does UFT support it?

613


How to associate function library at a run time?

696


Hi, I am using OutputCheckPoint and I am storing the value in the data table. The stored value for column:bedroom:"Bed:4" The another value for column:bathroom:"Bath:2 Full,1 Partial" I need only the no 4 from the first column. I need only the no 2,1 from the second column. I used split array,but it also show array(0) has the value"bed:4" ..... Even though I highlight only 4,It is seleting the full value "bed 4".How can I get only the nos Thank you Uma

1295


write a script to verify the image path(src property) of the images which are in web pages.

1797






Tell me about your project? please help me how to tell about insurance project

1522


can u explain relative path architecture framework in qtp?

1557


What is the syntax to call one script from another?

530


If you have two monitors one is of 19inch and the 2nd one is of 24inch,if you want to write same QTP script in both the two monitors is there any changes required in the script?

1576


What is the syntax to call one script from another? And what can be the syntax to call one “action” in another?

690


If you giving priority as p0, as a developer if I give priority as p2, What happens In user defined function ?

576


what is the hierarchy to use properties in descriptive programming

1492


is it possible to add sheets to excel at runtime

3226


why text area checkpoints cannot used for web applications

1878


If I change the property value at runtime is it effect is object repository?

600