How to make arguments optional in a function?
Answer Posted / subbu
In QTP we dont use "Optional" keyword just like in VB.
But work around is use Dictionary object. It is just like
multi dimension arrays.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
WHAT IS THE DIFFERENCE BETWEEN QTP SCRIPT AND VB SCRIPT? HOW MUCH PERCENTAGE WE USE IN QTP SCRIPT REAL TIME AND HOW MUCH PERCEN OF VB SCRIPT,,,,,,,
How many types of parameters are available in quicktest professional (qtp)?
how to find that tools work well with your existing system?
one screen page,that contains file , browse , update and cancel buttons.when we browse a file it should get update otherwise it should go to previous page.write negative test case for that.
When I click on a link in web page.Link should open in new window.can anyone please let me know the script for this ---Koti
I used child objects to get the no of weblist present in the weblist.now i need to select the items present in each weblist ?How to do so
Hi this is chandra if any one have Navigation of LAB QTP, I want Navigation of those tools, if any one have the and know the Navigation each and every part of the QTP, plz send me my mail naruboinac@yahoo. com,naruboinas@ gmail.com
Explain step generator in qtp?
Hi All, I Want To excute scripts batch without using QC .I need code for that Thanks Balaji
Explain sub procedure of vbscript.
What is the keyword view and expert view in qtp?
How to get Traceability matrix from TD?
What we are looking for is to load properties of object dynamically as for our application the global repository will pretty huge. It will be really helpful to us if something similar to following functions of Winrunner is available in QTP. #Define descriptor auto strDesc; #set property in the descriptor Gui_desc_set_attr(strDesc,?Class?,?Edit?); --- put other properties #Add Edit box to GUI Map Gui_add(? ?,strWindowName,strEditboxName,strDesc);
What is the use of "New Property" in "Add properties" of testobject properties in object repository. How can i use "New properties" while writing scripts if i have assign some values to the testobject properties Can anyone help me? plz
explain structured testing? plz guys with exp. do answer