Showing posts from 2010Show all
Dynamically declare an array in VBScript
Ratings:
Platform:
Windows

How to define an array dynamically in VbScript ? Dim i,j i= Inputbox("Enter array's dimension First one") j= Inputbox("Enter array's dimension Second one") i=Cint(i) j=Cint(j) These lines jus…

Run Action Statement in QTP
Ratings:
Platform:
Windows

The RunAction statement can run only actions that are already associated with your test as part of the test flow. Therefore, in order to enter a RunAction statement in the Expert View for an external action, …

Setting Properties for an External Action
Ratings:
Platform:
Windows

Setting Properties for an External Action : When you insert a call to an external action, you can choose where you want QTP to store the Data Table data. You can specify this in the External Action tab of the Action Prop…

Setting Action Properties In QTP
Ratings:
Platform:
Windows

Setting General Action Properties:  You can use the General tab of the Action Properties dialog box to modify the name of an action, add or edit an action's description, or change the reusability status of the action…

Action Properties In QTP
Ratings:
Platform:
Windows

What are Action properties in QTP? The Action Properties dialog box enables you to define options for the stored action . These settings apply each time the action is called. You can modify an action name, add or modify an ac…

Mercury.Devicereplay Method in QTP
Ratings:
Platform:
Windows

Mercury.DeviceReplay  And Presskey method in QTP : Set obj = CreateObject( "Mercury.DeviceReplay" ) Window( "Notepad" ).Activate obj.PressKey 63  The PressKey method uses the ASCII value fo…

Count Pages In Pdf File
Ratings:
Platform:
Windows

How :  To count number of pages in a pdf file using VbScript. Function PageCountInPDFFile (strFile)     Dim pdfFile, objAcroapp, objPdf     'Create Automation Objects using VbScript for PDF Operations     Set objAc…

Multiple UiTest Files in VSTS CodedUi Testing
Ratings:
Platform:
Windows

How to create Multiple UiTset files in a  CodedUi Test Project?  The logically inter related blocks of modules within a System Under Test can be automated in a modularized  block of code, in the following outlined manner. for…

Automating Using QTP Day5 Some VbScripting Techniques
Ratings:
Platform:
Windows

Synchronization of the application load with the Script execution : Wait and WaitRoproperty. In scenarios wherein the properties of the object changes after some time we use waitproperty. Object Recognition Mechanism in QTP …

Coded Ui Automation testing
Ratings:
Platform:
Windows

Visual Studio 2010 Feature Packs Feature Packs enable you to extend Visual Studio 2010 with capabilities that enhance and complement the existing tools. Feature Pack Downloads Visual Studio 2010 Feature Pack 2 (MSDN Subscri…

User Interface changes handling in Coded Ui Testing
Ratings:
Platform:
Windows

What to do if your user interface changes ? User interfaces frequently change during development. Here are some ways to reduce the effect of these changes: Find the recorded method which references this contro…

Load More That is All
Close Menu