How to add a runtime parameter to a datasheet?

Answer Posted / ramyab.mca@gmail.com

Hai...

By using LocalSheet property. The following example uses
the LocalSheet property to return the local sheet of the
run-time Data Table in order to add a parameter (column) to
it:

MyParam=DataTable.LocalSheet.AddParameter("Time", "5:45")

K,Byeeee...
Thanks & Regards
B.Ramyasri

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I used the below code to open QTP through VBscript?But i can unable to Invoke QTP...PLZ help me with the correct code to invoke QTP through VBS with description of the code aswell. Dim qtApp 'As QuickTest.Application 'Declare the Application object variable Dim qtTest 'As QuickTest.Test 'Declare a Test object variable Dim qtResultsOpt 'Declare a Run Results Options object variable Set qtApp = CreateObject("QuickTest.Application") 'Create the Application object qtApp.Launch 'Start QuickTest qtApp.Visible = False 'Make the QuickTest application visible qtApp.Open "C:\form", True 'Open the test in read-only mode 'set run settings for the test Set qtTest = qtApp.Test qtTest.Run 'Run the test 'WScript.StdOut.Write "Status is: " & qtTest.LastRunResults.Status 'Check the results of the test run qtTest.Close 'Close the test qtApp.quit 'Close QuickTest Pro Set qtResultsOpt = Nothing 'Release the Run Results Options object Set qtTest = Nothing 'Release the Test object Set qtApp = Nothing 'Release the Application object

2427


What is the registration process and examination fees?

559


Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project

1644


I am getting the "test object property" Description properties "toolkit class" value By using "gettoproperty" in run time But my problem is how to get Ordinal Identyfier's type and value Type is index, value is 0 How can i keep this values in to required place How can i get these values in runtime I have to insert these "index" and "value" into another area Is there any script for this like "gettoproperties","Getroproperties" If anybody knows,please help me .

1731


How do you test the text displayed in the header portion of times of india epaper. Hot news(banner) are scrolling in the top of the page, how do you test using QTP?

1510






How to handle the exceptions using the recovery scenario manager in qtp?

573


How can you send user defined messages to test report?

588


Hi All, I have QTP installed on my machine but the application under test (AUT) is on remote desktop.My scenarios is like that,it should contain following steps. 1)Automatically it should click on start and then on remote desktop connection. 2)it should enter the IP address and then connect to remote desktop. 3)and then it should be able to record the application in remote machine and then run it also. Can somebody tell me how to record the application which is in remote machine.

1491


What is checkpoint in qtp?

556


How can you identify the browser and its information using the qtp script?

587


What is quicktest professional?

561


write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object.. (give a filter condition only WEbelement- not easy need to use some more property while giving filter condtions- use google for your help...))

1507


can any boby tell me what is method or steps to connect the remote desk top by using QTP 9.2 version?

1625


I used child objects to get the no of weblist present in the weblist.now i need to select the items present in each weblist ?How to do so

2260


When you open QTP, how many sheets you can see?

664