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
How to set the function parameters as optional. 

Pls anybody can give the answer.. Thanks in advance...
 Question Submitted By :: Laxmi
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How to set the function parameters as optional. Pls anybody can give the answer.. Thanks in advance...
Answer
# 1
As far as i am aware, there is no keyword for optional 
parameters in VBScripts.
 
Is This Answer Correct ?    0 Yes 0 No
Uday Kumar_anem
 
  Re: How to set the function parameters as optional. Pls anybody can give the answer.. Thanks in advance...
Answer
# 2
In function parameter you can't use optional option. But 
you can mark the statements inside the function as optional 
by putting keyword "OptionalStep" before the statement.

ex:
Function login(name,passwd)

OptionalStep.Brw("login").Webedit("name").set name
Brw("login").Webedit("passwd").set passwd
Brw("login").Webbutton("ok").click
End Function

This may help you.
 
Is This Answer Correct ?    0 Yes 0 No
Saroj
 
 
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
What are the most frequent errors you faced while executing your scripts?  1
How to parameterize in QTP?  3
Older version QTP is 8.2 and New version QTP is 9.2. My question is, Why it is QTP 9.2, why not 8.3,8.4 .... why it is not something ?  1
What is keyword driven Testing Framework. Anybody can explain it in details... Pls anybody can give the answer.. Thanks in advance... Navis1
what is a good testcase? Wipro2
How do we call Library Files(.vbs) in the Test Script Thanks in Advance...  4
what questions i have to pripare for project manager round interview ? plz give Ans.(Chandana) TCS3
How to change the run-time value of a property for an object in QTP?  4
what is the use of automation frame work ??(QTP)  2
Hi Friends, If you got one Bug , and you are insert that bug in bug tracking tool , and you need to attach SC's (screen shots) also. how to tae SC's , in your organization any separate tools available to take SC's. please provide Ans. its urgent... Thanx in advance  3
what is descriptive programming in QTP? How can be done? Accenture10
how to capture (or) checkpoint for chineese or any other language except english using QTP in a web page. ( my application have 24 language, how to check those lanugages using QTP? is it possible). Please let me know  2
what is the test object?  1
what r advance features u had done in QTP? HCL2
what is smart identification?  1
How to export data present in Datatable to an ".xls" file?  3
what time u r using data driven test in ur app" Accenture4
Idid my qtp course in 2007 june in mind Q i for got to use this tool ,i want to mention in my resume about this ,how can i rectify this ,pls give me any idea . Quest2
Can we directly automate testscripts accrdoing to requirements Novartis2
Hi Frriends... I have one Query please give the apropriate ans. when we r working with web based application , the user loggedin page name is changed respect to the username ( Take a exp. Yahoomail.com) .When we use Datadriven test to this scenario ,each time the loggedin page name is changed ...then the script is fail.. at that time wat can do... please give the apropriate ans. Thanx in advance..  3
 
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