UFT 11.5/QTP 11 Flex Automation (Win 7 and IE 8 (1959 Views)
Reply
Occasional Visitor
rupeshram
Posts: 1
Registered: ‎08-27-2013
Message 1 of 3 (1,959 Views)

UFT 11.5/QTP 11 Flex Automation (Win 7 and IE 8

I have migrated to Win 7 with IE 8 , few days back.The flex related scripts which worked fine with UFT 11.5 and Win XP is no longer working.

 

Reason: Flex objects are not getting identified.They are now getting identified as Browser("").Page("").WebElement(""). i.e the whole page as a single web element instead of FlexApplication.FlexObjects...

 

Tried upgrading IE to 9 and also regetering the FlexPackage.dll again, bu that didnt help.

 

Please give suggestions to solve this issue.I also have admin rights to the machine.

Honored Contributor
john scarpino
Posts: 1,344
Registered: ‎02-15-2008
Message 2 of 3 (1,935 Views)

Re: UFT 11.5/QTP 11 Flex Automation (Win 7 and IE 8

HP Expert
vzamoraz
Posts: 502
Registered: ‎04-12-2012
Message 3 of 3 (1,919 Views)

Re: UFT 11.5/QTP 11 Flex Automation (Win 7 and IE 8

Hi,

 

     Did you disable User Account Control before install UFT on that win7 machines?

     If no then please disable it and then repair UFT.

 

     How disable UAC

     

     This is the method that should be used by most users wanting to disable UAC.

Go to User Account Control Settings.

Type in UAC, or go to the System and Security applet.

Click on the "Change User Account Control Settings" link.

 

 

     BTW, you can also type in this command from the Run menu:

C:\Windows\System32\UserAccountControlSettings.exe

To turn off UAC, move the slider to the Never notify position, and then click OK.  If you're prompted for an administrator password or confirmation, type the password or provide confirmation.

 

     To turn UAC back on, move the slider to choose when you want to be notified, and then click OK.  If you're prompted for an administrator password or confirmation, type the password or provide confirmation.

You will need to restart your computer for UAC to be turned off.

 

     How repair UFT

     

-. Close UFT
-. Open Windows Registry Editor (Go to the Start menu, select “Run”, type “regedit” and click “Ok”)
-. Navigate to HKEY_CURRENT_USER\Software\Mercury Interactive
-. Right click on “QuickTest Professional” folder, select “Export” and save the file prompted
-. Right click on “QuickTest Professional” folder and select “Delete”
-. Navigate to HKEY_LOCAL_MACHINE\Software\Mercury Interactive
-. Right click on “QuickTest Professional” folder, select “Export” and save the file prompted
-. Right click on “QuickTest Professional” folder and select “Delete”
-. Browse to profile’s application data (Go to the Start menu, select “Run”, type “%appdata%\HP” and click “Ok”) and rename folder called “QuickTest Professional” to “QuickTest Professional.BAK”
-. Go to Control Panel -> Add/Remove Programs -> HP Unified Functional testing-> Repair.
If you cannot see it
Launch UFT's Setup.exe like if you want to install it again.
Select the option install UFT
On the installation wizard you will see the option Repair.
Check it and continue with the wizard
Finish the repair process and launch UFT again

 

     Check if UFT is able to recognize flex

 

 

Regards

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.