| Other QTP Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| hai,i want to select an option from the right click pop up
menu.but the qtp is not recognizing the right click pop up
menu as a seperate object.can any one tell me the solution. | | 3 |
| where the check points are stored ? | | 2 |
| Hoe to generate all numbers in between to numbers suppose
all numbers in between 1 to 100 using vbscript give me code
| | 1 |
| When we use Object Spy?
can we write QTP script before built is came in testing? | Impulse | 2 |
| hello...any one tell me , where can i get company email
id.. actually i am searching on testing... in my CV i put
3+ exp.. but all companies are asked company email id..
please provide solution for that...
thanx in advance... | HDFC | 6 |
| How do u write regular expression for a window name which
is changing for each build ? i.e. in first build the window
name is : "computer graphics are very ...." . in second
build the window name is : "computer graphics can be
created" . - Appreciate proper replies | Semantic-Space | 4 |
| Hi, i am rani ,i am putting 1+years of fake exp ,so pls
anyone explain how i get project (in real time) ? how it is
tested
ex: in banking ,test the number of textboxes in one window
| | 3 |
| wht is Driver in Integration testing. Anubody can answers it
| CTS | 6 |
| What is keyword driven Testing Framework. Anybody can
explain it in details...
Pls anybody can give the answer.. Thanks in advance... | Navis | 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 |
| Hi Frriends...
I have one Query please give the apropriate ans.
when we r working with web based application , the user
loggedin page name is changed respect to the username (
Take a exp. Yahoomail.com) .When we use Datadriven test to
this scenario ,each time the loggedin page name is
changed ...then the script is fail.. at that time wat can
do...
please give the apropriate ans.
Thanx in advance.. | | 3 |
| What are the versions of qtp,What are the differences b/n them? | TCS | 1 |
| Tell about descriptive programing in qtp8.2? | GE | 4 |
| What is source control? | | 1 |
| what is the diff between Procedure and function | iFlex | 3 |
| HOW DO U CALL A ACTION IN QTP? | BirlaSoft | 2 |
| Anybody explain me, the concept of checkpoint declaration
in the QTP mainly for the Objects, Pages, Text and Tables ? | | 1 |
| can we run the scripts of qtp 8.2 in the qtp7.0? | | 1 |
| How to export QTP results to an .xls file? | IBM | 7 |
| for example one window is there, the window contains how
many edit box's i want script? i know the script but that is
not exact answer....
The script is like this ..........
set a=description.creation()
a("Native class")="WinEdit"
b=window("Flight Reservation").childobject(a).count
msgbox b
| | 2 |
| |
| For more QTP Interview Questions Click Here |