how to add a runtime parameter to a data sheet?
Answers were Sorted based on User's Feedback
Answer / lakshman rao
Hi, Srinivas
I thought your miss guessed. Two ansewers are wrong ones
and question is too clear
My answer is by using "Add parameter" method we can done
this. please check out the example.
datatable.addsheet("lakshman").addparameter("column one
name","value")
09860054593
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / raja83
hi i am not understanding your question clearly
1)you can pass datasheet value to test during run time
DataTable.SetCurrentRow(1)
var= Datatable.Value("Column Name","Sheet name")
2) you can write value to datasheet during run time
DataTable.SetCurrentRow(2)
Datatable.Value("Column Name","Sheet name") = Value
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / b.venkateshwar
we can add runtime parameter to data sheet as follows
syntax:
Datatable.Gtglobalsheet.Addparameter("parameter name" ,
value)
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / sricha
Login="Login Operation Successful"
Datatable("Parameter_Name",Sheet_Name) = Login
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / mahendar
To add the runtime parameter to data table.
DataTabla.Addsheet("SheetName"). AddParameter("ParameterName";"Value")
| Is This Answer Correct ? | 0 Yes | 0 No |
If aclient comes to tester ask to bye a tool Keep aside about the cost,In what way we can choose the tool.
i am giving.multiple names like ram,raj,san etc....pls enter & search these names in google pade edit box through script... i told to interviewer, using Ms excel & test easily..but interviwer not happy with that answer?
How to merge the two object repositories
How you can find the absolute value of the number in qtp?
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
how to test Web application using QTP software
Syntact for how to call one script from another? and Syntax to call one "Action" in another?
what is impact analysis on regression testing?
1. How can we use same object repository and Testscript which is in English flavor to check the application in different languages thru QTP?(Chinese,Dutch,French) - I generated script in english and want to use the same script with different languages? - for windows i used regular expressions - I need for edit box,button and combobox, (English,French,Dutch,Chinese) These are the properties of a button in different languages Properties English Dutuch Chinese French x 400 758 631 601 y 673 603 592 676 windowstyle 1342242816 1342242816 1342242816 1.34E+09 windowid 2 2 2 2 windowextended style 4 4 4 4 width 120 120 120 120 visible TRUE TRUE TRUE TRUE righttoleft reading FALSE FALSE FALSE FALSE righttoleftlayout FALSE FALSE FALSE FALSE rightaligned FALSE FALSE FALSE FALSE regexpwndtitle cancel Loschen Chinese language Annuler regexpwndclass button button button button objectclass button button button button hwnd 132872 657228 656932 656782 height 33 33 33 33 focused FALSE FALSE FALSE FALSE enabled TRUE TRUE TRUE TRUE attached text abs_y 669 599 627 597 abs_x 396 754 588 672 text cancel Loschen Chinese language Annuler nativeclass button Button ordinal Identifier type,Value none none none none smartidentification FALSE FALSE FALSE FALSE comment
i have doubt suppose iam purly working in manual, when i will get work to do on sql and performence testing? pls any one clarify doubt?
Is it possible to use two instances of UFT on the same machine? If not why?
How to perform action on objects, If two objects have the almost the same name ? example : Object 1 : "Entry of Items" Object 2 : "Items" Whenever I ask QTP to perform an action on Object 2 it performs action on Object 1. Note: The two objects are present in an Oracle Application tree.