| Other QTP Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| How to call the userdefined functions to script? If i am
stored 'add()' function in Library functions folder. i want
to cal that function in my script. | | 4 |
| What is a runtime datatable ? | Ordain-Solutions | 2 |
| what is the Command used to start the QTp from Run. | | 6 |
| explian qtp frame work and what is the use of it? what is
the neceecity of this? explian detail? | | 2 |
| While testing .net applications with QTP 9.1 in normal
recording mode, QTP records my unintentional mouse clicks
and window dragging which I don't want. But I can't stop
QTP recording those mouse clicks and window dragging. Can
somebody let me know how I can get rid of it, please !
Thanks. | | 1 |
| How to call .vbs funtion , Library files in QTP? plz
Explain indetail(chandana) | Wipro | 4 |
| Hi Guys, In one of my interviews, I was asked to Write a
paragaraph explaining how much scripting I did in QTP? I
don't know where to start and what to write. So I need your
help in writing that. | | 1 |
| What is diff betwee datatable.importsheet "path" and
datatable.import | | 2 |
| Inserting a Call to Action is not Importing all columns in
Datatable of globalsheet. Why? | Accenture | 3 |
| where is the bitmap checkpoint be saved | | 1 |
|
What is the difference between keyword driven frameworkd
and Modularisation framework?(Chandana) | Wipro | 5 |
| hai friends
i'm learning qtp now where we r using only record &playback
frame work.and people r saying in realtime they won't use
this frame work. if so what frame work actually using in
realtime .and could you give explanation comaparing the
record &play back fm and what ever FWyou r using in your
organization.
hoping cool response.
thanx in advance | | 2 |
| difference between recording methods and recording modes in QTP | Ordain-Solutions | 3 |
| Please explain about unicode compatibility in QTP. how we
can able to use it. Please help me | | 1 |
| How to do excception handling ( error handling ) in QTP | Institute-for-Medical-Education | 5 |
| 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 to supress warnings from the "Test results page"? | BirlaSoft | 4 |
| how can i impliment error handling in QTP? | Ordain-Solutions | 5 |
| Basically why we need testing?
| | 5 |
| I need to know how to Automate a Username and Password for
a Web-based product? I'm scripting 3 different types of
surveys but each Survey requires a Username and Password
which is always the same. I can I do this using QTP? | | 3 |
| |
| For more QTP Interview Questions Click Here |