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
Hi, While recording a Jave based web application, its recording all my actions and the objects.And I have 5 WebEdit objects on the page and all are recorded. But while execution, at the 2 WebEdit object, its entering the value into the object (Its making a call to the AJAX, matching the value), when the control get out of this object the value is erased or cleared. Could anyone please help. I have recoreded 5 more scenarios where WebEdit is in the picture on different webpages and all are working fine. Here is my Script: Browser("Sign In").Page("Matching Workbench_3").WebEdit ("locationLookup").Set "0320 - SEATTLE-KM" Browser("Sign In").Page("Matching Workbench_3").WebEdit ("supplierNameLookup").Set "TRAMMO PETROLEUM INC" *** SupplierNameLookup is the object, which is haing an issue. And also I was using the SendString function, but it didnt work.
Can we run test with out adding object in object repository? How it is possible?
hi, FOR 3+ QTP INTERVIEW, FOR EXAMPLE WE PUT ONLINE BANKING SYSTEM PROJECT IN OUR RESUME, IN PROJECT MANAGER ROUND...WHAT R THE MAJOR QUESTIONS ARE ASKED IN P.M? PLS TELL ME ATLEAST 10 QUESTIONS?.....AND IF POSSIBLE POST ANSWERS ALSO....
Explain data driven framework?
HOW AUTOMATE TEST SCRIPT ? what time it will do? after gneration of basic script or Any , Plz explain detailed?
How the smart identification is used in real time?Please explain with an example
I want to write some certification courses, so friends could you guide me? which certification is best and how to write exam and what tutorials need to be studied,what to do first, I am working on automation tool QTP 9.2
what is run action?
What is the use of an object spy tool in qtp?
What are the types of object repository in qtp?
WAT IS DATA BASE AND XML CHECK POINT ?HOW TO IMPLEMENT IT ... GIVE PROPER EXAMPLE FOR IT
We stored into the objects OR and then write the scripting
Have you done batch testing in qtp? If yes how you are doing?
How can i get the image text that changes dynamically? Here i have used "GetROProperty", but it's not working. I used like Ex:Browser("webmail").Page("inbox").image ("captchaimage).getroproperty("innertext/text/value")
Can an action have 2 shared object repositories associated with them? In that case, if two of them contain the same object, which one will be considered?