how many scripts r there in QTP? pls any answer this question?
Answers were Sorted based on User's Feedback
Answer / nagapawan
hi,
iam not asking vb scripts r java script. it is realted
to code. it is may be commands r sytax r library functions..
exactly i donot know thats y i kept the question. u
understood what i asked.
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / baba fakruddin
If we develop a Test Script in QTP irrespective of
Actions... are called as "Test Script"
it means only one Script available in one Test. until
unless create new Test, any no. of Actions or Functions or
procedures.... etc in one Test called Test Script.
Only One Script in QTP Test.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / baba fakruddin
if you want to see Scripts individually according to
Actions. Go to your Saved Test Folder and open Action0,
Action1, Acion2.... etc., each and every Action contains
its own Test script (.mts) Mercury Test Script.
But we should not say in interviews as no. of Actions
contains no. of Scripts. it is wrong answer, we should say
only one Test Script in one Test in QTP
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / aman
only VB Script IS being used, But you can also use
JavaScript, XML etc. It is depend upon the Technology that
you are using
Aman Kumar
aman.testing@gmail.com
| Is This Answer Correct ? | 1 Yes | 4 No |
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"
Hi All, I want to know how can we schedule QTP scripts. Am using 9.5 version and in our office they want to schedule individual scripts of QTP so that it can run unattended during night time, Please help me how to do that. 2. what is the use of silent test run in qtp can I schedule the scripts in Silent runner, Please explain. 3.I retrieved data from the database using output value -> Database output value. the result of the query for eg is 5 rows, iam able to output the first row by selecting the cols and adding it to output, but am not able to do it for the rest of the rows. please tell me how to do it. Sorry for posting so many qns, am not able to find answ to any of the above in any websites, hoping that someone would really help me with these here, please help me. awaiting for ur immediate revert. Priya
Hi, i have a string like "INDIA". I need to display this string vertically in Msgbox?
write a regular expression pattern for xyz?123?
Hi,All How to create a link in excel sheet using qtp
What is the synchronization point in qtp?
Explain actions in qtp ?
how can i call an external action,which is not added external action of an action?
I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format. Hence, if possible, kinldy mail PDF file to my mail-ID: sushmapokhriyal79@gmail.com
Hi I have a doubt in qtp. Can you please clarify my doubt. If we are importing the data from excel sheet in qtp the the script is running the number of row times. I mean if there are 4 rows in excel sheet the script is running 4 times. cant we avoid this. suppose i have tis script: datatable.Import "C:\Documents and Settings\sailaja\My Documents\login1.xls" n = datatable.GetRowCount For i =1 to n systemutil.Run "C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight4a.exe" datatable.SetCurrentRow i Dialog("Login").WinEdit("Agent Name:").Set DataTable ("Username", dtGlobalSheet) Dialog("Login").WinEdit("Password:").Set DataTable ("Password", dtGlobalSheet) Dialog("Login").WinButton("OK").Click Window("Flight Reservation").ActiveX ("MaskEdBox").Type "020209" Window("Flight Reservation").WinComboBox("Fly From:").Select "Frankfurt" Window("Flight Reservation").WinComboBox("Fly To:").Select "Los Angeles" Window("Flight Reservation").WinButton("FLIGHT").Click Window("Flight Reservation").Dialog("Flights Table").WinButton("OK").Click Window("Flight Reservation").WinEdit("Name:").Set "Sailaja" Window("Flight Reservation").WinButton("Insert Order").Click Window("Flight Reservation").WinMenu ("Menu").Select "File;New Order" window("Flight Reservation").Close next I created a excel sheet with 3 rows and 2 columns. (username and password). The script is running 9 times. I made the option run one itaration only . eventhough it is running 9 times .can u plaese clarify my doubt. Thankyou Sailaja.
how to invoke the web application through script in qtp
How many types of parameters are available in quicktest professional (qtp)?