ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
In my Script Firstly i have to parametrize the data then we 
import the data from c drive.suppose i have parametrize the 
Person name and company Name and i have enter one person 
name and one company name in the excel sheet now we import 
the sheet and the script is passed i want to ask one thing 
can we add more than one person name and more than one 
company name in the excel sheet suppose firstly we create 
person name "ADDy" and company nmae.'Wipro" and we set the 
current row in the script for this data and now we want run 
the script another set of data so how we can run the script 
with another set of data
 Question Submitted By :: Tanya
I also faced this Question!!     Rank Answer Posted By  
 
  Re: In my Script Firstly i have to parametrize the data then we import the data from c drive.suppose i have parametrize the Person name and company Name and i have enter one person name and one company name in the excel sheet now we import the sheet and the script is passed i want to ask one thing can we add more than one person name and more than one company name in the excel sheet suppose firstly we create person name "ADDy" and company nmae.'Wipro" and we set the current row in the script for this data and now we want run the script another set of data so how we can run the script with another set of data
Answer
# 1
Incorporate the following method in for loop :

Datatable.setnextrow
 
Is This Answer Correct ?    0 Yes 0 No
Mithra
 
  Re: In my Script Firstly i have to parametrize the data then we import the data from c drive.suppose i have parametrize the Person name and company Name and i have enter one person name and one company name in the excel sheet now we import the sheet and the script is passed i want to ask one thing can we add more than one person name and more than one company name in the excel sheet suppose firstly we create person name "ADDy" and company nmae.'Wipro" and we set the current row in the script for this data and now we want run the script another set of data so how we can run the script with another set of data
Answer
# 2
let us take a variable i ,which represents the datatable 
row count.
code for ur question is:
i=1
set currentrow(i)
x=datatable(columnno,"sheetname")//here give no 1 as column 
name,so name is passed
y=datatable((columnno,"sheetname")//here give no 2 as 
column name,so companyname is passed
i=i+1

now set the x n y values in ur required location(i.e in 
script).here one thing to observe is that u cannot pass 
data directly from excel sheet to script,first u should 
import the data to run time datatable,using import/import 
sheet methods.
 
Is This Answer Correct ?    1 Yes 0 No
Shilpa Reddy
 
 
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
Is it possible to change the name of a test object. I mean when we are recording the script for an object (for Ex: Username is a text field which has value "Babu",i am recording that). Then the Name of the object will become "Babu" in object repository. If i want to change "babu" as "xxxxx" .. is it possible to do? Pls help me in this .. if you didn't understand the question, pls let me know.  2
what is main diff of qtp8.2 and qtp9.0? Covansys1
i have a window , initial its name is "NEW CUSTOMER" i have to enter the details of customer in the test object fields and after saving the window name is automatically changing with the customer name . so how to identify that window after saving. (i am using descriptive programming.) Syntel3
How to Import the data from MS-Access in QTP?  1
What kind of errors can b handled in QTP in real time scenario? AZTEC2
How will u test content of an web application with out using chechpoints in QTP 9.2? CTS3
How vl i prioritize the actions when i have 10 actions A1, A2, A3......A10. I want to run action as follows A1,A5,A6 and A10. How i can do it. Thanks in Advance to u. Wipro4
What is the Diff between Image check-point and Bit map Check point? CTS12
How i can change shared repository to per test repository in qtp  1
Is it possible to run QTP scripts created in IE 6.0 in IE 7.0? TCS4
When we use 'ERR' object to handle the exceptions in the script, do we need to include any statement in the beginning of the script..?? DST-Global-Solutions2
what is the hierachy of Descreptive programming? Fiserv1
what is the defference between QTP 8.2 and 9.0and 9.2? plz tell me  6
hi guys this is Keerthi, I am searching for job,so I want to know which questions are intervier asking on QTP&MANUAL&QUALITY CENTER,can u send Any one questions&Answers to my id:chinna.ammi@yahoo.co.in  8
How can I pass values from one action to another in QTP ? Ordain-Solutions6
How to enter table check points?  2
How to set the function parameters as optional. Pls anybody can give the answer.. Thanks in advance... Navis2
i have .xls,.txt,.doc files are there (together). i want find only .xls file among them? how can we write function? CTS2
This is the script generated by qtp plz can anyone write the same script using descriptive programming plzzzz guys do answer. Browser("orkut - login").Page("orkut - login").WebEdit ("Email").Set "rgovard" Browser("orkut - login").Page("orkut - login").WebEdit ("Passwd").SetSecure "47525d8be4926ea2f6e96b9a3f7472b6ae38" Browser("orkut - login").Page("orkut - login").WebButton ("Sign in").Click Browser("orkut - login").Page("orkut - home").Link ("Logout").Click Browser("orkut - login").Page("orkut - login").Sync Browser("orkut - login").Close  5
By default Action1 runs first in QTP. Is it possible to start the run with Action2? Virtusa7
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com