Hi friend
I have query regarding QTP datatable.
I want to insert data in datatable during runtime.
suppose i wrote
datatble.value(1) = "Test data"
so when i run the script it says column(1) doesn't exist.
Then i write something in column A1 manualy and run the
script again.
Now it works fine.
Pls clarify how i can put value in blank cell of datatable.
Answer Posted / arun singh
first of all u have to change the column name.
i.e., double click on A and run the program.
got it.
Is This Answer Correct ? | 10 Yes | 3 No |
Post New Answer View All Answers
action contains public and private functions but do we resuable that action or not..If it is reusable How..plz tell me the ans
What is quicktest professional window?
how to write xml output check point bu useing descriptive programing .means without useing output check point
How to recognise the webelement and verifying that webelement is enabled?
What is expert view and keyword view?
Difference between copy to action and call to action?
There are 10 rows in the datatable. How can we fetch 2 rows and then skip 3rd row. After that, pick 4th & 5th row and skip 6th row. Please share code
How do I generate Test Results window using descriptive method ( run time ) after my test execution process? Please have a look of my below code. ========================================================= Dim qtApp Dim qtTest Dim qtResultsOpt Set qtApp = CreateObject("QuickTest.Application") qtApp.Launch qtApp.Visible = True qtApp.Options.Run.CaptureForTestResults = "Always" qtApp.Options.Run.RunMode = "Fast" qtApp.Options.Run.ViewResults = True qtApp.Open "C:\Automation\Example", True Set qtTest = qtApp.Test qtTest.Settings.Run.OnError = "NextStep" Set qtResultsOpt = CreateObject ("QuickTest.RunResultsOptions") qtResultsOpt.ResultsLocation = "C:\Automation\Example\Res1" qtTest.Run qtResultsOpt MsgBox qtTest.LastRunResults.Status qtTest.Close Set qtResultsOpt = Nothing Set qtTest = Nothing Set qtApp = Nothing ========================================================== This code is working fine, but Test Result window is not displaying after execution. Anybody can please help me regading the same. Thanks Akshaya Madali Capgemini India Pvt Ltd 9823213538
How will you test a keyboard?
How many tabs are available in debug viewer pane?
Hi All, I need code for how to execute qtp scripts from excell sheet
what QTP Options do you know?
Can anybody post some real time scenario in qtp? please its very urgent.
how did u use automating testing tools in ur job?
What is smart identification in QTP?