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 |
wt is memory leakage?
What are the enhancements u did after recording ur script?
Hi, How to give drop down values as input [Variable] from data table in QTP? If u know share with me.
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
Explain how Selenium is different from UFT?
wt is the difference between global and action excel database in qtp?for example one action is calling another action the second action is using action excell sheet?if it is using global sheet what makes the difference?
While writing script using For Next Statement in QTP, I try defining the variable in Lib File I am getting syntax error whereas if I use the variable in script file, the script works fine. Can anyone help me in finding the reason behind this?. E:g Dim intStartRow (Define in Lib File----- say abc.vbs) Dim intRow (If I define this variable in Lib file I am getting Syntax error where as if I define in the script file ---- say xyz.mts the script works fine) IntStartRow=2 For intRow = intStartRow to xlWrksht.UsedRange.Rows.Count ‘Some Code here Next
what is life cycle of automation testing ?
How can we check whether a particular sheet loaded (existed) or not in Data Table.
What are the Features & Benefits of Quick Test Pro ?
why you have standardized functions? plzzz guys with real time exp. do answer
Could any one suggest web site links to learning VB Script for QTP purpose??