-
Junior Member
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.
-
Moderator
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.
-
Expert Member
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....
-
Junior Member
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
-
Forum Rules