| Other QTP Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| 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 |
| How to get line numbers in your editor in expert view? | | 1 |
| In QTP how can we recognize objects Without using Object
Repository? | IBM | 2 |
| What is Automation frame work.How we will prepare in real
time. | AppLabs | 8 |
| What is keyword driven framework, what is "key" in It. | IBM | 1 |
| How to retrieve the data from database? | Wipro | 5 |
| In QTP while testing 3 tier application, It is Java Based
Application developed using Java, servelets and JDBC etc...
and It is a Web based Application.. which Add-In do we need
to select while testing ...Java or Web Add-In
| | 5 |
| In how many ways we can add check points to an
application using QTP. | Infogain | 2 |
| When testing a web application, the url for each page
changes, so using QTP how do u handle this scenario. If
anyone knows please answer in detail about the whole
procedure. Thanks a lot. | | 2 |
| how to recall a function in QTP? | Ordain-Solutions | 3 |
| What is Optional step? | | 3 |
| What is Object Spy? | Ordain-Solutions | 5 |
| Can any body tell me what is the method to connect the
remote desk top throw QTP 9.2 version? | | 1 |
| How to enter table check points? | | 2 |
| explian about the qtp frame work?
where u can use it in your project? | | 1 |
| how we connect oracle or sql data server database to qtp | Tanla-Solutions | 2 |
| how to generate numbers in between to numbers suppose
numbers in between 500 to 1000 in sequencies using vbscript | | 1 |
| What type of error u will get if u have not installed java
add in in java project? what is the error name ? | Verizon | 1 |
| w is fragmentation and paging | MBT | 1 |
| In a webtable, lets say there are 10 records and 1 column.
let say "image" is available for 1st,2nd and 3rd records and
4th onwards image is not available. How to recognise for
that cell image is available or not? | | 2 |
| |
| For more QTP Interview Questions Click Here |