| Other QTP Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| what is the automation framework that ur company
using(actual procedure,not theoritically explination) | | 1 |
| Hi Everybody,
Can anybody please tell me the how to display the result of
the QTP in the notepad text file rather than in the QTP
result window.
Suppose this is my simple script:WHich will open the
notepad file and enter some text and then will change the
font then will calculate how much time has been taken.Now,
in this script i want to display the result in notepad file.
Dim s
Dim starttimer,endtimer,timeit
s="uyetuywqtywqte"
SystemUtil.Run "notepad","","Y:\",""
Window("Notepad").WinEditor("Edit").Type micCtrlDwn + "s" +
micCtrlUp
Window("Notepad").Dialog("Save As").WinEdit("File
name:").Set "test1"
Window("Notepad").Dialog("Save As").WinEdit("File
name:").Type micReturn
Window("Notepad_3").Type s
Window("Notepad_3").WinEditor("Edit").Type micCtrlDwn + "s"
+ micCtrlUp
starttimer=timer
Window("Notepad_3").WinMenu("Menu").Select "Format;Font..."
Window("Notepad_3").Dialog("Font").WinEdit
("Font:").Type "cou" + micDwn
Window("Notepad_3").Dialog("Font").WinComboBox
("Font:").Select "Courier"
Window("Notepad_3").Dialog("Font").WinEdit
("Font:").Set "Courier"
Window("Notepad_3").Dialog("Font").WinEdit("Font:").Type
micReturn
endtimer=timer
timeit=endtimer-starttimer
print(timeit)
Please also tell me where the function for the text file
result will be declared and where it should be called.
Thanks,
Gaytri
| | 2 |
| wt is automation framework? give explonation? | Mindlance | 1 |
| I m trying to automate one vb desktop application in that
there is vblist vbcombobox many other vb tools are
there ,when i m trying to find some unique property to
identify the object (take example of vbcombobox ) I cannot
find any unique property, all the combobox belong to same
nativeclass same name no ids are available ,only the
distinct property is there x and y coordinates so i m using
some code like this
"vbbutton "nativeclass:=ThunderRT6CommandButton","x:=304","y
:=443").exist(2)" but i dont find them reliable .Can anyone
suggest me some other way to identify those objects with
some unique property or is there any way to register our
own property .I m using descriptive programming to write
the code .Thanks in advance | Cimcon | 5 |
| Will QTP gets installed on virtual PC.What is the
maintenance number to be given | | 1 |
| How can I pass values from one action to another in QTP ? | Ordain-Solutions | 6 |
| Diff b/w Test Design and Test case design?
What is the Design Review's and Code Review's. When will
you conduct tese reviews? | | 1 |
| How you automate testscripts one by one or moduelwise or
all at once | | 2 |
| What is Active Screen in QTP? | | 8 |
| Hai Guys,
can anybody show me how to write automaed test cases using
VB scprit(examples)...i had an interviw soon...please guyz
send as quickly as possible | | 5 |
| hi all
QTP recognizing objects
as "string_1","string_2","string_3","string_4" like that
but when using FOR LOOP for these.QTP not proceeding further
can i declare these _1,_2,_3,_4 as a single variable | Livetek | 3 |
| My company has recently started using Ajax for building UI
and QTP is nor recognizing the drop down list for
selection.It recognises it as a general Web Element or Web
Table. I have added individual selections from the drop
down as web Table. It works as long as the page is not
refreshed. I need some help and inputs as to how to make
QTP recognise a drop down list for selection. Any help will
be appreciated. | | 1 |
| In how many ways we can add check points to an
application using QTP. | Infogain | 2 |
| What are the parameters provided by QTP? | Ordain-Solutions | 3 |
| 1. Can anyone help me with recovery scenarios, each type
with examples and also what is on error resume next? | | 1 |
| Use of Debug Viewer? | | 1 |
| If u prepare bug report in Excel sheet . Is it possible to
send thrw Test director? how it is? | Wipro | 3 |
| Synchronization methods? | Ordain-Solutions | 5 |
| Can any one give me some basic VB script used in QTP ?As i
am new in QTP.Give sample VB script used in QTP? PLZ | | 1 |
| In Object Repository, two actions r there. Action1 name is
A.tsr, Action2 name is B.tsr. Is it Possible? if Yes, what
is the out put of A+B? if No, why? | Kanbay | 2 |
| |
| For more QTP Interview Questions Click Here |