Головна > QTP > QTP click button and Flash Player 10 problem

QTP click button and Flash Player 10 problem

I am very impressed by QTP Flex automation problems that I have discovered. The last problem I found is that Flex did not react when I call Click method for flex button. This button should activate dialog window for choosing images for uploading.
There are two ways for activating dialog window:

  1. Clicking with left mouse button
  2. Set focus on button and click SPACE button on keyboard

At first I have tried in QTP method Click: .FlexButton("Upload…").Click. But after play back there were no reaction and window didn\’t appear. However button have changed its color as it was clicked.

Than I have tried to emulate typing SPACE on this button: .FlexButton("Upload…").Type "SPACE" or .FlexButton("Upload…").Type " " (this also work as typing space button). Still no reaction.

In general I have spend 2-3 hours trying to click some how on this button but no effect.

Than I wrote a letter to programmers that I have problem with this button, but they answer that they couldn\’t reproduce such behavior and playback script well. So I have spent more that 4 hours for discovering.

I installed QTP and Flex builder on my laptop and there all worked well. So I decided to re-install IE on my PC. No results. Than I have compared flash player and they had different versions: 9.0 – on laptop, and 10 – on PC.

So I begin flash player reinstall procedure (it\’s a new story) but after installing Flash Player 9 my QTP script starts work well.
If you have problems with QTP and FLEX try older version of Flex player.

Different versions of Flesh you could download here: www.adobe.com/support/flashplayer/downloads.html

 

Categories: QTP Tags:
  1. Січень 19th, 2009 | 20:39 | #1

    QA инженерам на заметку :)
    кстати это не единственный случай, когда у людей что-то не работало из-за новой версии flash.

  2. Warman
    Липень 12th, 2009 | 09:48 | #2

    Cпасибо большое это мне сразу помогло ,жаль что до этого не знал об этом сайте

  1. Немає ще трекбеків.