| Other QTP Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Suppose u write test case in Excel sheet . how u open that
test case in Test Director? | Ordain-Solutions | 3 |
| Hi .. i want to write the script for the combo nox list .
For example if any combo box having a multipul itme. So
how can i retrive each item for each iteration ? help me out . | | 2 |
| How you test the object which is dynamically changes its
location? | Wipro | 6 |
| anyone can explain about "Hybrid framework" in QTP
| | 2 |
| what is purpose of automation? | | 2 |
| How to supress warnings from the "Test results page"? | | 2 |
| 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 is virtual object? | | 2 |
| I had created the new virtual objects for web application
buttons. how to add those virtual objects into object
repository. Previously i had used Gui map in winrunner for
capturing virtual objects for web application.
Please help me regarding this. need your answer quickly | | 1 |
| How we know the qtp has used the smart identification
process for identification of the object. | IBM | 3 |
| WHAT IS ENVIRONMENT VARIABLES? | CTS | 4 |
| can any one explain with an example how to test Web
application using qtp | | 2 |
| For Passing Parameters from one Action to another Action we
will use Input & Output parameters. Can any one tell how to
use this Input & Output parameters with Example ? | TCS | 1 |
| OPening of notedpad in QTP to write and execute the coding? | | 2 |
| What is the difference between "call to action" and "call
an existing action" | Accenture | 7 |
| What is Maximum synchronization time out in QTP(By Default
is 20sec). Anybody can answer it. Thanks in advance.
| Polaris | 9 |
| what we do after completion of functional and regression testing | | 2 |
| What is parameterization? What is syncronization pt.? | Semantic-Space | 3 |
| write is the code for regular expression in QTP | IBM | 1 |
| can we run the scripts of QTP8.2 in QTP7.0? | | 1 |
| |
| For more QTP Interview Questions Click Here |