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                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
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
how to recall a function in QTP?
 Question Submitted By :: Ramkrish_2009
I also faced this Question!!     Rank Answer Posted By  
 
  Re: how to recall a function in QTP?
Answer
# 1
resuable
 
Is This Answer Correct ?    1 Yes 3 No
Ramakrishna
 
  Re: how to recall a function in QTP?
Answer
# 2
to call a function...
in script u can write the function name as

login()

if there is any argument has to be passed then,

login(username, password)
 
Is This Answer Correct ?    2 Yes 0 No
Pooja
 
 
 
  Re: how to recall a function in QTP?
Answer
# 3
Exist function can be used (called) to more than one test. 
We can call the Function by calling the function name into 
our script,

"Public Function Launch_Browser(byval URL)"
 
For the above function, u can call Function name - 
Launch_Browser to your script by declaring variables too..
 
Is This Answer Correct ?    2 Yes 0 No
Rajanya
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
How to get line numbers in your editor in expert view?  2
wht is Automation testing frame work. pls explain it Wipro3
How can I deploye a 'QTP Runtime environment only' Indexis1
can we take 'dim my pen is good' as a paramerter  2
How to handle exception when data table is not available in local host system or path is not correct(explain statement with example)  1
how we can take data in the username field text box into variable in web application explain with example and give all functions to get data into variables iton5
how can i prepare for QTP(8.2) to face interview ? give over view details?  45
Tell me the situations where we will use Data Driven? Ordain-Solutions3
What are the different types of Database checkpoints in QTP? when they are used?  1
How to get all the objects count and objects names in webpage using QTP ?  3
What is the function of Filter in QC . give with a real time example. TCS1
What is OUTPUT VALUE ? PLZ Explain With Example?  4
Can we Run the Tests developed in QTP 8.2 in advanced versions like 9.0, 9.1, 9.2...etc., ADP2
write vb script code to delete the duplicate values in an array. ADP2
Hi All Below is my script which i made for lgin into Flight.exe. SystemUtil.Run "C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight4a.exe","","C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\","open" Dialog("Login").WinEdit("Agent Name:").Set DataTable ("p_Text", dtGlobalSheet) Dialog("Login").WinEdit("Agent Name:").Type micTab Dialog("Login").WinEdit("Password:").SetSecure DataTable ("p_Text1", dtGlobalSheet) Dialog("Login").WinButton("OK").Click If Dialog("Login").Dialog("Flight Reservations").WinButton ("OK").exist Then Dialog("Login").Dialog("Flight Reservations").WinButton ("OK").Click datatable.Value(3)= "Incorrect password. Please try again" Dialog("Login").WinButton("CANCEL").Click elseif Dialog("Login").Dialog("Flight Reservations").WinButton("OK").exist Then Dialog("Login").Dialog("Flight Reservations").WinButton("OK").Click datatable.Value(3)="Please enter agent name" Dialog ("Login").WinButton("CANCEL").Click elseif Dialog("Login").Dialog("Flight Reservations").WinButton("OK").exist then Dialog("Login").Dialog("Flight Reservations").WinButton("OK").Click datatable.Value(3)= "Please enter password" Dialog("Login").WinButton ("CANCEL").Click else Window("Flight Reservation").Move 309,146 datatable.ExportSheet "C:\Raj\Result.xls" ,1 Window("Flight Reservation").Close End If I want to capture the Message string from Dialog("Login").Dialog("Flight Reservations" Also pls let me know if this is the right way to do the script for login. Pls provide some script for login Flight.exe Thanks in advance Raj Dhiman  1
We have an application which generates links( more than thousand) based on the time stamp dynmically.Each link will download an xls file. we are supposed to click a particular link (which link to click will be obtained thru some buisiness logic).Now the issue is QTP is not recogniging the link(say Var1) though its properties showed mandatory fields text=xyz and html tag=A.I used following code to do this. Browser("ABC").Page("123").Link("text:=" &Var1,"html tag:=A").click, can any one suggest why this is not recognised by QTP though syntax is correct?(Is there any sync issue to be considered?Because on clicking the link it will take 5 mins to open that file)  2
Is it possible to test Flat file using QTP? I have two file- first file is Input file and second file is output file. Input file has Format like first 2 field is record type, next 10 field is Description. Output file also has format. I want to check this file format using QTP. Is it possible?? please reply with example. Wipro2
WHICH PROCESS U FOLLOW IN COMPANY IGT1
a title of first page is "LKO- microsoft internet explorer", of the second page is "PPM- microsoft internet explorer" , of Third page is "TTS- microsoft internet explorer" and same changing title on the fourth page. How can we use regular expression for this feature what should we do on script part on and Object repository part so that we can get successful run result. Kindly explain the steps script.  2
what is difference between normal mode and fast mode?  1
 
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