What is a Dictionary object in QTP.?
Answer / manjunathareddy
Dictionary object is similar to a typical array,
it uses unique key associated with every item,it helps you
call the item whenever required.
Example:-
Dim Dict
Set Dict=CreateObject("Scripting.Dictionary")
Dict.Add "A","Apple"
Dict.Add "B","Banana"
i=Dict.Items
j=Dict.Keys
For k= 0 to Dict.Count - 1
Msgbox j(k)&": "&i(k)
Next
| Is This Answer Correct ? | 6 Yes | 1 No |
How to call a function in QTP?Is there any method ? Thanks , PRASANNA
1)what is the Exact Meaning of Environment Variables? 2)what is Compile Module in QTP? what exactly it contains Functions or Actions?
hi all can any body explain how to write the script for finding the mandatory fields which are having [red Astrik sign (*)]
Dim ExcelSheet Set ExcelSheet = CreateObject("Excel.Application") excelsheet.application.visible = true ExcelSheet.ActiveSheet.Cells(1,1).Value = "This is column A, row 1" ' Save the sheet. ExcelSheet.SaveAs "C:\DOCS\TEST.XLS" ' Close Excel with the Quit method on the Application object. ExcelSheet.Application.Quit after run this script i am getting error"The test cannot continue due to unrecoverable error"
suppose i give valid user id and password to open an web base application on qtp.how qtp will know itis a valid user id and password
Do you support automated testing? Why?
Among all the check points what is the most important checkpoint?
Batch testing in howmany ways u perfrom in QTP
What is the use of environment variables?
How to find array size in qtp?
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
hi i am new to qtp i need to run all files by a batch what is the procedure and what are following actions to be take?