hi
Can anyone tell me abt how to do the virtual objects and
how to pass input and output parameters in qtp? Plz send
the answer in detail.
Thanks
Priya
Hi everyone.This is one of my interview questions.Could you
please send me the answer for this?My ID:spam4rekha@gmail.com
Q : what is BVA and ECP ?
Thank You
rekha
Hi
I have a doubt in qtp. Can you please clarify my doubt.
If we are importing the data from excel sheet in qtp the
the script is running the number of row times.
I mean if there are 4 rows in excel sheet the script is
running 4 times. cant we avoid this.
suppose i have tis script:
datatable.Import "C:\Documents and Settings\sailaja\My
Documents\login1.xls"
n = datatable.GetRowCount
For i =1 to n
systemutil.Run "C:\Program Files\Mercury
Interactive\QuickTest
Professional\samples\flight\app\flight4a.exe"
datatable.SetCurrentRow i
Dialog("Login").WinEdit("Agent Name:").Set DataTable
("Username", dtGlobalSheet)
Dialog("Login").WinEdit("Password:").Set DataTable
("Password", dtGlobalSheet)
Dialog("Login").WinButton("OK").Click
Window("Flight Reservation").ActiveX
("MaskEdBox").Type "020209"
Window("Flight Reservation").WinComboBox("Fly
From:").Select "Frankfurt"
Window("Flight Reservation").WinComboBox("Fly
To:").Select "Los Angeles"
Window("Flight Reservation").WinButton("FLIGHT").Click
Window("Flight Reservation").Dialog("Flights
Table").WinButton("OK").Click
Window("Flight Reservation").WinEdit("Name:").Set "Sailaja"
Window("Flight Reservation").WinButton("Insert Order").Click
Window("Flight Reservation").WinMenu
("Menu").Select "File;New Order"
window("Flight Reservation").Close
next
I created a excel sheet with 3 rows and 2 columns.
(username and password). The script is running 9 times. I
made the option run one itaration only . eventhough it is
running 9 times .can u plaese clarify my doubt.
Thankyou
Sailaja.
How do I generate Test Results window using descriptive
method ( run time ) after my test execution process?
Please have a look of my below code.
=========================================================
Dim qtApp
Dim qtTest
Dim qtResultsOpt
Set qtApp = CreateObject("QuickTest.Application")
qtApp.Launch
qtApp.Visible = True
qtApp.Options.Run.CaptureForTestResults = "Always"
qtApp.Options.Run.RunMode = "Fast"
qtApp.Options.Run.ViewResults = True
qtApp.Open "C:\Automation\Example", True
Set qtTest = qtApp.Test
qtTest.Settings.Run.OnError = "NextStep"
Set qtResultsOpt = CreateObject
("QuickTest.RunResultsOptions")
qtResultsOpt.ResultsLocation = "C:\Automation\Example\Res1"
qtTest.Run qtResultsOpt
MsgBox qtTest.LastRunResults.Status
qtTest.Close
Set qtResultsOpt = Nothing
Set qtTest = Nothing
Set qtApp = Nothing
==========================================================
This code is working fine, but Test Result window is not
displaying after execution.
Anybody can please help me regading the same.
Thanks
Akshaya Madali
Capgemini India Pvt Ltd
9823213538
Have you ever completely tested any part of a product? How?
20
Dear all i am new to testing my company using vb.net and we
are developing web based application. How i can test those
application with winrunner if any one have some good
tutorial or link kindly provide thanks u.
21
How iteration is related to Test Results in QTP?
7
What is Windows Test Technologies? Where i will get all
information of it.
23
what is error and fault in terms of software quality?
wht type of User defined functions or Java Releated
functions Do we write in VB scripting
44
How to load the object repository at run time?
1
what is key word driven frame work ? why it is called like
that ? what is the diference between keyword driven and
data driven frame work ?
21
Hi all
when you run your scripts, all the corresponding bugs can
be loged in to Quality Center (or any bug tracking tool),
when you have a connection between both the tools.
obviously one is being a BUG TRACKING and TEST MANAGEMENT
TOOL (QC) and the next is a TESTING TOOL (QTP).
my question is that....being both are different tools how
can you establish a connection. As you connect your Monitor
with CPU by some cables.
ns_prasad21@yahoo.co.in