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

Thanks Mr.Hemakumar

Realy appreacite your time.

Actually, I need QTP to select a new user name each time
automatically. I want to pre-enter 50 names in the excel
data table and accordingly let QTP to take 1 value each
time.

So, if I can understand your answer right, there needs to
be a column named "Status". Assuming the first field
says "Raj", then QTP uses it because it has not been used
before.

However, next time with a new test how would you let QTP
know that it has already used "Raj". Have we got to
capture "Raj" as a already used data and then compare with
next test. If the value matches , then move to next field
to fetch the next field value. Am I right ?

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of recording facility are available in quicktest professional (qtp)?

603


how to create flat file datasubmission in qtp

1900


hou can we use vb script in qtp could u tell me breafly

1735


What is the use of defining a newobject in the object repository "Define New TestOject". How to use this further. If we define new testobject, how can it recognizes the objects properties of any application.

1500


What is the basic concept of qtp?

573






Explain how you can find the absolute value of the number in qtp?

645


What is throw object?

1745


Hi Friends, I worked with 8.2 not with 9.2. Please help me in this prob. I created one script and recorded some think and save as Test 1 then I opened process--open the object repository manager. Switch to file->save->give some name->save as Objectrepo1.tsr file. (This is the global repository file.) Then I went to object repository->tools-> associate repository ->click + icon ->open the previously saved Objectrepo1.tsr file. This is the global repository Now I created one more script and save as Test 2. In this script I am calling script with the Help of "Call of existing action" and I executed but QTP is not able to execute B’cos it is QTP is not able to read the Object Repository of Test 1. Please let me know why? Once I made Script 1 as a shared Obj. Repository so it would not give any Problem. Right?

1487


How to find the path of folder in which the test is saved in qtp?

532


Hi Frenz... I would like to take up the QTP certification . Can anyone tell me what is the procedure. n if anybody have the study materials pls fwd it to jkpunathil@gmail.com

1495


How to get the format of a webedit class in qtp. How can i know that particular webedit accept what type of format like "mm/dd/yyyy" or "$" or Alphanumeric

1640


If object is not recognized by qtp but the object is standard object what is your approach?

590


What are benefits of qtp?

579


What is checkpoints for qtp?

531


whare exactly we have to use functions and sub routain

1844