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
i want information about API testing and i want info like how process can be done in company? i want added info like coding ,debugging, desing in c.v ? what should add in c.v for eg banking domin? pls any answer my question?
What is the syntax to call one script from another? And what can be the syntax to call one “action” in another?
How many types of recording modes in qtp?
Analyzing the checpoint results?
How many types of actions are there in quicktest professional (qtp)?
How do I lauch my test website using code from qtp in different environmet, uat and PPTE?
www.icici.com after this home page wll came, in this page what r the items we r going to test for manual and what the element we r test for QTP... explian clearly with example
wht is Manual Testing Frame work. Pls anybody can give appropriate answers
How is UFT 11.5 version different from UFT 12.0?
how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?
Hi All, issue is related to handling pop up script generated in IE, and run on mozilla. In App Under Test, when we get the alert pop ups, we just click ok button. if we need to run the same code on mozilla it will not identify . so we will check browser if browser(*).dialog(IE object).exits browser(*).dialog(IE object).winbutton(OK).click else 'by default mozilla browser(*).dialog(mozilla object).page(*).webbutton(OK).CLICK END IF But my qustion is. Do we write the above piece of code where ever we get such kind of pop ups from the application like alert pop up, confirmation pop up.... OR do we have any other alternative way to do this by using any functions in Recovery Scebarios? If Any of u know idea please do help me in this regard. or send answer to kravimb@gmail.com
Hello Everyone, Please provide me the practical example of business component concept of QTP.Like how to create business component,how to connect the quality center etc.... Thanks in advance, Gaytri
They asked by using qtp recording writing scripting
Diff b/w test scenario's and test Procedures?
How to use descriptive programming?