how to write scripts in QTP?
Answers were Sorted based on User's Feedback
Answer / malathi
Using methods in object spy we can write scripts.
using step generator we can write scripts.
| Is This Answer Correct ? | 8 Yes | 2 No |
Answer / tripti arya
Scripts in QTP can be generated through recording or through
descriptive programming.Use object spy for descriptive
programming.
| Is This Answer Correct ? | 1 Yes | 1 No |
HI This is Chakravarthy.
If u know "C" language it is very easy to write VB Script.
and u have to know how can we use Scripting in QTP.
for ex. we wil use if conditions,nested if,for loops,while
loop,variable diclarations,functions,......etc in QTP.
all this topics come under "C" Language.
If u have any Queries contact me at
mskalyan.smile@gmail.com
| Is This Answer Correct ? | 1 Yes | 2 No |
Answer / somalatha
first of all, by recording, scripts can be automatically
generated. other ways include through editing scripts,
using step generator, capturing through text check points
and through descriptive programming
| Is This Answer Correct ? | 1 Yes | 6 No |
What is meant by virtual obj and Y do v need virtual obj configuration.
how do you do database testing in qtp
Explain about random testing of 500 test cases?
What is the difference between qtp and selenium?
More details about keyword driven technique in QTP
Some time when i wanna learn the object i face issue like i am not able learn the object in proper manner... eg:for text bo on web page it should learn as webedit but some times it reads as winobject:internetexpoler-server, because of this i have to uninstall the qtp and re-install it again when i do this it reads the object perfectly.....plz suggest the soln
What is the recovery scenario in qtp?
What is the extension of script and object repository files?
Is there any MS Access addin in QTP?
How to find the number the number of Links, Brolken Links in a webpage?
Hi Guys, I want to place all of my values which i am getting it from a loop in to a global shee. For that i had written the script like this For i = 1 to ECOs-1 ECO = List(i).GetROProperty("innertext") DataTable.AddSheet("ECOList") DataTable.GetSheet("ECOList").AddParameter "ECOList",ECO AbortECO = DataTable.GetSheet("ECOList").GetParameter ("ECOList").Value msgbox AbortECO DataTable.GetSheet("ECOList").SetNextRow Using the above script, whenever the loop iterates it is creating new column "ECOLIST" in the sheet called "ECOLIST". It means, the values are displaying in the column wise even though i added the script " DataTable.GetSheet("ECOList").SetNextRow" . The cursor is not moving to the next line. Anybody help me out how to pass the values from script to the excel(Global/Local) sheet. Pls let me know @ nbabu11@gmail.com if you are not clear about the question.
In my Script Firstly i have to parametrize the data then we import the data from c drive.suppose i have parametrize the Person name and company Name and i have enter one person name and one company name in the excel sheet now we import the sheet and the script is passed i want to ask one thing can we add more than one person name and more than one company name in the excel sheet suppose firstly we create person name "ADDy" and company nmae.'Wipro" and we set the current row in the script for this data and now we want run the script another set of data so how we can run the script with another set of data