Results 1 to 3 of 3

Thread: qtp SETTOPROPERTY

  1. #1
    Junior Member
    Join Date
    Jul 2007
    Answers
    6

    qtp SETTOPROPERTY

    need a script example with full syntax also with detail explaination for settoproperty


  2. #2
    Expert Member
    Join Date
    Sep 2007
    Answers
    110

    Re: qtp 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


  3. #3
    Contributing Member
    Join Date
    Feb 2006
    Answers
    85

    Re: qtp SETTOPROPERTY

    although this is not what you exactely lookin for but since your Q is answered by the above post i just wanted you to have a clear idea abt the properties as this is the major confusion for all.

    The TO and RO property must have confused(or might be still confusing) you at some point of time.This is my attempt to demystify the two with the inputs from various resources.
    Test objects are the objects in your test that represent the objects in your website or application. Runtime objects are the objects in your application during the test run.
    The Test object properties set is created and maintained by QuickTest. The Runtime object property set is created and maintained by the object creator (Microsoft for Internet Explorer objects, Netscape for Netscape objects, the product developer for ActiveX objects, etc.).

    Similarly, Test object methods are methods that QuickTest recognizes and records when they are performed on an object while you are recording a test, and that QuickTest performs when your test runs. Runtime object methods are the methods of the object in your application as defined by the object creator(the developer!). You can access and perform runtime object methods using the Object property.

    hope this will help you in having a clear picture.

    Thanks,
    Kunal.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact