How to change the run-time value of a property for an
object in QTP?

Answer Posted / santhi

If u want change the property of object at run-time....
use 'SetToProperty' method of an object

example :

browser(" ").page(" ").winedit
("username").setToProperty "Property", Value

if any queries let me know,
santhi.patti@gmail.com

Is This Answer Correct ?    7 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different attribute used with regular expression?

531


what kind of frame work you used in your last project?

1811


Explain actions in qtp ?

553


Can we run test with out adding object in object repository? How it is possible?

540


Hi I know two types of testing processes. 1. Reaquirments stage,test design,code review's, Design review's, Test Plan, Test Cases design, test execution, Defect Reporting and tracking, UAT, Signoff. 2.Test Initiation , Test Plan, Test Design, Execution,Bug tracking, UAT, Sign off.

1372






Write a QTP script to enter a keyword in to Google search engine?

649


any body plz send health care domain project to me with explanation any two modules on that project. mail_id: ranjith_99reddy@yahoo.co.in

3440


Mention what are the different types of recording modes in qtp? Which will be used when?

557


Describe the differences between functions and actions in UFT?

608


Hi All, How to get repeated word in string . Thanks Balaji

932


How will you handle java tree in qtp?

621


Consider one application is open, clicking one menu will open another application in another browser. QTP does not catch the URL of the second browser(second application). can we capture it ?

1469


What is the difference between the keyword view and expert view?

523


PLEASE TELL ME WHEN DO YOU USE THE OBJECT SPY AT RUN TIME

5934


Hi, Can we open a test in qtp10 which is saved in qtp 9.2?

1427