I am just a beginner in QTP. Could any one explain me in
detail how to automate adding two numbers and getting the
result in QTP. Also I would like to parameterize the
inputs. I have tried but getting an error like 'Can't use
sub.....'(can't recollect the exact error)
Answer Posted / sailaja
One way is:Dim a,b,c
a=10
b=20
c=a+b
msgbox c
Anotherway:Place the input parameters in these: edit-
>Action Properties->Parameetrs->Here we can add input &
outputparametrs.
Dim a1,b1
a1=Parameter("a")
b1=Parameter("b")
c=a1+b1
msgbox c
Aliter: Add the values of both a,b of parameters in Action
Properties.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain xml checkpoints.
Where we can use the analog mode and where we can use the low – level mode?
Hi I know two types of testing processes. 1. Reaquirments stage,test design,code review's, Design review's, Test Plan, Test Cases design, test execution, Defect Reporting and tracking, UAT, Signoff. 2.Test Initiation , Test Plan, Test Design, Execution,Bug tracking, UAT, Sign off.
how to idetfy which test cases are automated?who will deside that plz tell me
How many types of parameters are available in quicktest professional (qtp)?
How will you report the bug and explain the defect tracking sheet you handled?
Diff b/w test scenario's and test Procedures?
What is Test Fusion Report in QTP?
What is different command used in command Prompt while using QTP?
What is business process testing(bpt) in qtp?
HI, pls help me on this, iam not able to capture getcelldata value in javatable... msgbox javawindow("").javatable("").getcelldata(3,3) but it diaplays empty...
Connect to QC using AOM.
What is the quicktest professional testing process?
Client is able to provide budget..he want you to choose the automation tool for the web application? which one you will select ? QTP or Selenium ? what are the reasons?
Can an action have 2 shared object repositories associated with them? In that case, if two of them contain the same object, which one will be considered?