Results 1 to 4 of 4

Thread: Identify object inside application

  1. #1
    Junior Member
    Join Date
    Sep 2007
    Answers
    1

    Identify object inside application

    Hi,

    My product is a stand alone windows based applicaiton, i use QTP 9.2 for testing the application. Whenver i play back the tests, it is not identifying the object present inside the application and also the child windows. What should be the reason. Please someone help me.


  2. #2

    Re: Identify object inside application

    Maybe because one or more of the object properties are dynamic. Find out which ones and use Regular Expressions. You can also use Descriptive Programming to solve the problem, however, if the time if little and you want your scripts to work, I would suggest Regular Expressions. If you know and are good at VBScript, then you can also get into DP. There are tons of resources available for both if you perform a search, which should help you solve this problem.


  3. #3
    Expert Member
    Join Date
    Oct 2007
    Answers
    375

    Smile Re: Identify object inside application

    Hi,

    Reason could be that the Object properties are not matching the Run-time properties of the Object.

    Use Object Spy and compare the properties to see if you find a difference in the already recognized properties. Incase Object properties are dynamic, use Regular expressions.

    Cheers....


  4. #4
    Junior Member
    Join Date
    Dec 2007
    Answers
    24

    Smile Re: Identify object inside application

    spy the objects and then add object to your OR ...Dont record the application ....sometimes after recording if you try to play back it may throw errors becos of dynmaic change in APP.

    so spy and add objects ....it shud work like this ...99%
    if not gofor descriptiv programming


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