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
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...
please any one can explain the keyword driven framework. with gmail example.
What are the different types of qtp test assets and their extensions?
What is a checkpoint? How many check points are there in qtp?
What are the properties you would use for identifying a browser and page when using descriptive programming?
how to prepared for first for the first interview?
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
what kind of frame work you used in your last project?
How would you directly trigger javascript in a test?
What is the Difference between copy to action and call to action?
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?
What is parameter in qtp?
If the objects hierarchy is changing from build to build, then how you will handle that condition?
what are the frame work models of qtp?which frame work you follow in your company?and explain it process?
How many types of parameters are available in quicktest professional?