| Other QTP Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| CAN SOME ONE TELL ME ABOUT QTP FRAMEWORK? I AM SUPPOSED TO
GIVE THE QTP FRAMEWORK THIS WEEK SO PLEASE HELP | | 2 |
| what is throw object ? | | 1 |
| when i perametarization of the test through
outputcheckpoint,i have seen run time error i.e
outputcheckpoint mismatch .Plz tell anybody to me(qtp).How
to clear that? | | 1 |
| what is active screen,keyboard view? | BirlaSoft | 2 |
| I have a Webedit object. some text is entered in that object
I want to know the font sixe of that text.How could I do
this using QTP? This is a requirement for me. I am happy if
any one help on this | GE | 3 |
| How to use QTP for Regration testing, plz tell as with
short Example of login window? plz tell as.... | | 2 |
| How can we close all webbrowsers which are opened in out
desctop? | | 4 |
| What is the use of Accessibility check point? | | 2 |
| Can anyone tell me what is the equivalant method to be used
in QTP for "web_obj_get_text" used in winrunner. My
winrunner code is below.
set_window("Confirm Add Subscriber");
rc = web_obj_get_text("Add
subscriber:","#8","#1",orderID,"The order number
is","\.",1);
basically I need to retrieved the "orderID " from a string
present in 8th row & 1st col of table "Add subscriber"
| | 1 |
| in how many ways we can write the user defined functions one
way i know that i.e storing it in .vbs another way i does
not know my friend said that .qtf or something but start
with q letter can any buddy knows about this | DigiTech | 3 |
| WHICH PROCESS U FOLLOW IN COMPANY | IGT | 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 |
| If you use low level recording,what objects will be
recorded in Object Repository and what properties? | CTS | 3 |
| what is database check point, how will you parameterize the
database from seperate data table? | JPMorgan-Chase | 2 |
| How can we write script for a .net application in QTP?
Can we use VB Script for .net application. | | 1 |
| what is the use of VIRTUAL OBJECTS? explain ? | TCS | 10 |
| Can we create test script with out Step Generator? | | 4 |
| what is key word driven frame work how to use keyword
driven frame in QTP in a project | AppLabs | 1 |
| how to capture data from images in QTP and produce them in
excel sheet? | | 2 |
| How can i check all the button that are enabled in a
widnows based application ? What script should i write for
this ? | | 1 |
| |
| For more QTP Interview Questions Click Here |