1>why parameterization is necessary in qtp?
2>if we give constant value then what problem?
Answers were Sorted based on User's Feedback
if we give constant value.it can validate the test for one
input value only.by testing the testcase with simply single
input value we cannot pass testcase.
mainly we go for qtp is to test the application with more
no of inputs.
qtp has feature data-driven testing.by parameterization we
can test the 1 testcase with more num of inputs for
accurate results.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / aruna
if ur validating data on ur application for only one value
u can pass in the script line itself .......
i same think u want to try for more values instead of
writing same steps more time .........u can pass the same
values on same line of script ,by passing value
externally ,tht can becan b any think as note pad,execl
sheet, coma separater.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / saranya
if we want to check how the application performs the same
operation with different data should goto parameterization
in qtp.
if we give constant value for particular application, we
can't able to check the application withmultiple set of
data. Each data we need to write new script
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / audi
Hi,
Constant Value - Script will validate with only one set of
test data.
Parameterization : script can run with defferent set of
test data and so that can validate more number of
combination of test data.
Defina the value in Script or Hordcode the value in script
is not recomened to automation scripting.
The advantage of automation , we can test functionality
with defferent set of test data.
Regards
Audi
| Is This Answer Correct ? | 0 Yes | 0 No |
Hi, I Need code to click the webbutton inside of webtable. I need to click a particular 'Edit' webbutton inside of webtable. For Example... Having 5 Rows and 10 Columns. 'Edit' webbutton are placed in 10th Column. I need to click the 3rd row 'Edit' button with unique value. Browser("....").Page("...").Frame("...").WebButton("btn_Edit ") I Tried with below code: Set objButton = Browser("...").Page("...").Frame("...").WebTable("...").Chil dItem(3,10, Webbutton,0).Click - Not working this code :( Anyone can help me to sort out this simple issue ???
What are the challenges u faced in testing with crm domain? How u overcome with?
How u send bugs to dev'lpment team all at once or one by one or waht is the process?
QTP Query: Hello to all, I'm getting an error (as below) when I perform descriptive programming on any Web application. "The test run cannot continue due to an unrecoverable error.The "myvar_0" object was not found in the Object Repository. Check the Object Repository to confirm that the object exists or to find the correct name for the object " But I do not have any problem when I perform the same descriptive programming on a Windows application such as Sample Application - Flight. Previosly , I had prepared a lot of scripts - both via creating the properties collection object and by giving the description in string arguments and implemented them on Flight and they're working perfectly fine.I'm using QTP Version 9.2 The sample script I have used for Web application is as below : Set myvar_0 = Description.Create 'Setting property collection object for Browser myvar_0("class").value = "Browser" myvar_0("name").value= ".*" 'Setting property collection object for Page Set myvar_1 = Description.Create myvar_1("class").value = "Page" myvar_1("name").value= ".*" 'Setting property collection object for Text box Set myvar_2 = Description.Create myvar_2("class").value = "WebEdit" myvar_2("name").value= ".*" 'Setting property collection object for Button Set myvar_3 = Description.Create myvar_3("class").value = "WebButton" myvar_2("name").value= ".*" SystemUtil.Run "C:\Program Files\Internet Explorer\iexplore.exe" Browser("myvar_0").Page("myvar_1").WebEdit("myvar_2").Set ("hello how are you ?") Browser("myvar_0").Page("myvar_1").WebButton ("myvar_3").Click Browser("myvar_0").Page("myvar_1").Sync Browser("myvar_0").Close As our application is a Web based application, I was planning to make a few changes in regards to the object names, but unfortunately I am getting the above mentioned error. Could anyone please advice me, whether it could anything to do with the run setting or anything else.I am getting the same error even while implementing on our Sample Application - Mercury Tours website. I would be grateful to anybody who can solve my problem !!
what is the difference between parameters and arguments?
WHAT ARE THE SHORTCUT KEYS IN QTP?
Can u tell me example for virtual objects?
whow much strong on VB and C?
HOW AND WHY TO CREATE EMPTY OBJECT IN QTP?
what is mercury.clipboard in qtp.where we can get this in qtp tool i.e tabs
Hey friends i m facing a problem when i m running my script in qtp it waits for about 5-10 secs before starting execution why it is so can any one solve my problem .Previously it was running fine
How many types of status are there?