Hi everyone,
I know and you may have realized that there haven’t been any new article or updates here for the last few weeks. I have been extremely busy with prior obligations, work and a few big projects outside of work that I have been engaged in. However, please be assured that there are some articles on the way and another demo framework over the next few days.
I also appreciate requests for articles that you would like to see here, so please feel free to contribute your ideas!
I really appreciate everyone who visited and supported Relevant Codes during my off-time. I also value all your comments, suggestions, criticism and queries. They keep me coming back everyday to see that this website has grown to such a level from a very little blog that started a year ago.
Also, please don’t forget to subscribe to ensure all articles are delivered to your email as soon as they are published! :)
Thanks!
Anshoo Arora
{ 25 comments… read them below or add one }
Wonderful
Thanks a Lot…Eagarly w8ing for the Demo of the next framework Release….. :)
Shekhar,
I have most of the leg-work complete, but still need to make a post to ask the readers what application they would like to see automated. Hopefully, by next week, I will have that post published and release the framework in the coming few weeks.
Thanks Anshoo for update!!
I have been working on a class that reads emails from a POP3 server. This helps with not having to automate any kind of email client front-end for checking if email notifications sent from an application are being received on the other end correctly. Also, I use it to parse emails that have temporary passwords in them for the same application. I have had some problems with waiting for messages to arrive. With POP3 it locks the mailbox down when the class is logged in, so if a message doesn’t arrive, the class has to log out wait for a long time, then log back in. It works fine, but takes a long time if the message wasn’t already in the inbox when the class first logs in.
Anyway I would love to see someone else write an email client class in QTP, and I think you just might be smart enough to tackle it ;-). I was considering rewriting my class using IMAP since I think IMAP will receive messages even when logged in, although I’m not 100% sure of that, need to do more research. Anyway, if you (or anyone else) thinks this would be useful I would love to see other’s insights and solutions. I will hopefully get a post with code together at some point, but I’m busy on the project that uses the class and as such, not only am I busy, but the class is still changing on a daily basis.
Hi Anshoo,
I have a website which opens a calculation report. I need to record the calculate outcome but I m not able to do it.
Becuase object spy shows it a winobject. I also can’t use text check point because I dnt have static values on both side
of calculated values. So plz tell me how i can come out this problem.
Amit,
The entire report window is recognized as a WinObject?
The report is of devx control. I told the developer to give a button in a particular login which opens same calculated output in a form then I will be able to automate it. But this not the good solution I know if u can help me with that plz help and we can’t afford extra addins for it.
Amit,
I think you may be able to recognize the report object if you have the .NET add-in associated with your test. I know you are not considering buying more add-ins but I’m not sure how to help you without having the application handy. I searched the KB and found the following:
http://support.openview.hp.com/selfsolve/document/KM85978
Found the following threads via Google:
http://community.devexpress.com/forums/p/65454/222227.aspx
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1240263
http://www.advancedqtp.com/forums/index.php/topic,1118.0.html
http://www.advancedqtp.com/forums/index.php/topic,2619.0.html
Hi Anshoo,
I have website to be tested but QTP doesn’t recognize the objects used in page like edit box, list box etc when i used object spy and drag it onto the edit box then it shows hierarchy Browser>Page not recognising the obejct even i enable complete web event recording.
You mean its not recognizing the Child Object only? What is the technology of this application? Any custom controls? Siebel?
i have 12 items in a drop down that are associated with an account and these items change with different accounts.is it possible to select 2 nd item , by enter 2 in global sheet ?
Sukumar,
Yes, its possible. When you enter 2 in the Global Sheet, your code will be:
Browser("").Page("").WebList("").Select "#" & DataTable("ColumnName", dtGlobalSheet) - 1how con we work with command prompt using qtp ie opening a file, exucuting a file ….etc
One way to do it is using WScript:
Set wscript = CreateObject ("WScript.shell") wscript.run "cmd /K c:\qtp.exe" Set wscript = NothingAlternatively, you can read the following article at AdvancedQTP: http://www.advancedqtp.com/knowledge-base/articles/qtp-tricks4/working-with-dos-command-line/.
hi anshu
what is memory leakage . could please explain memory lwakage with examples?
Hi Anshoo,
Hope you are doing well. I’m still plugging away at QTP 10. WPF and XAML are a bit of a challenge (some objects are hidden within others) as is maintaining a huge OR, but you were a great help in getting me jump started. Finally got the QTP Unplugged book and working through it as well. Enjoying reading your articles and website too.
Robert
Thank you Robert!!
Hi,
I Would like to Suggest you to go for the Web Based Application to automate with a best suited framework.As Web is the best side to learn with QTP.
I would like to ask you one thing, i would like to do certification in QTP. If you know any information and the process of approach kindly let me know.
Shekhar,
I know very little about Certification, but you can start by getting a Learner ID from HP and registering for your test at Prometric.com. I believe there is an ASE certification available for QTP 10.0 now and it costs $1500 in the US. I’m not too sure if there is an AIS certification available, but last I checked, it was coupled with QC..
Yes…..
Hi Anshoo
Thanks for the reply and be active on your blog. I know I can recognize object with .NET addin but we can’t buy it . I have told developer to make web form for testing purpose because this is the only alternative for me.
We are learning a lot from your blog so plz keep posting the articles.
Yeah, if the same report can be generated via a Web Form, things will certainly become easier. Otherwise, the only feasible option would be to get the add-in installed.
Anshoo
No there is no custom and third party controls the application and technology is .NET. There are only standard controls of .NET I am not understanding why QTP not recognizing the objects because when application is under development then i record some basic test on it and QTP that time recognizing the objects and developer are saying they only change some button to images.
IS it possible that my there any prob in my installed QTP
Amit, yes, but you did mention that there are DevX controls and you don’t have the required add-in. Do you think that can be the issue? Does QTP record well on Web/Windows applications?