| Other QTP Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Write a Script With descriptive programming(Without
Repository) to update an
Update an order in Flight App and verify whether it is done
successfully.(Use ChildObjects method)
| | 1 |
| How can we change(increase or decrease)the size of a array
variable with out loosing the previous values | DST-Global-Solutions | 1 |
| Suppose Object name was changed in the application in the
second build.I have just modified the name in the Object
repository as changes in the Application.
Is it possible to accure changes in the script accordingly?
If so
Suppose I am calling the script through function,
Will the changes affect in the script(which is in the
function)automatically?
If not affected, tell me the solution,How to handle this.
How should I change the object property name while using
functions
| Livetek | 4 |
| hi friends i have 4 yrs exp in testing and 2 yrsexp in
QTP.currently aim working in mnc in north as a permanent
employer .iam looking for job in south is there any
openings plz let me know my mail id is bjr@aol.in its very
urjent | | 5 |
| actuall wat my doubt is:while doin regression testin we
enter all +ve & -ve data....system has to accept +ve and
reject -ve data.in such case we get a popup window sayin
that wrong entry...now i wan to overcome this popup
window..how do i go further....plz explain.i tried thru
rec.scenario but of no use. | | 1 |
| How do we run a test from the 3rd row of the datatable in
QTP? Leaving the first two rows we need to test AUT from
3rd row to n'th row. | Virtusa | 3 |
| in howmany ways you perfrom batchtesting | Lehman-Brothers | 5 |
|
How to parameterize a text field and the same field as
combo field on next page. Means inserting values in Text
field will appear in the combo field. for example country
name, state name. Kindly reply it is urgent !!! | Adobe | 1 |
| VM1 = "Invalid username or password. Please
try again. "
VM2 = "Email id is required.Password is
required. "
VM3 = "Email id is an invalid e-mail
address.Password is required. "
VM4 = "Password is required. "
VM5 = "Email id is required. "
VM6 = "Email id is an invalid e-mail
address. "
'Rowcount of the Local sheet
Rowcount = DataTable.GetSheet("Invalid login
transactions").GetRowCount
'Valid emailid and Password
Emailid = "test@iteamic.com"
Password = "Password0"
'For i = 1 to Rowcount
'Parameterised Email_id
Browser("Browser").Page
("Page").WebEdit("emailAddress").Set DataTable("Email_id",
dtLocalSheet)
EID = Browser("Browser").Page
("Page").WebEdit("emailAddress").GetRoProperty("value")
'Parameterised Password
Browser("Browser").Page
("Page").WebEdit("password").Set DataTable("Password",
dtLocalSheet)
PWD = Browser("Browser").Page
("Page").WebEdit("password").GetROProperty("Value")
If EID = Emailid And PWD = Password Then
Reporter.ReportEvent micPass, "EID & PWD
check", "Email id and Password is correct, One iteration of
Invalid login attempts is not being executed"
Else Browser("Browser").Page("Page").WebButton
("Sign-In").Click
'Output value exported to the local
sheet
Browser("Browser").Page
("Page_2").Output CheckPoint("Home page_Sign in")
'Storing the output value in a
variable(OUTPUT
OUTPUT = Datatable.GetSheet
("Invalid login transactions").Getparameter
("Validation_message_signin").value
'comparing the Variable Output and
the Validation message for a given input
If OUTPUT = VM1 Then
Reporter.ReportEvent
micPass, "VM1", "Invalid username or password. Please try
again. "
else if OUTPUT = VM2 Then
Reporter.ReportEvent
micPass, "VM2", "Email id is required.Password is
required. "
else if OUTPUT = VM3 Then
Reporter.ReportEvent
micPass, "VM3", "Email id is an invalid e-mail
address.Password is required. "
else if OUTPUT = VM4 Then
Reporter.ReportEvent
micPass, "VM4", "Password is required. "
else if OUTPUT = VM5 Then
Reporter.ReportEvent
micPass, "VM5", "Email id is required. "
else if OUTPUT = VM6 Then
Reporter.ReportEvent
micPass, "VM6", "Email id is an invalid e-mail address. "
else Reporter.ReportEvent micFail, "EID &
PWD check_FAIL", "Validation message checkpoint failed. The
captured v msg is not required"
End if
End if
I am getting syntax error saying "Expected 'End If'" at the
last line, Why is this? Kindly explain...
| | 1 |
| how you will do cookie testing using QTP? | | 2 |
| How Qtp will identifies object during run time | Yahoo | 4 |
| Can we directly automate testscripts accrdoing to requirements | Novartis | 2 |
| can u store QTp frame work folders in VSS? If Not where u
store those? | | 1 |
| 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 | | 1 |
| Can any one tell the different properties and values of
differnt objects like
Browser,Page,link,webedit,webcombobox,webradio
botton,webcheckbox and web button.Because I am facing a lot
of problems in interviews with Descriptive Programing.I
never worked on web Application...Pls help any one as soon
as possible.... | | 2 |
| What is obsolute path and relative path in QTP..? How to
access them and what are the differences between them...?? | Virtusa | 1 |
| is it possible to check the text displayed in the tool tip
using QTP? if so, how? | | 3 |
| What is the another extension name of library file. If that
is exist than what's the difference between them. | Synechron | 2 |
| How QTP recognizes Objects in AUT? | Blue-Star | 5 |
| hai, i am doing QTP by own. So, i am confident in
checkpts,synchronization, data driven test, recovery
scenarioe manager etc. but actually i don't know how all
these we wil implement while we r writting code manually.
when we r doing practice, while recording code is
automatically generated but in real time i heard that we
have to write the script.But i don't know how it is?
How to write descriptive prog.? plz. tel me what r the
basic things we have to know? explain how to write
descriptive prog.? explain me with an example pls....... | Vertex | 2 |
| |
| For more QTP Interview Questions Click Here |