What is the difference between gettoproperty and
settoproperty?Explain with an example?
Answer Posted / siva reddy (us)
'The following example uses the GetTOProperties method to
retrieve
'the collection of properties and values used to identify
the Calendar
'ActiveX object.
Set col = Browser("Flight").Page("Flight").ActiveX
("Calendar").GetTOProperties()
setTOproperty:
You can modify the properties of the temporary version of
the object during the run session without affecting the
permanent values in the object repository by adding a
SetTOProperty statement in the Expert View.
Use the following syntax for the SetTOProperty method:
Object(description).SetTOProperty Property, Value
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
Give me At Least 5 Differences between DOCUMENTATION OBJECT MODEL(DOM)and COMPONENT OBJECT MODEL(COM)? Interviewer said me to WRITE the difference only in points not as you WRITE a paragraph ???? only in points
How to delete an object from the object repository?
Hi! My OTP script has several bitmap checkpoints included which I check in the test results xml file. The test is for SAP 4.7. I need to save these bitmaps to files or at least export them to the html file using the export function in the test results viewer. Could you please help me with this problem? Thank you in advance! Best regards, Peter
Does QTP run in any environment?
hi all can anyone explain how to write the code for finding the mandatory columns in table which are having (red*) (red Astrik)
Should have experience in framework means?
please give me the code for doing retesting of gmail login page using functions so the function has to give the value
write the vb script for call to new action in qtp?
whow much strong on VB and C?
In qtp, how you can use xpath to identify objects?
How many types of recording modes in qtp? Describe each type with an example where we use them?
Discuss the QTP Environment?
How to release all resources file from the QTP?
Can we run test with out adding object in object repository? How it is possible?
What is action? How many types of actions are there in qtp?