What is difference between function and procedure?
Answer Posted / madhu babu
1.function must always return a value.
2.it is return's only one value.
BUT
1.procedure may (or) may not return a value.
2.it is return's one (or) more values.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
what is the difference between data driver & data driven and driver script?
What is the use of ordinal identifier in qtp?
When ‘option explicit’ keyword is used in qtp?
How to define array in qtp?
How to remove associated function library?
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
How you are developing the script? Using record and play back or manual?
"What are the common constrains that we need to consider when we prepare testcases for ASP application". Thanks in Advance...
Get the count of files of similar types from a folder.
How to open a new test using quicktest professional (qtp)?
For which type of projects the iterative model is not suitable?
Hi Friends... By using QTP , can we test .net products...and that product supports different languages.. thanx in advance..
What is the difference between a Function and Procedure in QTP?
what is the difference betn QTP 8.0 AND PREVIOUS VERSION
what is clean sweep?