| Other QTP Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Hi All,
I have QTP installed on my machine but the application
under test (AUT) is on remote desktop (i.e. I first connect
to remote desktop from my machine in order to run the
application). I am able to record the script successfully
with QTP running on my machine and application running on
remote. However, when i run the recorded script, system
fails to run it and indicates me that it does not identify
the object. Is it possible to record and play while QTP and
AUT are not on same machine? | | 6 |
| what is object repository size? | ITC-Infotech | 22 |
| How QTP recognizes Objects in AUT? | Blue-Star | 5 |
| what is Compile Module in QTP? what exactly it contains
Functions or Actions? | GE | 2 |
| What is the difference betweent test and component? | | 1 |
| how u write vb script in qtp pls give me some basic script
and some material | Datamatics | 22 |
| how to call a funtion in a script? i have saved the login
scipt in notepad. with extension .vbs. But when i am
calling the function with the keyword CALL <Function Name>.
its not working out. can any one give me a clue how to call
the external functions. with example. | | 3 |
| Waht is diff between SystemUtil.Run and invokeapplication | | 4 |
| what is TOM in qtp? | Accenture | 5 |
| QTP identifying the child tabs in a maintab like
tab_1,tab_2,tab_3,tab_4
while using a for loop for these tabs.its not proceeding
from _1 to _2.
How can i use "for loop " | Livetek | 2 |
| How to export QTP results to an ".xls" file? | | 3 |
| in a database table there are 3 columns (name ,
marks,grade) , in application after retrieving data from
db to fields name, marks click ok button then grade should
displayed ---for this how to write vb script prgm | IBM | 3 |
| how can we call an external library file in QTP apart from
using the Executefile statement..?? is there any other way
we can call the external library file in QTP..?? | DST-Global-Solutions | 1 |
| How to handle Run-time errors? | | 2 |
| Check point what is how many types of checkpoint and explain | Accenture | 2 |
| How can we record an edit box in the Web application ? | Kanbay | 3 |
| Hi
I am new to QTP. we are planning to implement automation
for the application.
I am trying to execute the following script:
Set ExcelObj=CreateObject ("Excel.Application")
ExcelObj.WorkBooks.Add
Set NewSheet=ExcelObj.Sheets.Item(1)
NewSheet.Name="Order"
ExcelObj.Cells(1, 1).Value = "Name"
ExcelObj.Cells(1, 2).Value = "Ordernum"
ExcelObj.Cells(2, 1).Value = "nam"
ExcelObj.Cells(2, 2).Value = "21"
ExcelObj.ActiveWorkbook.SaveAs "c:\test1.xls"
ExcelObj.Quit
Set ExcelObj = Nothing
in the above script for the line(ExcelObj.Cells(2, 2).Value
= "21")
it is inserting the value 21 successfully.this is fine
But if i want to insert a variable instead of the constant
value then what should be the modification in the script.
For example: If user retrives a value
throug "GetRoProperty" and wants to insert the value into
then how the script changes? | | 1 |
| What is the difference between Dim And Redim | IBM | 3 |
| WHAT IS ENVIRONMENT VARIABLES? | Ordain-Solutions | 4 |
| It is regarding VBScript, how to export our function
results to ExcelSheet through VBscripting.
Ex: I have written add function, that result should export
to Excel. | | 3 |
| |
| For more QTP Interview Questions Click Here |