User defined function in QTP
Answers were Sorted based on User's Feedback
Answer / sani
User defined functions are encapsulation of segments of
code which is used several times in the script.
They can be either within the QTP script or can be
maintained in external .VBS or .TXT files
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / kabeer
User defined function is basically script logic design by
us.it can repeatable when ever we need it
| Is This Answer Correct ? | 1 Yes | 1 No |
In QTP TEST DIRECTOR COMBINATION WHAT IS THE PURPOSE OF TEST DIRECTOR? In Somebody says to store test cases and design test cases.?ok fine , but In test director 5.0 , QTp not launching. what u do?
we have 5 default properties we want add more Default property in Object Repository how to add the property
I am trying to read the rediffmail usign the below code. But facing problem, while i user to get the link of the mail, i am getting all the link of the page, While i just want to get only mail name - link (not all the link of an page) so that i able to read the mail message by clcking on them in qtp. Dim Lnk,Webcheckbox Set Lnk= Description. Create '********* To count and display the webcheckbox Lnk("micclass" ).value=" Link" set LinkName= Browser("Welcome to Rediffmail:" ).Page("Welcome to Rediffmail:" ).ChildObjects( Lnk) LinkCount=LinkName. Count msgbox LinkCount For i=1-1 to LinkCount-1 DataTable.SetCurren tRow(i) DataTable.Value( "Name",1) =LinkName( i).GetRoProperty ("name") Next Waiting for the reply Praveen Saini
Hi I am new to QTP. can u please answer to my qus... suppose 3 excel sheets are there * we are trying to check for login credentials for a page. userid from excel1 , password is from excel2 whether the page is opened or not that checkpoint is result is should be stored in excel 3.... this qus i have faced in IBM technical round... please tell script for above query ... please please
how to use import and export sheet methods in qtp
How do u write a regular expression for date (dd/mm/yyyy) field ?
Where should we turn Smart Identification ON in QTP?
when qtp recognizes a web link like (hyper link)wich properties it is going to take to identify the objects unquely? what is Ini file in QTP?
How to use Environment parameterization? Explain with an example.
What is meant by Output Value in UFT?
What is the exact difference between QTP and RFT ?
Which property do you use to retrieve or assign data into a cell in a Data Table object?