| Other QTP Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What is object & properties (in QTP) | Ordain-Solutions | 5 |
| what is framework? which frame work u follow for writting
script? | IBM | 5 |
| Hi All
I'm new in QTP. I'm trying to make test cases for login on
Flight.exe .
I have parametrise the agentname and password field.
So wen wromg agent name or password is entered it show a
dialog box with proper message(Like: "Wrong Password"
or :Please enter Password" etc) and OK button.
I have created If else block. Now my problem is i want to
make checkpoint on error message Dialog box. But each time
i create a checkpoint it shows same text message.
So how i can check that message is there or not. | | 2 |
| explain all the check point in QTP? | BirlaSoft | 1 |
| what is smart identification in qtp? pls any give details?
thanks in advance | IBM | 3 |
| what r the drawbacks and limitations of QTP? | NIIT | 1 |
| How to check the value for variables during run time.
Pls anybody can give the answer.. Thanks in advance... | Navis | 3 |
| what is qtp automation frame work,what is the use of that
frame work? | iGate | 34 |
| write vbscript on veb applications in qtp with exapmles? | | 1 |
| can any one tell me what is process metrics and what is
product metrics if possible give me example.
Thank You | | 2 |
| what is the difference between Reusable action and external
action? | HCL | 1 |
| what is exact difference between smoke and sanity testing? | Satyam | 6 |
| 1. How can we use same object repository and Testscript
which is in English flavor to check the application in
different languages thru QTP?(Chinese,Dutch,French)
- I generated script in english and want to use the same
script with different languages?
- for windows i used regular expressions
- I need for edit box,button and combobox,
(English,French,Dutch,Chinese) These are the properties of
a button in different languages
Properties English Dutuch Chinese French
x 400 758 631 601
y 673 603 592 676
windowstyle 1342242816 1342242816 1342242816 1.34E+09
windowid 2 2 2 2
windowextended style 4 4 4 4
width 120 120 120 120
visible TRUE TRUE TRUE TRUE
righttoleft reading FALSE FALSE FALSE FALSE
righttoleftlayout FALSE FALSE FALSE FALSE
rightaligned FALSE FALSE FALSE FALSE
regexpwndtitle cancel Loschen Chinese language Annuler
regexpwndclass button button button button
objectclass button button button button
hwnd 132872 657228 656932 656782
height 33 33 33 33
focused FALSE FALSE FALSE FALSE
enabled TRUE TRUE TRUE TRUE
attached text
abs_y 669 599 627 597
abs_x 396 754 588 672
text cancel Loschen Chinese language Annuler
nativeclass button Button
ordinal Identifier
type,Value none none none none
smartidentification FALSE FALSE FALSE FALSE
comment
| TCS | 1 |
| How to give Table check points? | ssinformatics | 4 |
| Hi. GetRoProperty and OUTPUT Value Both are same purpose or
not? plz explain in deatil with example? | | 3 |
| 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 |
| Today only i joined in this site. Can u please tell me
definition of parameterization. and how i can do the
parameterization? | | 4 |
| I am not able to record yahoomail browser.its giving error
like "The browser Application can't be launched .Posssibly
the URL is wrong"
So anyone can tell me what setting i have to do in qtp??
| | 1 |
| How to access values from Unix OS and how to write.. | | 1 |
| How to retrieve the property of an object in QTP? | | 4 |
| |
| For more QTP Interview Questions Click Here |