Does QTP support Java Script also. Which is one is
preferrable for QTP, VB script or Java script
Answer Posted / radhika
HI,
I crested files using only V.B.Script only(using add
objects in object repository.).
i created files in 2 ways
1)
1st i created functions.(same my functions are like above
on F.R.S).
Then save that files and from there copy and paste in
function library with .qfl
Later i added it resources in objectrepository-export
localobjects with .tsr
Up to here functions created over.
Now i called that functions(i gave name as Login() and Order
() these r 2 functions i created using v.b script)
Then i have given
call Login()
call Order()
i saved it and later while calling that functions added i
created fun. in associativerepository)
Then i got thst type of mistake.
2nd way
Same created fun. copy and save its in notepad(.txt).
Later add save for references in exportlocalobjects
with .tsr
While calling that fun.getting same mistake.
and another ine
do u know about AD-HOC testing?these r 5 types right
monkey,buddytesting,exploratory(artisting),pair testing,Be-
bugging testing.
Due to lack of documents and due to lack of time and lack
of skills we conduct this testing. just i know it.have we
prepare seperate testcases for ad-hoc testing?
but how to conduct that testing?
ex:in 1 comp available ad-hoc testing only.that means?if it
has projects are rare or comp timing are strict?wat it
means?
pls gve reply urgently with details
(ur giving urgent reply with good information)
Thanks for ur patiency and thanks to u also
******
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Diff b/w Health care domain and Banking Domain?
How many number of actions possible in qtp?
what is run action?
Call to copy of an action and call to existing action… i know the diff but in real project how to use..? i want live scenario.pls help me..
Suppose you are using shared objects repository in your test and you want to split your present action? At that time shared object repository is single or it’s also splits?
For the below written code , i want to be stop the loop (ex:10 times), but it is focusing to first line of the code & generating error. vbwindow("vbname:=frmMain").Type micAltDwn + "6" + "2" + "D" +micAltUp 'wiil open the particular window in application vbwindow("vbname:=frmDeduction").vbbutton("vbname:=cmdNew").Click DataTable.ImportSheet"F:\QTP VBScript\Form 26-1.xls","Deduction",Global RowCount = DataTable.GetSheet("Global").GetRowCount i=RowCount For j =1 to i 'vbwindow("vbname:=frmDeduction").WinObject("nativeclass:=DataComboWndClass","abs_y:= 187").Type DataTable("Name", dtGlobalSheet) vbwindow("vbname:=frmDeduction").ActiveX("acx_name:=DataCombo","abs_y:= 187").Type DataTable("Name", dtGlobalSheet) vbwindow("vbname:=frmDeduction").ActiveX("acx_name:=DataCombo","abs_y:= 187").Type micF4 vbwindow("vbname:=frmDeduction").ActiveX("acx_name:=DataCombo","abs_y:= 187").Type micTab vbwindow("vbname:=frmDeduction").ActiveX("acx_name:=DataCombo","abs_y:= 216").Type micF4 vbwindow("vbname:=frmDeduction").ActiveX("acx_name:=DataCombo","abs_y:= 216").Type DataTable("Section", dtGlobalSheet) vbwindow("vbname:=frmDeduction").ActiveX("acx_name:=DataCombo","abs_y:= 216").Type micTab vbwindow("vbname:=frmDeduction").VbEdit("vbname:=txtAmtOfPay").Set DataTable("Amount_of_Payment", dtGlobalSheet) vbwindow("vbname:=frmDeduction").VbEdit("vbname:=txtAmtPaidDate").Set DataTable("Amount_PaidCredited_Date", dtGlobalSheet) vbwindow("vbname:=frmDeduction").VbEdit("vbname:=txtAmtPaidDate").Type micTab vbwindow("vbname:=frmDeduction").ActiveX("acx_name:=DataCombo","abs_y:= 316").Type micF4 vbwindow("vbname:=frmDeduction").ActiveX("acx_name:=DataCombo","abs_y:= 316").Type DataTable("Deduction_is", dtGlobalSheet) vbwindow("vbname:=frmDeduction").ActiveX("acx_name:=DataCombo","abs_y:= 316").Type micTab vbwindow("vbname:=frmDeduction").VbButton("vbname:=cmdSave").Click DataTable.SetNextRow Next vbwindow("vbname:=frmDeduction").VbButton("vbname:=cmdClose").Click
whenever U using QTP,Test Director, Why we using separate Bug tracking tool?
Can UFT be connected to Quality Center? If ‘Yes’ brief the process or steps.
i need qtp tutorial. pls send it to sridhar.k151@g mail.com
i need code for how to click on particular mail in utlook mail box .its urjent Thank You Balaji
Can any body please tell me the steps of keyword driven framework of QTP.
i have an external excel datasheet where it only contains 3 rows. after qtp executed the code to import the datasheet, the datatable getrowcount method now gives me a different value, lets say 60,000+ instead of only 3. i did not have any values starting from row 4 of my excel file. why is this happening? this also results to the qtp report to load for a very long time.
What is reusable action?
write the vb script for call to new action in qtp?
can any body tell me how i create a simple script and apply output value on it .pls send me a step by step process