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
How will you compare keyword and expert view?
What is checkpoint in qtp?
In QTP can we feed the out of one browser(internet explorer) as an input to the another browser(mozilla firefox)? If yes explain how to do it with an example.
They asked by using qtp recording writing scripting
Why bpt?
can any one say that where we can download the QTP trail version ??????????
hi guys we r working in office...we write some scripts..suddenly we have a work(5min only) in out side..what will do now,,,used to system shut down or log off or lock or sleep mode,switch use or hibernate?
What is debugging? How you debug your script?
Explain the features and benefits of quick test pro(qtp)?
What is the use of Debug Viewer?
How does you test a weblink which is changing dynamically?
This is a question thats generally asked in every QTP interview. What were the problems that you faced during automation and how did you resolve them?
Hi, my requirement is to make a query in SQL using QTP. And i have to get the results of that query and i have to use those results for future testing. I created a driver but i dont know the code for using this Driver. please help me by providing the solution for y requorement
What is clean sweep?
how do u manipulating INI, DLL and / or registry files in support of your test environment? actually what do u mean by INI and DLL or registry files. plzzz its urgent do answer