Answer Posted / kotike
we can make arguments optional by using "Optional" keyword
ex: fucntion fun_name(a,b,optional c)
end function
Regards,
mahi.kotike@gmail.com
Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
explain structured testing? plz guys with exp. do answer
How you can find the absolute value of the number in qtp?
can any body clearly explain about keyword driven framework .give me the explanation for files what ever you use in this frame work?
how u will evaluate the tool for test automation?
what is review
when u script reveiwing in which area u more concentrates?
What environment does qtp run in?
Explain about Test Fusion Report of QTP?
What is the difference between run time object and test object in QTP?
How you create new action in qtp?
What does it mean when a check point is in red color? What do you do?
What are the steps involved in the recovery scenario wizard?
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?
how can i pass a "automation script" as a parameter in a function give me need full suggestion thank inadvance
when I try to run below script in QTP "totalPages" value is 2. But i am getting error message (Type mismatch: 'totalPages' Line (): "For i=1 to totalPages".) totalPages=Browser("Name:=User").Page("Title:=User").WebElem ent("innertext:=of.*").GetROProperty("InnerText") msgbox totalPages For i=1 to totalPages rnum=Browser("Name:=User").Page("Title:=User").WebTa ble("column names:=User Name;ID;Last Name;First Name").GetRowWithCellText("store4") If rnum>0 Then r=rnum Exit for End If Browser("Name:=User").Page("Title:=User").WebElement ("html tag:=A","x:=471").Click MsgBox "Exit" Next