How to create a run time propertyfor an object?
Answers were Sorted based on User's Feedback
Answer / firoz basha shaik
for ex, suppose that we want to know what is the data in
the text box while the application is running?
FName = Browser("Browser").Page("Page").Webedit
("FirstName").GetROProperty("text")
msgbox FName
the runtime text which is present in FirstName field will
be stored in FName variable and can be seen using msgbox.
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / kiran1783
'The following example uses the SetTOProperty method to set
the
'html id of the WebFile object.
Browser("Fill-Out-Form").Page("Fill-Out-Form").WebFile
("name-of-files").SetTOProperty "html id", 4
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / ravi
Sorry kiran...
we can not set a property to an object in run time .
You can use GetROProperty(”outerText”) to get the outerText
of a object but there is no function like SetROProperty
tochange this property. But you can use
WebElement().object.outerText=”Something” to change the
property.
| Is This Answer Correct ? | 2 Yes | 3 No |
can u store QTp frame work folders in VSS? If Not where u store those?
What is difference between the For..Next and While..Wend statements?
How do you create a library file
Have you performed Debugging and how did you?
What is VSS? Is it used in Automation(QTP) Or Manual? what is menus in VSS?
How to connect the remote desktop using QTP 9.2 explain the method or procedure?
0 Answers Magna Infotech, Oracle,
before launching qtp, we need to close all the open browsers u dont know what are all the browsers either it might be ie,mozilla etc and u dont know how many brosers are open.... u need to close all these before launching qtp.. can anyone plz temme d solution...
How to test results for qtp ?
How do you copy a value from a cell in an msexcel sheet saved on the desktop into QTP's datatable when the co-ordinates of cell are given?
How to "Turn Off" QTP results after running a Script?
What is the use of text output value in quicktest professional (qtp)?
Subj: realtime example of Database check point, Can any one please detail on how the Database check point is utilized/implemented in a real time project. I already know how to make one by creating DSN/ODBC and writing the required query manually and other steps...I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thank you in advance