Micro Focus QTP (UFT) Forums
Sample Code - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Sample Code (/Thread-Sample-Code)



Sample Code - ptreey - 03-08-2008

Hello, I just started using QTP to test a website written in C# using .Net 2.0, and i am able to record and play simple tests. But for some reason i cant play back everything that i record, i usually get errors similar to "object's properties match an object currently displayed in your application."
I looked around the web and this website for some sample code that i can compare my code to, to see if i am doing something wrong or if my Object Identification settings were wrong, but i wasn't able to find much, except 1 slide show and that pdf about the travel scheduling website. Does any one know where i can get some sample web testing code to look at?


RE: Sample Code - FredMan - 03-14-2008

Do you have the Web and .Net add-ins the selected?


RE: Sample Code - ptreey - 03-18-2008

yes i do, i actually made another thread w the specific problem and more details, but still no solution

https://www.learnqtp.com/forums/Thread-net-testing-Object-not-found-on-object-repository-error-what-am-i-doing-wrong


RE: Sample Code - FredMan - 03-18-2008

Does the site use Infagistics grids? If so you may need to install TestAdvantage to recognize the grids.