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

I am getting an error "failed to open the XML checkpoint result viewer" in result window,after clicking on "View XML checkpoint results".Someone suggest me settings,if any...

1453


please any one can explain the keyword driven framework. with gmail example.

1615


What are the different types of qtp test assets and their extensions?

587


What is a checkpoint? How many check points are there in qtp?

519


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

622






how to prepared for first for the first interview?

1790


How can we retrieve the Bug Ids which are open&Reopen in status through QTP scrit?Please find the script which i tried... Dim objBugFactory, objBug Dim BugId Set TDConnection = QCUtil.TDConnection Set objBug = TDConnection.BugFactory If QCUtil.IsConnected then Reporter.ReportEvent 0, "Connected", "Connected to server: " + QCUtil.TDConnection.ServerName + chr (13) +"Project: " + QCUtil.TDConnection.ProjectName + chr (13) + "Domain: " + QCUtil.TDConnection.DomainName Reporter.ReportEvent 0, "Current time on server is","==>" & TDConnection.ServerTime Else Reporter.ReportEvent 1, "Not connected", "Not connected to Quality Center" End If If mybug.Status="Open" Then BugId=mybug.DefectId MsgBox BugId End If 'OR**********************************--------------------- -----********************************** If Bug_Fields("BG_STATUS").Value ="Open" Or "Re Open"Then BugId=Bug_Fields("BG_BUG_ID").Value MsgBox BugId End If

2565


what kind of frame work you used in your last project?

1809


How would you directly trigger javascript in a test?

1466


What is the Difference between copy to action and call to action?

574


How extensive or customized are the server logging and reporting requirements; are they considered an integral part of the system and do they require testing?

561


What is parameter in qtp?

674


If the objects hierarchy is changing from build to build, then how you will handle that condition?

607


what are the frame work models of qtp?which frame work you follow in your company?and explain it process?

1947


How many types of parameters are available in quicktest professional?

514