
Loading ...
Working with BPT is not always same as working with normal QTP script. On my quest to find the current test and component iteration for a Business Process Test I found that below two Environment variables always return 1
Environment("TestIteration")
Environment("ActionIteration")
Inquiring with HP i found out that currently this is not possible with BPT. I was disappointed [...]
Register or Login to read the full article...Have questions related to this article? Want to request a new article? Use our forums to post your questions
Viewed 892 times
Tags used -
ActionIteration, BPT, Business Components, Business Process Testing, Component, Current Component, Current Iteration, CurrentRun, iteration, Iterations, Scripted Component, StepFactory, TestIteration

Loading ...
Capturing screenshots to QC in test result can quickly eat up all the space on the QC Server. This makes it sensible to capture images only in case a Test has failed. This can allow easy debugging of Test Cases to see what error had occurred when the test failed. Adding this functionality to your [...]
Register or Login to read the full article...Have questions related to this article? Want to request a new article? Use our forums to post your questions
Viewed 665 times
Tags used -
Add, Attach, BPT, Business Components, Business Process Testing, capture, Component, CurrentRun, desktop, Error, failure, file, images, QC, Results, run, screencapture, Screenshot, Terminate, Test, test lab, test result

Loading ...
Recently while working with BPT Automation I was trying to implement flexible functions in my library which can be used in both the normal as well as BPT code. Consider the below Login function
Function App_Login(UserName, Password)
Browser("X").Page("X").WebEdit("UserName").Set UserName
Browser("X").Page("X").WebEdit("Password").Set Password
Browser("X").Page("X").WebButton("Login").Click
End Function
Now since BPT supports component parameters I can do away with passing any of the parameters to [...]
Register or Login to read the full article...Have questions related to this article? Want to request a new article? Use our forums to post your questions
Viewed 707 times
Tags used -
Application Area, blank value, BPT, Component, Does not work, function, Library, not loaded, parameters, Scripted Component, value is blank

Loading ...
This is my first ever article on BPT and to be frank I am not a very great fan of BPT framework. But that is what i am currently working on. It actually feels like someone handing a 2mm pistol to a Elite force commando and asking them to fight with the same. But as [...]
Register or Login to read the full article...Have questions related to this article? Want to request a new article? Use our forums to post your questions
Viewed 768 times
Tags used -
Actual, BPT, Business Components, Business Process Testing, compare, Evaluate, Expected, parameter, Value