prasad rao


{ City } delhi
< Country > india
* Profession * sqa
User No # 3889
Total Questions Posted # 1
Total Answers Posted # 12

Total Answers Posted for My Questions # 3
Total Views for My Questions # 20320

Users Marked my Answers as Correct # 22
Users Marked my Answers as Wrong # 13
Questions / { prasad rao }
Questions Answers Category Views Company eMail

During test run,How will you copy/paste from/to clipboard?

3 QTP 20320




Answers / { prasad rao }

Question { Polaris, 3575 }

which method are using to obtain runtime property of an object


Answer

GetRoProperty("text/Value")

Is This Answer Correct ?    1 Yes 0 No

Question { Accenture, 7776 }

how to call a text file


Answer

Call a text file using

Datatable.Imoprt("Text file Path")

Is This Answer Correct ?    1 Yes 1 No


Question { 6950 }

How does QTP identifies the object in the application

Mainly objectives are three type's OF PROPERTIES namely


Answer

1.QTP identifies the objects using class name of the object
and logical name and physical properties of the object
2.Object Identification Machanisam
3.Ordinal Identifier
4.Smart Idetification

Is This Answer Correct ?    0 Yes 0 No

Question { 6950 }

How does QTP identifies the object in the application

Mainly objectives are three type's OF PROPERTIES namely


Answer

1.QTP identifies the objects using class name of the object
and logical name and physical properties of the object
2.Object Identification Machanisam(A.Mandatory
Properties b.Assistive Properties) 3.Ordinal Identifier
(A.Index B.Location 3.Time)
4.Smart Idetification(A.Base filter Properties B.Optional
Filter Properties)

Is This Answer Correct ?    3 Yes 0 No

Question { Liquid Hub, 22568 }

How to get data from excel sheet to the script? write the
script.


Answer

DataTable.Import("xlsheetname.xls")
For i=1 to DataTable.GetRowCount step 1
DataTable.SetCurrentRow(i)
........................................
.......................................
Stmts
......................................
...................................
DataTable.SetNextRow
Next

Is This Answer Correct ?    4 Yes 5 No

Question { GE, 8548 }

HoW to open QTP in Real time.after getting the qtp window
how to log in .pl answer real time people


Answer

1.Create a .Vbs file.
2.Double click on .vbs file

Easy way to open QTP using the script.

Dim qtApp
Dim intIndex
Set qtApp = CreateObject("QuickTest.Application")
qtApp.Launch ' Start QuickTest
Set qtApp=Nothing

Is This Answer Correct ?    3 Yes 0 No

Question { Syntel, 18448 }

hi in QTP 8.2 in the edit box has text like "raju want
married" . i want to check "want" is their in the text
or not ?


Answer

n=InputBox("Enter name")
var=Split(n," ",-1,1)
nam=var(1)
msgbox nam

If nam="want" Then
Services.LogMessage nam,OutputMsg
Else
Services.LogMessage"Failed",OutputMsg
End If

Is This Answer Correct ?    0 Yes 0 No

Question { Syntel, 18448 }

hi in QTP 8.2 in the edit box has text like "raju want
married" . i want to check "want" is their in the text
or not ?


Answer

It is also possible through Text Check Point.

Is This Answer Correct ?    0 Yes 0 No

Question { 8633 }

Hi,How to write regular expression for inbox(10) {here 10
is changing while playback}.tell me the pettern.


Answer

inbox(.*)

This is working fine.

Is This Answer Correct ?    1 Yes 2 No

Question { HP, 65465 }

what is the difference between invoke application and
system.util.run


Answer

Both are used in QTP.

In most situations, you should use a SystemUtil.Run
statement to run applications or to open files in their
default application. A SystemUtil.Run statement is
automatically added to your test when you run an
application from the Start menu or the Run dialog box while
recording a test.
Sy:SystemUtil.Run "C:\type.txt", "", "", ""

InvokeApplication statement is supported primarily for
backward compatibility.
Sy: InvokeApplication "E:\Program Files\Plus!
\Microsoft Internet\IEXPLORE.EXE"

Is This Answer Correct ?    5 Yes 5 No

Question { 3660 }

dar Sir I am Facing th eProblem in QTP thet ,when I start
thrcording inthe QTP for the ASP front end and C# the
Coding Language I fing that recording is Done well for the
Login screen but at the Time Running the script the QTP is
Unable to Identify the Objects On the Objec Onht eLigin
screen .Please answer the Question in Description and the
Propables reason I might be facing alsp the Popable
solution I have to Take thanks and ragards


Answer

May be the settings in your QTP changed.Change all Record
and Run Settigs to Default.(Tools-->Options-->web-->change
Record & Run Settings to Default).

Is This Answer Correct ?    2 Yes 0 No

Question { Kanbay, 13601 }

How can we count the no of rows are available in a data
table ?


Answer

DataTable.GetRowCount()function usful for findout rows
(Contain Values)in the datatable.

Is This Answer Correct ?    2 Yes 0 No