segunda-feira, 3 de setembro de 2012

[BUG] QTP 10 to 11 migration issues

Yeah folks... moving from QTP 10..0 to 11.0 is not as smooth and seamless as it's supposed to (well, at least HP didn't alarmed it would be).

We have to "test the testing tool" (which answers back my first post - yes, the answer is "us, the users") and make sure that, at least, the basic functionalities we had in the past are still in place (yes, regression test applies for QTP too).

And we found a few features to be out of place. Obviously, unfortunately. After all, it's QTP for someone's sake.

The migration issue example for this post refers to the Datatable, which does not allows you to edit the column titles from QTP 10.0 tests. We opened our tests up, check them out from Quality Center, double clicked the column titles and... nothing happens! Frustrating.

- Why's that? - you ask.
- Who knows! It's QTP! - I answer back.

Workaround: very quick way to fix this is by exporting and re-importing the excel shit sheet into your test.

  1. Right click on the Datatable, choose File --> Export... and then Yes button.
  2. Save wherever you want in your PC, edit it if required (but don't mess it up!), save, close.
  3. Now, go back to QTP and right click the Datatable, choose File --> Import From File and choose the file you saved previously.
  4. Click OK on whatever message QTP shows you.
Done. The Datatable column names are editable again. Duh.

Nenhum comentário:

Postar um comentário