did you perform retesting(DATA DRIVEN test) using functions
with out using datatable methods

how can you perform retesting using functions

Answer Posted / raj

May be solution i'm providing is not a DataDriven but it is
useful.

We can access the object property at runtime and then append
something in the property and then again insert into the object.

Like we have a text box amount having value = 10

So we can use

value1 =
Browser(".*").Page(".*").WebEdit("amount").GetroProperty("value")

value1 = value1 + 1

Browser(".*").Page(".*").WebEdit("amount").Set value1

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to check which add-ins are associated with a test in qtp?

804


Did QTP prove efficient for your project? Yes or No, explain?

6316


How the exception handling can be done using quicktest professional?

740


How you can replace string in qtp?

773


How to check bitmap output value?

834


How to sendKeys in QTP? Diff b/w sendkeys and device replay? Diff b/w function and Sub? Diff b/w Array and List Different Types of running Keys other than Fast, slow,Normal mode Regular expression for http://newtours.demoaut.com Difference between \w and \W How to generate script button Recording Types Different Types of Actions? Using DP performance degrades, If Yes why? How to close all the opened browsers? Diff b/w SystemUtil.Run and invoke application? If qtp not recognized the combo box How to select values from drop down?

3720


Can any suggest me what is exposure testing?

1555


What is RTM (require ment tracebulity marix) fromate?

1708


If I change the object name in one action will it be updated in all the actions? Or not?

805


If I am scripting Web-based Surveys using QTP that open up differently but at the exact same point require a username and password can I automate that username and password for all the surveys some how using QTP?

1658


What are the major/ important methods, functions in QTP we use realtime testing

2471


What are the properties you would use for identifying a browser and page when using descriptive programming?

794


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..

1486


Explain the concept of object repository and how quicktest professional recognises objects?

748


Explain how qtp identifies object?

811