• Home  / 
  • QC/ALM
  •  /  BPT ALM 11 Change – BPTWrapperTest and DataTable issues

BPT ALM 11 Change – BPTWrapperTest and DataTable issues

Why the change?

Honestly performance for BPT test in QTP/QC 10 stinks! Because of this HP changed the way they implemented BPT in ALM/QC11. In QC 10 every single component that is in a BPT test has to be downloaded separately and run. If you have a script that contains many components the performance of the test becomes incredible slow.

What is the BPTWrapperTest

In ALM/QC 11 there is a new feature named “BPTWrapperTest” that takes a BPT test, downloads all its components, and generates a single QTP “BPT Wrapper” test to run. This change helps avoid the BPT performance issue seen in QC10. Due to this change some DataTable functionality may break when running BPT in ALM11.

Issue:

Two sheets are created for each component – a Global and a Local that is the same name as the component. So when the BPTWrapperTest runs the name of the component for the data table is changed from something like YouComponentName to YourComponent [COMPONENT_SCRIPT]

 To Resolve:

  • Fix the statement Environment(“TestName”) to Environment(“ActionName”)
  • For DataTable issues fix the statement DataTable.Value(“ColA”) to either
    • DataTable.Value(“ColA”, Enviroment(“ActionName”))
    • DataTable.LocalSheet.GetParameter(“ColA”)
    • DataTable.LocalSheet.GetParameter(“ColA”)ValueByRow(x)

 This sucks is there a way to turn off the new BPT Wrapper feature?

Yes – to turn off the new BPT Wrapper option change the following registry key:

On the machine where you are running your tests:

  • Click on Start run and type regedit
  • Go to HKEY_LOCAL_MACHINE\SOFTWARE\Mercury Interactive\TestDirector\BPT
  • Change the following registry key value to:
  • “UseBPTWrapperTest”=”N”
  • If the registry value is not present add a new String Value and name it: UseBPTWrapperTest

  • Set the value to: N

 

* FYI some of the Info in this article was taken from HP Document ID KM1108518

Succeeding with Automation Awesomeness. I’ll show you how!

Test automation, like all development efforts, is difficult. Most projects don't succeed. You can do better! Sign up and receive exclusive content like my free 10 Proven Actionable Steps for Automation Awesomeness from some of the biggest testing leaders in the industry. Let me help YOU succeed with Test Automation! Sign up now:

29 comments
Click here to add a comment

Optin Architect