What a great day to find yet another shameful bug in QTP 10. And this time a very quick and dirty one.
Let's get to it. Say you have a WebTable checkpoint, and you need to edit one or more table fields content. Well, that's a very common task, right? Applications change and you have to maintain your script with up-to-date system information. If you're like me, this screen is printed in your retina, as we have to visit on a daily-basis.
Turns out that I found a very stupid bug that makes QTP crashes here.
Under "Configure value" area, select "Constant" option and focus the edit field to the right. Now, press Tab key twice and watch QTP stop responding.
Bye, bye QTP. See you again after the Control + Alt + Del.
Workaround: avoid the steps described above.
Yeah, you've read it right. If you ever used HP QuickTest Professional (or simply QTP) software, you know what to expect from this blog. A full list of all sorts of bugs we ever found in QTP (aka probably the worst commercial software ever seen).
Mostrando postagens com marcador properties. Mostrar todas as postagens
Mostrando postagens com marcador properties. Mostrar todas as postagens
sexta-feira, 1 de fevereiro de 2013
sexta-feira, 18 de janeiro de 2013
[BUG] Object Properties doesn't work in the code when an object has RegExp
Another very handy feature in QTP is that you can right over your code, where you have a Browser(...).Page(...).Link(...) object and choose "Object properties" option, which shows you a small screen to view its properties and a button to take directly into the Objects Repository, with your object selected.
Well, in QTP nothing can be too good.
Say in our example above, the .Link(...) has a regular expression such as .Link("text:=Search"). In this case, the option "Object Properties" in right click menu will be disabled for objects Browser() and Page() objects. Again, I have no idea why.
And even worse, if your Browser(...).Page(...).Link(...) is part of an IF statement (or any other statement), then this option won't be available at all. No properties will be available for any object.
Assinar:
Postagens (Atom)