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
What is object spy in quicktest professional?
What we are looking for is to load properties of object dynamically as for our application the global repository will pretty huge. It will be really helpful to us if something similar to following functions of Winrunner is available in QTP. #Define descriptor auto strDesc; #set property in the descriptor Gui_desc_set_attr(strDesc,?Class?,?Edit?); --- put other properties #Add Edit box to GUI Map Gui_add(? ?,strWindowName,strEditboxName,strDesc);
I want to test my vb.net solution file using qtp. Does Qtp test only .exe file?
Which environments does qtp support?
Discuss quicktest professional (qtp) environment?
what QTP Options do you know?
Hi All, I need code for how to execute qtp scripts from excell sheet
hi all here i have tab named "Workbench" By clicking on "workbench" tab.it displays 4 tabs like below workbench common cargo commercial charter "common" tab have 10tabs inside,"cargo" tab also haveing 15 tabs inside and remaining two tabs also having few tabs inside. when clicked on "common" tab.it displaying the script like tab("workbench").select"common" if i clicked on "cargo".it displaying the script like tab"workbench_2").select"cargo" if i clicked on "commercial".it displaying the script like tab"workbench_3").select"commercial" if i clicked on "charter".it displaying the script like tab"workbench_4").select"charter" I have used a "FOR LOOP" for common,commercial,cargo,charter tabs.it was stopped at second tab SO, CAN I RECOGNIZE "WORKBENCH_2,_3,_4" AS A SINGLE VARIABLE if not, can anyone plese help me to solve this
What are the various automation frameworks available in qtp?
What is meant by a Check Point in UFT? Also, explain the applicable Check Points.
How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?
What are the methods used in UFT to handle exceptions or run-time errors?
Any body have QTP 9.5 licence key. please provide me at madhukar_dec30@yahoo.co.in
what the difference between shared repository and per action repository?
What is the extension of the qtp local repository?