| Other QTP Interview Questions |
| |
| Question |
Asked @ |
Answers |
| |
| How u perform exception handling in QTp,what is other name
for ths? |
| 2 |
| can we create recorset with out using database connection in
vbscript? |
CSS | 1 |
| wat are views in qtp explain |
IGT | 3 |
| How to create Userdefined Function.Please write the steps
ans also provide example where exatcly we use it. |
HP | 1 |
| Can anyone explain me about child objects in detail;when
they are used and why do we need them ? please give me
sample code for this if possible. |
Virtusa | 1 |
| what are the design objects in qtp |
Wipro | 3 |
| QTP is used better in which type of application Web based
application or desktop application |
| 3 |
| when I try to run below script in QTP "totalPages" value is
2. But i am getting error message (Type mismatch:
'totalPages' Line (): "For i=1 to totalPages".)
totalPages=Browser("Name:=User").Page("Title:=User").WebElem
ent("innertext:=of.*").GetROProperty("InnerText")
msgbox totalPages
For i=1 to totalPages
rnum=Browser("Name:=User").Page("Title:=User").WebTa
ble("column names:=User Name;ID;Last Name;First
Name").GetRowWithCellText("store4")
If rnum>0 Then
r=rnum
Exit for
End If
Browser("Name:=User").Page("Title:=User").WebElement
("html tag:=A","x:=471").Click
MsgBox "Exit"
Next
|
| 1 |
| what is the framework followed by ur company in qtp |
| 5 |
| Please have a look at this:
a = Browser("Travel Boutique Online").Page("Travel Boutique
Online_2").webelement("innerhtml:=2622").getroproperty("y")
a=a+9
msgbox a
Browser("Travel Boutique Online").Page("Travel Boutique
Online_2").image("alt:=check","y:=a").click
Now please let me explain. As clear from code I am trying to
enter value of variable 'a' as Property y. But each time QTP
AND MY SYSTEM stops responding when this line is execcuted.
But When i enter some number in place of 'a' in the last
line. it works fine.
Please let me know what I am doing wrong at time of entering
the variable in last line.
Thanks a lot |
| 3 |
| In QTP how to interact tool and application build? |
| 2 |
| How can i open 5 multiple browser at once through QTP VB
script and i want to login with 5 different credentials i
already tried with this code but its entering credentials
only for first browser and am using datatable to
parameterize
|
| 1 |
| |
| For more QTP Interview Questions Click Here |