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 |
Explain sub procedure of vbscript.
what is the difference between an Action and a function in real time
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?
Explain about the Test Fusion Report of QTP?
how to generate numbers in between to numbers suppose numbers in between 500 to 1000 in sequencies using vbscript
By default Action1 runs first in QTP. Is it possible to start the run with Action2?
What is the Test Object model in QTP?
How can i open 5 multiple browser at once through QTP VB script
explain structured testing? plz guys with exp. do answer
How to map the test cases to requirements in QC?
write the regular expression for date format of mm/dd/yy?
10 Answers CTS, HCL,
How to record a qtp script ?