| Other QTP Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| How can we use the "CreateObject("Wscript.Shell")" in QTP
and what is the definition and purpose of it? | | 1 |
| Did you use flatfiles in your projects?At what situation
you used it?How can you upload flatfiles? | | 1 |
| hai there..this is chandu..i have a txt file which
containing 1000 lines but at a time i want to retrieve 50
lines..after 50 lines i required to retrieve 51-100..like
that i want...so could anybody help me in this...thanks in
Advance.. | | 3 |
| hi radhaka plz tell me clearly to handle the earrors with
out isng recovery scnerio
this is sreenivas from delhi | | 2 |
| What does VBS file contain? | | 1 |
| If we are record a same web page for 2 times.1st time it is
showing 6 objects in the Object Repository and for the 2nd
time it is showing like 7 Objects in the Object Repository
why it is happening | Kanbay | 2 |
| WHAT IS SMATR IDENTIFICATION? plz EXPLAIN BRIEFLY?
IS IT POSSIBLE in QTP?
HOW AND WHEn THE SITUATION U R USING EXPLAIN WITH EXAMPLE? | | 3 |
| How many types of OBJECTS are there in QTP? | Inter-Globe-Technologies | 2 |
| Where are the snapshots stored? | | 2 |
| How i can use Regular expression in QTP?give detailed steps
for it. | | 2 |
| Hi This is tanya actually im facing problem in Qtp actully
some time QTP doesnot recoznise the recorded object due to
which script is going to fail.so can you tell me how we can
handle this situation and i have another concerened issue
is that at the time of run New errors comes every time so
how we can handle this sitauation how we can add Recovery
scenarios to the script.some time application runs
successfully and some time it produces new error thats why
i am facing lot of problem please give me the sugeestion as
soon as possible. | | 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 |
| Tell when we call the function? tell with example. | | 1 |
| Plz explain about Virtual object? What is the situation u r
using , explain with example? | | 1 |
| It seems Interview questions from Ordain Solutions are
almost BASIC LEVEL-Easy.
I am asking one tough question..(I think.. May be easy for
some people)
In recorded script the - WebLink("cityinfo")
In reality, the WebLink name is "generalinfo"
How you can write function to click that changed web link.
NOTE: This functin should work with any Dynamic text link.
I will post the answer later. | | 5 |
| Diff between Test Stratergy and Test Plan? Diff b/w Test
design ansd test case design? | | 1 |
| what will be the stmt if record any edit box in the Web
application ? | eSymbiosis | 2 |
| In how many ways we can add check points to an
application using QTP. | Infogain | 2 |
| How can you delete the results file (XML) | | 2 |
| In an(AUT) web application their are two frames as fraMain
and fraFooter. Both the frames contain link which needs to
be retrieved at a single step. I tried it using "Regular
Expression" as fra.* but QTP doesn't recognize the object.
So Plz help me out to get resolve the problem:-) | | 1 |
| |
| For more QTP Interview Questions Click Here |