What are SetToProperty, SetRoProperty, GetToProperty
scripting?

Answers were Sorted based on User's Feedback



What are SetToProperty, SetRoProperty, GetToProperty scripting?..

Answer / suresh kumar

The GetTOProperty and GetTOProperties methods enable you to
retrieve a specific property value or all the properties and
values that QuickTest uses to identify an object.

The SetTOProperty method enables you to modify a property
value that QuickTest uses to identify an object.


SetRo property is not available in QTP.



classifications mail me. uvvsuresh@gmail.com

Is This Answer Correct ?    3 Yes 0 No

What are SetToProperty, SetRoProperty, GetToProperty scripting?..

Answer / mahesh.k

getroproperty: retrieves property of a test object.
getropropertyretrieves: it retrieves all the properties associated with test objects.

settoproperty:It can modify,add property to the objects which is exist in repository.

setroproperty is not existed in qtp,nothing but we cant change or modify run time(object in appication) objects.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

Hi Friends, I worked with 8.2 not with 9.2. Please help me in this prob. I created one script and recorded some think and save as Test 1 then I opened process--open the object repository manager. Switch to file->save->give some name->save as Objectrepo1.tsr file. (This is the global repository file.) Then I went to object repository->tools-> associate repository ->click + icon ->open the previously saved Objectrepo1.tsr file. This is the global repository Now I created one more script and save as Test 2. In this script I am calling script with the Help of "Call of existing action" and I executed but QTP is not able to execute B’cos it is QTP is not able to read the Object Repository of Test 1. Please let me know why? Once I made Script 1 as a shared Obj. Repository so it would not give any Problem. Right?

0 Answers   Cap Gemini,


Are You using any frame work? What is that? Explain about that.

4 Answers   Wipro,


tell me the script for envirnment value parameeter with an example. which situation envirnment valu parameter is used

2 Answers   HCL,


I would like to directly import XL file and work on that XL file directly in QTp script in that XL sheet need to allocate workbench,XL sheet and generate two bar graphs automatically how to do that? plz let me know any answers?

0 Answers   Wipro,


HO DO U CALL A ACTION?

3 Answers   BirlaSoft,






how to write testcases for web based insurance,from the script by using qtp.

1 Answers  


If an application name is changes frequently i.e while recording it has name "Window1" and then while running its "Windows2" in this case how does QTP handles?

1 Answers   Crea,


I m in new and want to learn QTP. Is any website which provide free QTP video training.....also can downlaod....

3 Answers   Wipro,


write a script to close all open browser in qtp except one browser whose name is xyz

6 Answers   Cap Gemini,


What is an other way of "Wait" statement in QTP I dont want to use wait("Some number"). Can any one tell this please..........

10 Answers   ADP, AZTEC,


I have some real time based question.. 1.what are the challenges you have faced in your current project. 2.what are the bugs you found in your current project. 3.what are the strategies you follow to convert manual test cases into automation test cases. 4.how QTP identify two different browsers. 5. When you create a function library and share object repository what are the problems you have faced 6. How to solve the tool tip problem 7.what are the interesting bug you have found in your current project. 8.what is your daily work as a automation test engg. 9. how to create a weekly status report. 10. how many test cases you write,review and execute per day. 11.what are the uses of SQL in automation. 12.How to retrieve the data in html through vb script. 13.If application is very slow how to test the application in qtp.

0 Answers   Cap Gemini, TCS,


Describe how Smart Identification is used

0 Answers  


Categories