| Other QTP Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| how to merge 2 object repositories in qtp 9.0.what is use
of merge and y merge is used? | | 1 |
| Without QTP (or any Testing tool) can we able to test the
GUI part of the Applications.
for Example generating the Scripts in Notepad and Executing
them Using VB.
Is it Possible to do so..
Correct me if iam wrong some where. | Microsoft | 8 |
| 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 |
| what are the qtp tester responsibilities? | | 2 |
| In QTP, As a first step wht we will do before going to
start a Automation....when it will be decided that we have
to go for a Automatio..and who will decide to go for
Automation. Any body can pls let me know..
Thanks in Advance..
| | 1 |
| how to retrive that the number of spaces are in a string ???? | Liquid-Hub | 2 |
| Hi,
Can any body please tell me how to create framework in qtp &
where i can get some material to learn about it.
regards,
rahulT | | 1 |
| what difference between client and server applications exatly?
| Honeywell | 1 |
| How exactly you start scripting in QTP? In the interview he
was not satisfied with my answer.Please post what is correct
answer. | | 2 |
| can we change the name of a check point?
when will you start writing testcases?
do you follow any methodology for writing test scripts?
qtp is key word driven testing or data driven testing?
| | 2 |
| Hi,The question is write a script for the following
scenario.
scenario:in a job portal i entered QTP 3yrs testing then
click search button.then it displays results like
Test lead bangalore (here is a checkbox).
Test lead hyderabad check box
so on...
question is if test lead position in bangalore then
checkbox shld be enabled automatically.. | Thatavarti-Technologies | 4 |
| Could someone explain me how to work on Out put values,
explain with some example on Flight Reservation. I want to
insert the out put value for the order No. Please explain
the steps with some example. | | 2 |
| How to create Userdefined Function.Please write the steps
ans also provide example where exatcly we use it. | HP | 1 |
| How to handle Dynamically changing Objects in QTP? | | 4 |
| Synchronization methods? | Ordain-Solutions | 5 |
| After running scripts how you report results ,there is any
specific report form | Novartis | 5 |
| Synchronozation types in QTP | Diebold | 11 |
| If the web applicatoin takes navigation time above 2 hours
to dispaly next Web page then how can we synchronize the
QTP with Appilication Under Test | TCS | 4 |
| How do u do batch testing in WR & is it possible to do in
QTP, if so explain? | | 2 |
| In one of the scripts the pwd in the DT was encripted. Can
any one tell me how to I decript or undo the same? | BirlaSoft | 3 |
| |
| For more QTP Interview Questions Click Here |