We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How do I know that Essential Test Studio (QTP) works as expected?

 

When Syncfusion control is recorded, it should be able to record with function provided in the custom server. This could go wrong if the mapping is not right.If the mapping in the dllName tag of the SwfConfig.xml in dat folder does not point to the required dll then the recording would be seen as same as in the sample script below.

VB

 

SwfWindow("GridDataBoundGrid CellTypes").Move 448,525

SwfWindow("GridDataBoundGrid CellTypes").SwfObject("gridDataBoundGrid2").Click 237,82

SwfWindow("GridDataBoundGrid CellTypes").SwfObject("gridDataBoundGrid2").Drag 223,73

In case the mapping points to the wrong version then no scripts would be generated. The right version would be the same version as the AUT developed. For an example if the AUT is developed in 4.201.0.37 then the custom server dlls should also be developed in 4.201.0.37. This is to say TestStudio of 4.201.0.37 is required. With proper versions and proper mapping, the record would be as in the script below.

VB

 

SwfWindow("GridDataBoundGrid CellTypes").SwfObject("gridDataBoundGrid2").SetCurrentCell 1,2

SwfWindow("GridDataBoundGrid CellTypes").SwfObject("gridDataBoundGrid2").SetCellData 1,2,"435.00"

SwfWindow("GridDataBoundGrid CellTypes").SwfObject("gridDataBoundGrid2").SetCurrentCell 2,1

SwfWindow("GridDataBoundGrid CellTypes").SwfObject("gridDataBoundGrid2").SetCellCheckBox 2,1,"ON"

SwfWindow("GridDataBoundGrid CellTypes").SwfObject("gridDataBoundGrid2").SetCurrentCell 3,1

SwfWindow("GridDataBoundGrid CellTypes").SwfObject("gridDataBoundGrid2").SetCellCheckBox 3,1,"OFF"

SetCurrentCell, SetCellData etc in case of the grids. This can be checked in the Recorded functions of Essential TestStudio.chm -> Essential TestStudio -> Supported Controls, the Recorded functions has a list of functions for all supported controls.

Article ID: Published Date: Last Revised Date: Platform: Control:
1838 04/30/2011 07/10/2014 Windows Forms QTP Add-On
Tags:
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.